
Module 2 Mini Quiziz Review
Authored by Ms. Morales
Computers
9th - 12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In order to print:
Bring your umbrella!
is_sunny and is_raining both need to be FALSE
is_sunny or is_raining need to be FALSE
is_sunny and is_raining both need to be TRUE
only is_raining needs to be TRUE
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In order to print:
Bring a hat!
is_sunny and is_raining both have to be TRUE
is_sunny has to be TRUE and is_raining has to be FALSE
is_sunny or is_raining have to be TRUE
is_sunny has to be FASLE and is_raining has to be TRUE
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In order to print:
Bring a warm sweater!
is_sunny and is_windy BOTH need to be FALSE
is_sunny needs to be TRUE or is_windy needs to be TRUE
is_sunny and is_windy BOTH need to be TRUE
is_sunny needs to be FALSE or is_windy needs to be TRUE
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What if the user is a member
of Gen X (ages 43 to 58)?
What would be the elif statement that
will print the message “You’re a part of Gen X.” ?
if age >= 43 and age <= 58:
elif age <= 43 and age >= 58:
elif age >= 43 and age <= 58:
if age <= 43 and age >= 58:
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
According to lines 3 and 4, what will the value of the secret_number variable be at the start of the program?
10
a random number between 1 to 10
1
a random number between 0 to 10
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
According to lines 10 through 18, what will cause the while loop to end?
According to lines 10 through 18, what will cause the while loop to end?
when guess is not equal to secret_number
when guess is less than or equal to secret_number
when guess is greater than or equal to secret_number
when guess is equal to secret_number
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
According to line 6, line 12, and the while loop, how will the value of the attempts variable change throughout the program as the user interacts with it?
The value of attempts will stay 0 every time the while loop is repeated.
The value of attempts will increase by 2 every time the while loop is repeated.
The value of attempts will increase by 1 every time the while loop is repeated.
The value of attempts will decrease by 1 every time the while loop is repeated.
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?