
Python L22-23 Calculator
Authored by Future Teacher
Computers
6th - 8th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this line do?
Adds 100 and 10
Prints '+'
Calls the subtract function
Creates a new variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Each mathematical operation is stored in the dictionary using a symbol as a key.
True
False
3.
MATCH QUESTION
1 min • 1 pt
Match the operator symbol to its function:
/
divide
-
subtract
*
multiply
+
add
4.
DRAG AND DROP QUESTION
1 min • 1 pt
To call a function stored inside a dictionary using its symbol,
write: operator[ (a) ](n1, n2)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The repeat variable controls whether the calculator runs multiple times.
True
False
6.
MATCH QUESTION
1 min • 1 pt
Match the following
input
output
process
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if the user enters X when asked to continue?
Program restarts
User is asked again
Program stops with goodbye message
It clears the screen
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?