Professional Documents
Culture Documents
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
1. It shows "SyntaxError"
2. yellow, red, green, purple, white
3. y
4. 'yellow', 'red', 'green', 'purple', 'white'
Question 2
What is Blockly?
Question 3
What output is expected when the function that is shown below is entered in a Python program interpreter?
>>>print Cisco 1
1. Cisco1
2. Cisco 1
3. cisco 1
4. "SyntaxError: Missing parentheses in call to 'print'"
Question 4
What is displayed after the following code is entered into a Python interpreter?
addition = 22 +10 print(addition)
1. 32
2. nothing ( because the print command is wrong)
3. (syntaxerror)-...as there should not be a space between the numerical values
4. [22]+[10]
Question 5
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?
1. Packet Tracer
2. Beaglebone
3. Raspberry Pi
4. Arduino
5. 3D printer
Question 6
1. pie chart
2. graph
3. flow chart
4. Packet Tracer
Question 7
What does the exhibited flow chart symbol represent?
1. process
2. display
3. data
4. preparation
Question 8
Which Python programming function is used to display output?
1. for
2. print
3. if
4. while
Question 9
What are two resources that could help someone learn to program? (Choose two.)
1. Khan Academy
2. Quirky
3. Maker Media
4. Kickstarter
5. Code Academy
Question 10
What is one way to pay for prototyping?
1. easy pay
2. incorporate
3. mortgage
4. crowd funding
Question 11
Which platform is a low cost, credit-card-sized computer?
1. PL-App
2. Blockly
3. Arduino
4. Raspberry Pi
Question 12
Refer to the exhibit. A specific Blockly block has a slot on the top. What is the purpose of this slot?
Question 13
How is a new variable created in Blockly?
Question 14
What is the output when the following code is entered into a Python program interpreter?
[1,2,4,5] + [3,6]
1. [1,2,3,4,5,6]
2. [21]
3. [12]+[9]
4. [1,2,4,5,3,6]
Question 15
Refer to the exhibit. What does the exhibited flow chart symbol commonly represent?
1. termination
2. data
3. connector
4. decision