
Unit 5: Conditionals Review
Authored by Jennifer Brockman
Computers
9th - 12th Grade
Used 29+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
22 questions
HTML Quiz
Quiz
•
9th Grade
15 questions
# REVIEW 1 DATA TYPES
Quiz
•
10th Grade
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
15 questions
Quiz 1
Quiz
•
1st - 12th Grade
18 questions
LATIHAN INFORMATIKA
Quiz
•
9th Grade
15 questions
CSS Quarter IV QUIZ 2
Quiz
•
10th Grade
20 questions
Quiz 4
Quiz
•
1st - 10th Grade
13 questions
Stepwise Refinement
Quiz
•
11th - 12th 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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade