Familiarize yourself with the project. What are the names of the two sprites? How many scripts do the stage and each sprite have? Run the program by clicking the green flag. Discuss with your partner why the script causes the behavior you observe. Record pseudocode here. Explain why a programmer would want to use a variable like MOVE_INCREMENT instead of just putting in the relevant code: 5 Explain what the variable does. What does the value of mean? What direction 1 does the value of mean? -1 Observe the following features of the Scratch GUI. When "seeing inside" a project, clicking on sprites while moving the mouse will be interpreted as a drag, which will move the sprite instead. Sprites will move when the mouse is dragged on the small stage but not when the mouse is dragged on the full screen stage. Double clicking on a monitor changes its appearance. When a monitor appears as a slide, you can change the value of the variable even while the program is running. On the stage click the slider. What happens if the is direction direction 0? The variable is playing the role of recent”. This means that the “most direction most recent value is somewhat unpredictable, especially if it is affected by user input. All variables store the value most recently assigned to them, but sometimes the phrase recent” is the best explanation for why we are using a variable. “most Explain why this variable’s role is best described as the recent” role. “most Change the program so that the cat faster. Strategize together with your partner and then code and test in small iterations. Save your finished version as or as directed by your teacher. 1.1.5 yourNames_step10
Familiarize yourself with the project. What are the names of the two sprites? How many scripts do the stage and each sprite have? Run the program by clicking the green flag. Discuss with your partner why the script causes the behavior you observe. Record pseudocode here. Explain why a programmer would want to use a variable like MOVE_INCREMENT instead of just putting 5 in the relevant code: Explain what the variable direction does. What does the value of 1 mean? What does the value of -1 mean? Observe the following features of the Scratch GUI. When "seeing inside" a project, clicking on sprites while moving the mouse will be interpreted as a drag, which will move the sprite instead. Sprites will move when the mouse is dragged on the small stage but not when the mouse is dragged on the full screen stage. Double clicking on a monitor changes its appearance. When a monitor appears as a slide, you can change the value of the variable even while the program is running. On the stage click the direction slider. What happens if the direction is 0? The variable direction is playing the role of “most recent”. This means that the most recent value is somewhat unpredictable, especially if it is affected by user input. All variables store the value most recently assigned to them, but sometimes the phrase “most recent” is the best explanation for why we are using a variable. Explain why this variable’s role is best described as the “most recent” role. Change the program so that the cat faster. Strategize together with your partner and then code and test in small iterations. Save your finished version as 1.1.5 yourNames_step10 or as directed by your teacher.
1.1.5.A%20VariableRolesI.docx