Spring 2025 AP CSP Unit 3 Basics Exam

Spring 2025 AP CSP Unit 3 Basics Exam

Assessment

Flashcard

others

Hard

Created by

Magdalena Quiroz

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the output of the following pseudocode?
a <- b + c % d - 4 * 2
Display(a)
When B = 6, C=8 and d=4

Back

-2

2.

FLASHCARD QUESTION

Front

What does the flowchart represent?

Back

When the alarm rings, get up if it is 6:00 or later and go back to sleep if it is earlier than 6:00

3.

FLASHCARD QUESTION

Front

Which of the following best describes an expression?

Back

A combination of operators and values that evaluates to a single value

4.

FLASHCARD QUESTION

Front

What is the purpose of a compiler?

Back

To translate a programming language into machine language

5.

FLASHCARD QUESTION

Front

Which of the following describes procedural abstraction?

Back

A technique that allows code reuse and reduces redundancy

6.

FLASHCARD QUESTION

Front

What is the difference between iteration and selection in programming?

Back

Iteration repeats a set of instructions, while selection chooses between two paths based on a condition.

7.

FLASHCARD QUESTION

Front

Which statement best describes a high-level programming language?

Back

A language that is close to natural language and abstracts low-level details

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?