Font size
WorksheetsIoT Chapter 2 Review
Total questions: 14
Worksheet time: 7mins
What is the output when the following code is entered into a Python program interpreter?
[1,2,4,5] + [3,6]
[21]
[1,2,4,5,3,6]
[12]+[9]
[1,2,3,4,5,6]
Refer to the exhibit. What does the exhibited flow chart symbol represent?
data
preparation
process
display
Which output would be displayed if the code that is shown below is entered in a Python interpreter?
y = ['yellow', 'red', 'green', 'purple', 'white']
print y
'yellow', 'red', 'green', 'purple', 'white'
yellow, red, green, purple, white
y
It shows "SyntaxError"
Which platform is a low cost, credit-card-sized computer?
Arduino
PL-App
Blockly
Raspberry Pi
What is one way to pay for prototyping?
crowd funding
mortgage
easy pay
incorporate
How is a new variable created in Blockly?
Use the assignment operator
Declare the variable in a Dim statement.
Drag the variable block onto the work space area.
Determine the type of variable needed, then scroll to the appropriate place in the code to insert the variable.
What is used to illustrate how a given process will run?
pie chart
flow chart
graph
Packet Tracer
Which Python programming function is used to display output?
if
for
while
What output is expected when the function that is shown below is entered in a Python program interpreter?
>>>print Cisco 1
cisco 1
Cisco 1
Cisco1
"SyntaxError: Missing parentheses in call to 'print'"
What is displayed after the following code is entered into a Python interpreter?
addition = 22 +10
print(addition)
nothing ( because the print command is wrong)
[22]+[10]
32
(syntaxerror)-...as there should not be a space between the numerical values
A student has a digitized version of an idea for a product. What machine can the student use to turn the idea into a solid object?
Raspberry Pi
Beaglebone‹
Arduino‹
3D printer
Packet Tracer
Refer to the exhibit. What does the exhibited flow chart symbol commonly represent?
decision
termination
data
connector
Refer to the exhibit. A specific Blockly block has a slot on the top. What is the purpose of this slot?
This block is the topmost block.
The slot allows a block with a bevel tab on the bottom to be connected above the block shown.
The block is a variable.
A block with a printer name is required to be attached above the block shown.
What are two resources that could help someone learn to program? (Choose two.)
Kickstarter
Khan Academy
Code Academy
Quirky
Maker Media
