Developed by Katrina Hay and Bret Underwood  Published December 6, 2023
DOI: 10.1119/PICUP.Exercise.variables
Subject Area  Programming Introductions 

Levels  First Year and Beyond the First Year 
Available Implementation  MATLAB 
Learning Objectives 
Students who complete this exercise set will be able to:
1. Be familiar with the programming environment and workspace (e.g. [Exercise 3, 4, 5, 6, and 9].
2. Run simple calculations (e.g. [Exercise 3, 4, 5, 6 and 7].
3. Assign scalar and vector variables (e.g. [Exercise 5, 7, 9, 10, 11, 12, and 13].
4. Work in pairs to write computer programs, enhancing the code as well as improving personto person communication (e.g. [the scaffolding of the entire exercise set].

Time to Complete  40 min 
These exercises are not tied to a specific programming language. Example implementations are provided under the Code tab, but the Exercises can be implemented in whatever platform you wish to use (e.g., Excel, Python, MATLAB, etc.).
Download Options
Share a Variation
Credits and Licensing
Katrina Hay and Bret Underwood, "PairProgramming: Variables, Vectors, and the Programming Environment," Published in the PICUP Collection, December 2023, https://doi.org/10.1119/PICUP.Exercise.variables.
DOI: 10.1119/PICUP.Exercise.variables
The instructor materials are ©2023 Katrina Hay and Bret Underwood.
The exercises are released under a Creative Commons AttributionNonCommercialShareAlike 4.0 license