Code HS Unit 4 Review
Quiz
•
Computers
•
11th - 12th Grade
•
Practice Problem
•
Medium
Kelley Camp
Used 313+ times
FREE Resource
About this resource
This quiz comprehensively covers fundamental programming concepts in Python, specifically focusing on boolean logic, conditional statements, loops, and control structures. The content is appropriate for grades 11-12 and aligns with an introductory computer science curriculum. Students need a solid understanding of boolean data types and their valid values (True/False), boolean operators (and, or, not) and their symbols in Python, comparison operators for equality and inequality, and the logical evaluation of complex boolean expressions. The quiz also tests knowledge of conditional statements using if/else structures, loop constructs including for and while loops, loop control statements like break and continue, constants and their purpose in programming, random number generation, and code tracing to determine program output. Students must demonstrate computational thinking skills by analyzing code segments, predicting outcomes, and understanding how different programming constructs affect program flow and behavior. Created by Kelley Camp, a Computers teacher in the US who teaches grades 11 and 12. This comprehensive review quiz serves as an excellent tool for formative assessment, allowing students to demonstrate their mastery of Unit 4 concepts before moving forward in the curriculum. Teachers can deploy this quiz as a pre-test to gauge student readiness, as guided practice during instruction, or as homework to reinforce classroom learning. The variety of question types—from basic concept identification to complex code analysis—makes it particularly valuable for differentiated instruction and identifying areas where students need additional support. The quiz effectively supports preparation for AP Computer Science Principles assessments, as evidenced by questions that mirror AP-style formatting and pseudocode conventions. This aligns with standards such as AP CSP Learning Objectives AAP-2.B (expressing algorithmic instructions using conditional statements), AAP-2.K (using Boolean expressions in programming), and AAP-2.L (implementing iteration in programs).
See more
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
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
