
Selection Programming_If condition
Quiz
•
Information Technology (IT)
•
8th Grade
•
Practice Problem
•
Easy
Doan Thu
Used 1+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an if statement in Python?
Repeat code
Make a decision
Create a list
Exit the program
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
temperature = 30 if temperature > 25: print("It's hot!") What is printed?
It's cold
It's hot!
Nothing
Error
3.
OPEN ENDED QUESTION
20 sec • 1 pt
What will this code print? number = 0 if number > 0: print("Positive") else: print("Not positive")
Evaluate responses using AI:
OFF
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used for "equal to" in a condition?
=
==
===
:=
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output? score = 75 if score >= 90: print("A") elif score >= 80: print("B") elif score >= 70: print("C") else: print("D")
A
B
C
D
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the correct structure:
if: x > 10
if (x > 10)
if x > 10:
if x > 10
7.
OPEN ENDED QUESTION
20 sec • 1 pt
if "a" in "apple": print("Yes") Will this print "Yes"?
Evaluate responses using AI:
OFF
Create a free account and access millions of resources
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
20 questions
BÀI KIỂM TRA 15 PHÚT - Môn Tin Học 10 - HK2-PYTHON
Quiz
•
10th Grade - University
18 questions
Quizziz Vue.js
Quiz
•
University
17 questions
Flowcharts
Quiz
•
10th Grade
20 questions
Prototyping Model in SDLC Quiz -SLT
Quiz
•
University
15 questions
Grade 9-Exploring Input Devices
Quiz
•
9th Grade
12 questions
Графічний інтерфейс Python
Quiz
•
12th Grade - University
13 questions
Les alimentations
Quiz
•
5th Grade - University
10 questions
KUIS TIK XLS
Quiz
•
8th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd 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
Discover more resources for Information Technology (IT)
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
15 questions
scatter plots and trend lines
Quiz
•
8th Grade
20 questions
Solving Systems of Equations by Graphing
Quiz
•
8th Grade
20 questions
Christmas Song Emojis
Quiz
•
8th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
