
Python Quiz
Authored by Bincy Koshy
Computers
8th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a decision making statement?
if statement
if else statement
if elif statement
for statement
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Predict the correct output: x=3 if x>2 or x<5 and x==6: print("ok") else: print("no output")
ok
no output
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Predict the correct output:
x,y=2,4
if(x ==y):
print("x and y are equal")
elif(x>y):
print("x is bigger than y")
else:
print("y is bigger than x")
x and y are equal
x is bigger than y
y is bigger than x
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many conditions in if elif statements can be executed?
only 1
two
more than 2
less than 2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output for the following python code:
if 4+5==10:
print(“True”)
else:
print("False”)
print(True”)
False
True
True
True
False
Error
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?
Similar Resources on Wayground
10 questions
VEXcode VR Unit 4 Quiz
Quiz
•
6th - 8th Grade
10 questions
Recuperação Pensamento Computacional 2º semestre
Quiz
•
8th Grade
10 questions
Computer in the society
Quiz
•
2nd - 10th Grade
10 questions
Virtualizacion
Quiz
•
6th - 8th Grade
10 questions
Bitmaps and Pixels. KS3
Quiz
•
6th - 8th Grade
10 questions
WIX
Quiz
•
1st - 11th Grade
10 questions
Coding 300 Coding Basics
Quiz
•
7th - 8th Grade
10 questions
Программирование алгоритма 8 класс
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade