Python IF Statements

Quiz
•
Computers, Education
•
9th - 12th Grade
•
Hard
Carol Luce
Used 226+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Any statements inside an IF clause (section) can be executed multiple times.
FALSE
TRUE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It is possible to execute both the (block of) statements under if and the else clauses at the same time.
Yes
No
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output?
True
False
condition1
condition2
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Given the nested if-else below, what will be the value x when the code is executed successfully.
0
4
2
3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This operator checks to see if one value is the same as the other value
==
!=
>
<
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be outputted here?
Bigger than 2!
Number is 5
Bigger than 2!
Number is 5
Nothing
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be outputted here?
it divides by 7!
it divides by 3!
It divides by 7.
It divides by 3.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
HTML

Quiz
•
9th - 12th Grade
12 questions
Web Development

Quiz
•
8th - 10th Grade
11 questions
Basic HTML Tags I

Quiz
•
9th - 12th Grade
11 questions
HTML

Quiz
•
12th Grade
14 questions
C++ - Loops and Random Numbers

Quiz
•
9th - 12th Grade
10 questions
EXAMEN DE DISEÑO WEB

Quiz
•
10th Grade
10 questions
Web Tasarım ve Temelleri

Quiz
•
9th - 12th Grade
13 questions
HTML փաստաթուղթ

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade