CB30: Unit 3 Quiz Review
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Used 20+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output if kangaroo is the input?
TRUE
FALSE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an if-then statement used for?
When you need something to happen when the if condition is false
As a variable for a function
To allow programs to make decisions
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can the following code be rewritten:
if (75 <= y <= 100):
if (75 <= y and <= 100):
if 75 <= y and <= 100):
if (75 <= y and y <= 100):
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true when a is 4 and b is 8?
a < b and a == b
a < b and a != b
a > b or a == b
b <= a or a > b
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following code could be rewritten using:
if (num1 == 17):
if ( num2 < 20):
not
or
and
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To test if x is less than or equal to y:
if (x __ y):
>
<
<=
>=
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For if statements to work in Python you must ________________ them.
indent
make decisions about
add an else to
use input commands with
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
19 questions
UNIT 1.2 MEMORY
Quiz
•
10th Grade
20 questions
HTML QUIZ # 3
Quiz
•
10th Grade
20 questions
INFORMATIKA KELAS IX
Quiz
•
9th Grade
20 questions
С++ циклы
Quiz
•
10th Grade
16 questions
Python есептер 1
Quiz
•
9th - 12th Grade
20 questions
Web-сайты
Quiz
•
10th Grade
16 questions
Acceptable Use Policy
Quiz
•
6th - 9th Grade
25 questions
OCR GCSE Computer Science: 1.4 Networks (Part 2)
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
