Python Quiz

Quiz
•
Computers
•
8th Grade
•
Hard

Bincy Koshy
FREE Resource
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
Similar Resources on Wayground
9 questions
ICT exam revision quiz

Quiz
•
7th - 8th Grade
9 questions
Python Programming Basics

Quiz
•
6th - 12th Grade
10 questions
Quiz#5

Quiz
•
8th Grade
10 questions
KS3 Computing - An Introduction to Selection

Quiz
•
7th - 9th Grade
8 questions
Robotics Quiz

Quiz
•
1st - 12th Grade
7 questions
Složeno grananje: naredba if...elif...else

Quiz
•
6th - 8th Grade
10 questions
My Python : About Me

Quiz
•
6th - 8th Grade
10 questions
Avaliação Pensamento Computacional - Prático

Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade