APCSP Unit 4

APCSP Unit 4

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

AP CSP Unit 4

AP CSP Unit 4

CSP1 Unit 4 Test

CSP1 Unit 4 Test

AP CSP Unit 4: Lesson 15: Assessment Day

AP CSP Unit 4: Lesson 15: Assessment Day

Code.org Unit 4

Code.org Unit 4

AP CSP Unit 4

AP CSP Unit 4

CSP - Unit 4

CSP - Unit 4

Code.org Computer

Code.org Computer

AP CS A - Unit 5 Assessment

AP CS A - Unit 5 Assessment

APCSP Unit 4

APCSP Unit 4

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

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

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

What text will be ouput by the program?

Output A

Output B

Output C

Output D

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

"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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?