Code HS Unit 4 Review
Quiz
•
Computers
•
11th - 12th Grade
•
Medium
Kelley Camp
Used 296+ times
FREE Resource
Enhance your content in a minute
37 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is not a valid value for a boolean?
True
False
yes
All are valid
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
After the following code runs, what is the value of is_weekend?
True
False
"is_weekend"
"is_saturday || is_sunday"
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What symbol represents the and operator in Python?
AND
and
&
&&
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What symbol represents the or operator in Python?
OR
or
|
| |
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When using "and" as a Boolean operator, what must happen for the phrase to be True?
All conditions must be True
Just one condition must be True
No conditions are True
None of the choices are correct
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the proper way to compare if two values are equal in a boolean expression in Python?
=
==
EQUALS
is
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the proper operator for “not equals” in Python?
=!
!=
~=
NOT EQUALS
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
41 questions
BTEC DIT C3 LAA1 - End of section test
Quiz
•
10th - 11th Grade
35 questions
Quiz 1 EmpTech
Quiz
•
11th Grade
40 questions
uts kelas XI ADOB PHOTOSOP
Quiz
•
11th Grade
35 questions
Microsoft Word 2016 Basics - Unit 7 - 13
Quiz
•
9th - 12th Grade
36 questions
TestOut Chapter 1 (minus section 1.4)
Quiz
•
9th - 12th Grade
40 questions
[SMP-VIII] ASAS 2024 Ganjil
Quiz
•
8th Grade - University
40 questions
IP Address
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
