Statement IF (Python)

Quiz
•
Computers
•
6th Grade
•
Medium
Cinthya Tobon
Used 6+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
Scratch Vocab and Concepts

Quiz
•
6th - 8th Grade
10 questions
Programming - Selection in an Algorithm

Quiz
•
1st - 11th Grade
12 questions
Coding

Quiz
•
5th - 8th Grade
15 questions
Code.org Express Course -> Lesson 15

Quiz
•
5th - 7th Grade
14 questions
Coding Terms

Quiz
•
5th - 8th Grade
13 questions
Code.org Express Course Vocab Lessons 1-10

Quiz
•
6th Grade
13 questions
Coding Vocabulary

Quiz
•
4th - 6th Grade
14 questions
CSD Intro to Programming

Quiz
•
1st - 7th Grade
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
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

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

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

Quiz
•
6th - 8th Grade
21 questions
Input Output Storage Device

Quiz
•
5th - 8th Grade