Mathematical Modeling, Computational Thinking, R, High School, Coding.
of the instructions in the code. Students must correct the code by moving the command line that creates the variable, so it is created before it is used (Figure 5, right panel). The goal of Activity 2 is to engage students in a fundamental feature of text-based programming language by following