Published on STEMRobotics (https://stemrobotics.cs.pdx.edu)

Home > BSchormann 2012-13, Ingraham High School, HCT2415 "Variables"

BSchormann 2012-13, Ingraham High School, HCT2415 "Variables"

Submitted by Brett Schormann on 8 February, 2013 - 20:00
Overview: 
The goal of this lesson is to introduce the concept of a variable in the Lego MINDSTORMS NXT-G program. Students will work through the "Variables" video lesson on the "Advanced" page of the "NXT Video Trainer 2.0" product from Carnegie Mellon University's Robotics Academy.
Objectives: 

Students will be able to:

1. Describe the purpose of using variables 

2. Explain what it means to write and then read a variable

3. Write an NXT-G program for a robot which writes and reads a variable

4. Write an NXT-G program for a robot incorporating mutiple variables

5. Write an NXT-G program for a robot which displays a variable on the the NXT screen

6. Explain the role of each parameter in a Variable Block

Instruction Guide: 
Variables [1]
Primary Instructional Material: 
Variables [2]
Differentiated Instruction Material: Alternative: 
Variables Video [3]
Education Level: 
Middle School [4]
High School [5]
Scope & Sequence: 
Robotics [6]
Focus Subject: 
Computing / Computer Science [7]
Robotics Software [8]
HW Platform: 
NXT [9]
SW Platform: 
NXT-G [10]
Interactivity Style: 
Mixed [11]
Clone Of: 
"Variables" [12]



National Science Foundation

Source URL: https://stemrobotics.cs.pdx.edu/node/1538

Links
[1] https://stemrobotics.cs.pdx.edu/node/974
[2] https://stemrobotics.cs.pdx.edu/node/765
[3] https://stemrobotics.cs.pdx.edu/node/768
[4] https://stemrobotics.cs.pdx.edu/taxonomy/term/40
[5] https://stemrobotics.cs.pdx.edu/taxonomy/term/41
[6] https://stemrobotics.cs.pdx.edu/taxonomy/term/141
[7] https://stemrobotics.cs.pdx.edu/focus-area/computing-science
[8] https://stemrobotics.cs.pdx.edu/focus-area/robotics-software
[9] https://stemrobotics.cs.pdx.edu/target-hardwareplatform/nxt
[10] https://stemrobotics.cs.pdx.edu/target-software-platform/nxt-g
[11] https://stemrobotics.cs.pdx.edu/taxonomy/term/26
[12] https://stemrobotics.cs.pdx.edu/node/764