APCSP Cheat Sheet 2026
The 30 highest-yield APCSP facts, distilled from real exam questions. Print it, save it as a PDF, or study it here — free, no sign-up.
70 questions
120 min time limit
60% to pass
- Which of the following BEST describes the difference between analog and digital data? → Analog data represents continuous values; digital data uses discrete binary values
- What is the mean of the data set: 4, 8, 6, 10, 2? → 6
- A company sends a large file across the internet. The file is broken into smaller units before transmission. What are these units called? → Packets
- Which of the following is an example of structured data? → Rows and columns in a relational database table
- Which Boolean expression is equivalent to NOT(A OR B) according to De Morgan's law? → NOT(A) AND NOT(B)
- What is correlation? → A statistical relationship between two variables
- Which of the following pairs shows abstraction at TWO different levels? → JavaScript code and the web browser's JavaScript engine
- What is the primary purpose of a flowchart in algorithm design? → To visually represent the steps and decision points of an algorithm
- Which of the following describes the concept of 'design thinking' as applied to program development? → A human-centered approach that emphasizes empathy, ideation, prototyping, and testing
- A pharmaceutical company uses machine learning to accelerate drug discovery. This BEST illustrates which principle? → Computing enabling scientific breakthroughs that have large-scale positive human impact
- Which type of error causes a program to produce incorrect results without crashing? → Logic error
- A spam filter marks email as spam if: (has_suspicious_link OR from_unknown_sender) AND NOT(in_whitelist). When is email NOT marked as spam? → When the sender is in the whitelist
- What is the role of a 'specification' in program development? → A document that describes what a program should do before it is built
- A company stores passwords as plain text in its database. Why is this a critical security flaw? → A database breach exposes all passwords immediately
- Which protocol is used to securely access a remote computer's command line over an encrypted connection? → SSH
- According to De Morgan's first law, NOT(A AND B) is equivalent to: → NOT(A) OR NOT(B)
- The hexadecimal color code #FF0000 represents which color? → Red
- What is the difference between '==' and '=' in most programming languages? → '==' compares values; '=' assigns a value
- Which of the following scenarios illustrates 'net neutrality' being violated? → An ISP throttling video streaming services to favor its own content
- Which of the following best describes the role of iteration in the creative development process? → Repeatedly refining a program based on testing and feedback
- A login system uses the condition (username_correct AND password_correct). When does the user gain access? → When both username and password are correct
- What is the primary advantage of using pseudocode during program planning? → It allows developers to plan logic without worrying about syntax
- In computational thinking, what does it mean to 'generalize' a solution? → Adapt a solution so it works for a broader class of problems
- A student increases the number of particles in a physics simulation from 100 to 10,000. What is the most likely trade-off? → More particles increases accuracy but requires more computation time
- A router receives a packet destined for 10.0.0.5 but its routing table has no specific entry for that address. What does it typically do? → Forwards the packet to a default gateway for further routing
- When developing a website, which of the following programming languages is primarily used to design the structure of the page? → HTML
- Why is continuing education important in Abstraction Concepts? → To stay current with evolving standards and practices
- A programmer wants to repeat a block of code exactly 5 times. Which control structure is most appropriate? → REPEAT 5 TIMES loop
- An attacker intercepts communication between two parties and secretly relays or alters messages. This is called a: → Man-in-the-middle attack
- Environmental scientists use computing to model climate change. Which of the following BEST describes this as a beneficial digital impact? → Large-scale data processing enables more accurate predictions that inform policy decisions
Turn these facts into recall: