8.4. AP CSP Pseudocode¶
The AP CS Principles Exam does not have a designated programming language associated with it. Instead a pseudocode is used. The AP CSP reference sheet is provided during the exam to help you understand the AP pseudocode format and the meaning of the questions on the exam.
The AP CSP pseudocode commands are also reviewed in the following lessons:
- Algorithm Basics: Robot commands
- Paint Pot: Variables and Assignment
- Paint Pot Projects: selection (if) statements
- Paint Pot Refactoring: Procedures
- Map Tour: Intro to Lists
- Logo I: AP CSP Robot Code and Loops
- Logo 2: Procedures with Parameters Procedures
- Caesar Cipher App: Functions with Parameters
- Quiz App Projects: AP CSP List Commands and Loops with Lists
- Pseudocode Tracing Exercises (the next lesson)
The following document by Mobile CSP teacher Timothy Clark from Gilroy Unified School District compares AP pseudocode blocks to App Inventor blocks:
A Mobile CSP teacher Mark Eisenhardt has also developed a slide deck that shows the App Inventor blocks next to the relevant sections of the reference sheet (shown below).