
Lesson 3: Conditional Statements Y7

Quiz
•
Other
•
6th Grade
•
Hard
jasroop ict
Used 11+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print?
x = 10 y = 5 print(x + y)
105
15
Error
10
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a string?
Text in quotes "hello"
2.2
4
"hello" 2.2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
a = True b = False
print(a + b)
True False
False
Error
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an integer?
4.0
4
"4"
Number with a decimal point
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you define a variable that holds the number 3.14 in Python?
x = 3.14
x = 3.14f
x = "3.14"
x = 3.14.0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a conditional statement?
Ture and false
If it is hot wear sunglasses, if it is cold wear a hat.
Error
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does an input statement look like in Python?
input()
int()
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
#Sg_Spaic Last season Quiz (ML and Python)

Quiz
•
KG - Professional Dev...
12 questions
'PYTHON _WORLD'

Quiz
•
6th - 8th Grade
14 questions
Intro to Python Programming Quiz 9D

Quiz
•
1st Grade - University
12 questions
Python Quiz - Basics & Turtle

Quiz
•
3rd - 8th Grade
14 questions
advertising

Quiz
•
5th Grade - University
15 questions
Robotics and Artificial Intelligence

Quiz
•
6th Grade - Professio...
20 questions
Game Consoles

Quiz
•
5th - 12th Grade
15 questions
Python Basics Quiz

Quiz
•
6th - 10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade