
Python Basics (CodeHS)
Authored by Trevor McGarrah
Computers
7th - 12th Grade
Used 88+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the final result of the following expression?
5 + 4 * 3 - 1
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the final result of the following expression?
(5 - 3) * 2 - 4
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the final result of the following expression?
(3 + (8 / 2 - 2)) ** 2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement will cause an error?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement will cause an error? The variable name has been previously defined as name = "Susan".
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Based on the following code, what gets printed to the screen?
greeting = 7
name = "Bob"
greeting = "Hello"
print(type(greeting))
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Based on the following code, what gets printed to the screen?
greeting = 7
name = "Bob"
greeting = "Hello"
print(greeting)
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?