How is a new variable created in Blockly?

IT Questions BankCategory: Introduction to IoTHow is a new variable created in Blockly?

How is a new variable created in Blockly?

  • Drag the variable block onto the work space area.
  • Declare the variable in a Dim statement.
  • Use the assignment operator
  • Determine the type of variable needed, then scroll to the appropriate place in the code to insert the variable.

Explanation: Refer to curriculum topic: 2.1.2
In Blockly, a variable is created by dragging the variable block onto the work space area and filling in the value slot.

Exam with this question: Introduction to IoT – Chapter 2 Quiz Answers

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x