
Python Conditional statements
Authored by Batyr Zharkyn
Computers
KG
7 Questions
Used 23+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1.How many possible values are there for a boolean variable?
0
1
2
3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2.Which of the following is not a comparison operator?
<=
?
!=
>
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3.What does this Python expression evaluate to?
1000 != 1000
"False"
"True"
False
True
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4.Which of the following is not a logical operator in Python?
or
and
not
because
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5.What will print to the screen when the following program is run?
number = 20
greater_than_zero = number >10
print(type(number))
<class ‘bool’>
<class ‘int’>
20
10
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6.What will be the output of this program?
number = 10
greater_than_zero = number > 5
if greater_than_zero:
print(number)
10
5
Nothing will print
True
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7.What will be the output of this program?
number = 10
less_than_zero = number < 0
if less_than_zero:
print(number)
number = number-2
less_than_zero = number > 0
if less_than_zero:
print(number)
8
10
8
10
10
8
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
WINDOWS 10
Quiz
•
7th Grade
10 questions
MEDIA AND INFORMATION LITERACY
Quiz
•
12th Grade
10 questions
Quiz Pemograman Web
Quiz
•
11th Grade
10 questions
Etiquetas HTML
Quiz
•
6th Grade
10 questions
ÔN CUỐI NĂM KHỐI 5
Quiz
•
Professional Development
10 questions
ICT Grade 8
Quiz
•
8th Grade
9 questions
OCR GCSE CS - 2.1 ERL sorts and searches
Quiz
•
10th - 11th Grade
10 questions
Let's Play Together
Quiz
•
University - Professi...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
20 questions
Disney Characters
Quiz
•
KG
10 questions
Christmas/Winter
Quiz
•
KG - 2nd Grade
10 questions
Christmas Characters
Quiz
•
KG - 3rd Grade
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Place Value
Quiz
•
KG - 3rd Grade
10 questions
Christmas Movies
Quiz
•
KG - 12th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
KG - 3rd Grade