NEW
Font size
WorksheetsDreamspace 3: Python
Total questions: 15
Worksheet time: 8mins
What is the symbol used for addition?
+
/
-
*
What is the symbol used for subtraction?
%
/
-
*
What is the symbol used for multiplication?
%
/
-
*
What is the symbol used for division?
%
/
-
*
What is the symbol used for modulus?
%
/
-
*
What is the command for text input?
basic.show_icon
basic.show_string
basic.show_number
basic.show_arrow
What is the command for numerical input?
basic.show_icon
basic.show_string
basic.show_number
basic.show_arrow
What is the command for numerical input?
basic.show_icon
basic.show_string
basic.show_number
basic.show_arrow
If I wanted to display a TORTOISE on my microbit, which command would I be using.
basic.show_icon
basic.show_string
basic.show_number
basic.show_arrow
Why will the following command give me an error?
basic.show_sting(SWORDS)
That is not the command for text
You need to include quotation marks around the text
There is an incorrect spelling in the command
Why is on_button_pressed_a underlined?
There is a spelling error
It is the incorrect command for pressing a button
It is not the correct name to call on our function
Why will the following command give me an error?
basic.show_sting(“4/2”)
That is not the command for numerical inputs
You need to exclude quotation marks around the numbers
This is not an operation we can apply to numbers
Why will running this code give you an error?
There are errors in the string, arrow and number code
It is the incorrect command for pressing a button
It is not the correct name to call on our function
When creating a loop, what does the number 2 mean in line 16 (for i in range (2))?
The 2 matches with practice 2. It’s calling on the function
The microbit will repeat the commands twice
When you press run, it’s the second piece of code the microbit runs
What should on_gesture_shake be replaced with?
Temperature monitor
temperatureMonitor
tempMonitor
tempMon
