CodeHS AP CSP Unit 3 Review

CodeHS AP CSP Unit 3 Review

Assessment

Flashcard

Computers

11th - 12th Grade

Practice Problem

Easy

Created by

Wayground Content

Used 2+ times

FREE Resource

Student preview

quiz-placeholder

22 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is stored in variable c?

Media Image

Back

15

2.

FLASHCARD QUESTION

Front

What value is stored in variable B?

Media Image

Back

1

3.

FLASHCARD QUESTION

Front

What is displayed as a result if the user inputs "Karel" to the program? Options: What is your name? Karel Hello Karel, What is your name? Karel HelloKarel, What is your name? Karel Hello Karel, Hello Karel

Media Image

Back

What is your name? Karel
Hello Karel

4.

FLASHCARD QUESTION

Front

What will display after running the following code? Options: Welcome! ¡Hola! ¡Hola! Bonjour!, Welcome! ¡Hola! ¡Hola! Bonjour!, Welcome! ¡Hola! Welcome! Bonjour!, Welcome! ¡Hola! Welcome! Bonjour!

Media Image

Back

Welcome! ¡Hola! ¡Hola! Bonjour!

5.

FLASHCARD QUESTION

Front

What is displayed as a result if the user inputs “P” to the program? Options: “Enter a character. ” P : c P, Enter a character. P : c P, Enter a character. P : c P, “Enter a character. ” P : “:” “c” symbol

Media Image

Back

Enter a character. P : c P

6.

FLASHCARD QUESTION

Front

What will the following code segment evaluate to? Options: 29, 56, 29.0, 56.0

Media Image

Back

29

7.

FLASHCARD QUESTION

Front

What will the following code segment evaluate to?

Media Image

Back

4

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?