0% found this document useful (0 votes)
38 views13 pages

Understanding Variable Blocks in NXT

1. A variable block is used to store data for later use and call upon the data when needed. It can also share data with other programming blocks using data wires. Additionally, it can change the data inside it. 2. The document provides steps for creating variables in Lego Mindstorms NXT 2.0, including defining the variable, modifying its properties, dragging it to the work area, and choosing whether it will store or deliver information. 3. It asks multiple choice questions about variable blocks, such as what action types can be used, the symbol for text data type, and whether a variable block can transfer data to another block.

Uploaded by

jojo grande
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views13 pages

Understanding Variable Blocks in NXT

1. A variable block is used to store data for later use and call upon the data when needed. It can also share data with other programming blocks using data wires. Additionally, it can change the data inside it. 2. The document provides steps for creating variables in Lego Mindstorms NXT 2.0, including defining the variable, modifying its properties, dragging it to the work area, and choosing whether it will store or deliver information. 3. It asks multiple choice questions about variable blocks, such as what action types can be used, the symbol for text data type, and whether a variable block can transfer data to another block.

Uploaded by

jojo grande
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

Name That

Block!
1.
2.
3.
4.
5.
Variable
Variable Block
It is used to store data for later use and
calls the data when needed.
A variable block can also be read by
other programming block using data
wires.
It can also change the data inside it.
Practice 1: Creating Variables
1. On Lego Mindstorms NXT 2.0, click Edit then click Define
Variable
2. Modify the properties of variable created.
3. Drag and drop a variable Block from Data palette to Work
Area
4. Decide if the variable is going to store or deliver information
by choosing either Read or Write options.
5. If you need to modify the variable created, simply click Edit
then click Define Variable.
Answer the following.
2. What are the types of Action that can be used on a Variable
Block?
a. Read and Write
b. Read
c. True
d. True and False
Answer the following.
3. What is the symbol for the data type Text on a Variable
Block Data Hub?
a. #
b. T
c. Txt
d. @
Answer the following.
4. Can a Variable Block transfer Data to another Block?
a. Yes, by modifying its properties
b. Yes, by connecting it through data hub
c. Yes, by placing it on sequence beam
d. No
Answer the following.
5. Which of the following is the sensor used to count the
Rotation of the Motor?
a. Revolution Sensor
b. Degree Sensor
c. Rotation Sensor
d. Motor Rotation

You might also like