Search Header Logo

CodeHS AP CSP Unit 3 Review

Authored by Kelley Camp

Computers

11th - 12th Grade

Used 289+ times

CodeHS AP CSP Unit 3 Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

About

This quiz covers fundamental programming concepts in Python, specifically designed for AP Computer Science Principles (CSP) at the high school level, appropriate for grades 11-12. The questions assess essential programming skills including variable assignment and evaluation, data types (strings, integers, floats, booleans), mathematical operations and operator precedence, input/output operations, string concatenation and formatting, event-driven programming with callback functions, coordinate systems in graphics programming, and proper Python syntax and naming conventions. Students need a solid understanding of how Python executes code sequentially, how different data types behave in operations, the distinction between integer and floating-point division, modular arithmetic, and the fundamentals of user interaction through input functions. The quiz also tests knowledge of graphics programming concepts such as coordinate systems and object positioning, as well as event handling mechanisms that are crucial for interactive programming. Created by Kelley Camp, a Computer Science teacher in the US who teaches grades 11 and 12. This comprehensive review quiz serves as an excellent tool for reinforcing Unit 3 concepts in the CodeHS AP Computer Science Principles curriculum. Teachers can deploy this quiz as a formative assessment to gauge student understanding before moving to more advanced topics, as a review session before unit exams, or as targeted practice for students who need additional reinforcement of fundamental programming concepts. The quiz works particularly well as homework to encourage independent problem-solving or as a warm-up activity to activate prior knowledge at the beginning of class. The variety of question types—from basic syntax to code evaluation—makes it valuable for differentiated instruction, allowing teachers to identify specific areas where individual students may need additional support. This assessment aligns with College Board standards for AP Computer Science Principles, particularly focusing on computational thinking practices and programming fundamentals outlined in the AP CSP framework.

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is stored in variable c?

10

5

15

50

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What value is stored in variable B?

1

2

a

3

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is displayed as a result if the user inputs "Karel" to the program?

What is your name? Karel

Hello

Karel

What is your name? Karel

HelloKarel

What is your name? Karel

Hello Karel

Hello Karel

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will display after running the following code?

Welcome!

¡Hola!

¡Hola!

Bonjour!

Welcome! ¡Hola! ¡Hola! Bonjour!

Welcome!

¡Hola!

Welcome!

Bonjour!

Welcome! ¡Hola! Welcome! Bonjour!

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is displayed as a result if the user inputs “P” to the program?

“Enter a character. ” P

“:” “c” P

Enter a character. P

:

c

P

Enter a character. P

: c P

“Enter a character. ” P

“:” “c” symbol

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will the following code segment evaluate to?

29

56

29.0

56.0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code segment evaluate to?

1

4

2.5

25

Access all questions and much more by creating a free account

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?