Unit 5: Conditionals Review

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Jennifer Brockman
Used 29+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this program print?
Must be red
Must be green
I like skittles
Green is the best
Must be green
Green is the best
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you round the number held in the variable euler to 2.71?
euler = 2.71828
round(euler, 2)
round(euler)
round(euler, 3)
round(3, euler)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why should you use round when you compare two numbers that have type float?
If you don’t, Python will only compare the whole part and discard the decimal part.
Sometimes numbers can be rounded in unexpected ways based on how Python computes them. Therefore, it is best to use round in order to make sure both numbers are rounded the same way.
You should always use round when you compare two numbers, even if they are of type int.
You don’t have to, but it’s good style. All of the comparisons will still work out the same way.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will print to the screen when the following program is run?
<type 'int'>
<type 'float'>
<type 'bool'>
<type 'str'>
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will print to the screen when the following program is run?
<type 'int'>
<type 'float'>
<type 'bool'>
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this program?
0
5
True
nothing will print
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
0
5
True
Nothing will print
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
2.3 Robust Programs MCQs L2

Quiz
•
10th - 11th Grade
20 questions
Procedures and Functions

Quiz
•
10th Grade
15 questions
Python Casting and Input

Quiz
•
8th - 11th Grade
20 questions
Unit 3 Python TEST

Quiz
•
11th - 12th Grade
15 questions
Information Technology 1- Class 9

Quiz
•
5th - 10th Grade
15 questions
GCSE - 2.3 Producing Robust Programs

Quiz
•
9th - 11th Grade
13 questions
Aplicația Word

Quiz
•
9th - 10th Grade
15 questions
Progamming - Java Syntax

Quiz
•
11th - 12th 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
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade