
Statement IF (Python)
Authored by Cinthya Tobon
Computers
6th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of data expresses a value between true and false in programming?
Decimal
Integer
Boolean
String
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What operators are used to compare numbers in programming?
+, -
>, <, ==, !=
*, /
&&, ||
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What action is taken if the condition x < 5 is true?
Print 'y is greater'
Print 'x is less'
Do nothing
Print 'x is greater'
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is printed in the console if x = 7?
'y is greater'
'x is greater'
'x is less'
Nothing
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the if and else conditionals used for in programming?
To print messages in the console
To divide numbers
To control the flow of the program
To add numbers
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main function of conditionals in programming?
Draw figures
Control the flow of the code
Play music
Compare colors
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can be verified using if and else conditionals?
The speed of the internet connection
The temperature of the processor
The existence of a file
The size of the screen
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
13 questions
Guess the Retro Computer 1
Quiz
•
KG - Professional Dev...
10 questions
Excel as Database Revision
Quiz
•
6th - 7th Grade
10 questions
KEIRO PROGRAMMING
Quiz
•
4th - 12th Grade
10 questions
Programming Constructs
Quiz
•
5th - 11th Grade
19 questions
QUIZ INFORMATIKA
Quiz
•
1st - 10th Grade
15 questions
Quiz 1
Quiz
•
1st - 12th Grade
10 questions
Cybersecurity Fundamentals Week 2 Quiz
Quiz
•
KG - University
15 questions
Excel
Quiz
•
5th - 6th 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