
APCSP Unit 4
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Jennifer OKeefe
Used 581+ times
FREE Resource
About this resource
This quiz focuses on programming fundamentals within the context of AP Computer Science Principles, specifically targeting conditional statements, functions, and program flow control. Designed for high school students in grades 9-12, the assessment evaluates students' ability to trace through code execution, predict program outputs, and understand control structures like if-else statements and loops. Students must demonstrate mastery of core programming concepts including variable manipulation, Boolean expressions, function declaration and calling, and debugging skills. The questions require computational thinking skills as students analyze code snippets, identify logical errors, and determine correct syntax for conditional logic. Success on this quiz demands understanding of how programs execute sequentially, how conditions affect program flow, and how functions can eliminate code redundancy while improving program organization. Created by Jennifer O'Keefe, a Computer Science teacher in the US who teaches grades 9-12. This assessment serves as an excellent formative evaluation tool for Unit 4 of the AP Computer Science Principles curriculum, allowing teachers to gauge student comprehension before advancing to more complex programming concepts. The quiz works effectively as a review activity following instruction on conditionals and functions, or as homework to reinforce classroom learning about program control structures. Teachers can use this as a warm-up activity to activate prior knowledge before introducing nested conditionals or more advanced function concepts. The varied question formats—from code tracing to debugging scenarios—provide comprehensive insight into student understanding and help identify specific areas where additional instruction may be needed. This assessment aligns with AP CSP Learning Objectives related to algorithms and programming, particularly those addressing conditional statements (AAP-2.H) and the use of procedures and functions (AAP-3.A, AAP-3.B).
See more
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What number will be output by the consol.log command on line 7?
10
100
20
200
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What number will be output by the console.log command on line 5?
10
11
12
15
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What number will be output by the console.log command on line 5?
10
25
30
35
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What text will be ouput by the program?
Less than 10
Less than 20
Less than 30
30 or more
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What text will be ouput by the program?
Output A
Output B
Output C
Output D
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the order of letters printed to the console when this program is run?
a b c
a b c b c b c
a b c b c
a b c a
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"You win!" never displays. What line is responsible for this error?
1
3
4
5
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
0 questions
AP CSP Unit 4
Quiz
•
0 questions
CSP1 Unit 4 Test
Quiz
•
0 questions
AP CSP Unit 4: Lesson 15: Assessment Day
Quiz
•
0 questions
Code.org Unit 4
Quiz
•
0 questions
AP CSP Unit 4
Quiz
•
0 questions
CSP - Unit 4
Quiz
•
0 questions
Code.org Computer
Quiz
•
0 questions
AP CS A - Unit 5 Assessment
Quiz
•
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
