
Python Quiz
Authored by Andrew Jiang
Computers
1st - 5th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
22 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of these Python booleans are true?
not False
1 >= 1
True and False
True or False
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you access the 'o' in the following string s = "Hello everyone?"
s[5]
s[6]
s[4]
s[o]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you input a number into variable n?
n = int(input())
n = input()
int(input(n))
input(n)
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which loop(s) will go indefinitely?
while 7 < 6:
while 1 == 1:
for i in range(100000000):
while True:
5.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
A while loop will go as long as a condition is
(a)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
'1', 'o', and '_' are all known as...
Words
Numbers
Characters
Letters
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct value of n = 7 + 3 * 6 - 4?
56
21
20
13
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?