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

Spring 2025 AP CSP Unit 3 Basics Exam

Flashcard
•
others
•
•
Hard
Quizizz Content
FREE Resource
Student preview

22 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
-2
2.
FLASHCARD QUESTION
Front
Which pseudocode procedure will ALWAYS properly draw an octagon?
Back
3.
FLASHCARD QUESTION
Front
Which of the following is the correct description of what this flowchart represents? Options: 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, When the alarm rings, get up if it is 6:00 or earlier and go back to sleep if it is later than 6:00, When the alarm rings, always get up, When the alarm rings, go back to sleep if it is later than 6:00
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
4.
FLASHCARD QUESTION
Front
Which of the following best describes an expression? Options: A loop that executes a set number of times, A combination of operators and values that evaluates to a single value, A command that stores a value in a variable, A function that returns True or False
Back
A combination of operators and values that evaluates to a single value
5.
FLASHCARD QUESTION
Front
What is the purpose of a compiler?
Back
To translate a programming language into machine language.
6.
FLASHCARD QUESTION
Front
Which of the following describes procedural abstraction? Options: A way to write code using natural language, A technique that allows code reuse and reduces redundancy, A set of statements that are executed sequentially, A logical operation used in Boolean expressions
Back
A technique that allows code reuse and reduces redundancy
7.
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.
Create a free account and access millions of resources
Similar Resources on Wayground
19 questions
Grade 7 Python

Flashcard
•
7th Grade
18 questions
Python Basics Review

Flashcard
•
10th Grade
17 questions
Scratch Basics

Flashcard
•
6th - 8th Grade
15 questions
Python Domain 1 Part 1

Flashcard
•
6th Grade
16 questions
CSIM Unit 1 Vocab Test

Flashcard
•
8th Grade
19 questions
HTML, CSS, Javascript

Flashcard
•
11th - 12th Grade
20 questions
Computer Science Vocab 1

Flashcard
•
9th - 12th Grade
15 questions
pseudocode

Flashcard
•
7th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
Discover more resources for others
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade