🇺🇸 AP Exams (Advanced Placement) · flashcards
AP Exams (Advanced Placement) AP Mathematics and Computer Science (Statistics & CS) Flashcards
65 question-and-answer cards covering AP Mathematics and Computer Science (Statistics & CS) as it is examined in AP Exams (Advanced Placement). 24 of them are printed below, taken from across the deck — no signup, no paywall on the preview.
24 sample cards from the AP Mathematics and Computer Science (Statistics & CS) deck
Sampled from the end of the deck, so these are different cards from the ones shown on the syllabus page.
In Java, what are the eight primitive data types?
byte, short, int, long, float, double, char, and boolean.
In Java (AP CS A), what is the difference between == and the .equals() method for objects like String?
== compares references (whether two variables point to the same object); .equals() compares the contents/values of the objects.
What is the difference between a while loop and a for loop in Java?
A while loop repeats while a condition is true and is best when the number of iterations is unknown; a for loop bundles initialization, condition, and update and is best when the count of iterations is known.
In Java, what is the difference between a class and an object?
A class is a blueprint/template defining attributes (instance variables) and behaviors (methods); an object is a specific instance of a class created with the new keyword (a constructor call).
What is the purpose of a constructor in Java, and what is encapsulation?
A constructor initializes a new object's instance variables when it is created. Encapsulation is hiding internal data using private fields and exposing access through public methods (getters/setters).
What is inheritance in Java, and what keyword establishes it?
Inheritance lets a subclass acquire the fields and methods of a superclass, enabling code reuse; the keyword 'extends' establishes the relationship. super() calls the superclass constructor.
How does a Java array differ from an ArrayList?
An array has a fixed size and can hold primitives or objects, accessed with [ ]; an ArrayList is resizable, holds objects (or wrappers) only, and uses methods like add, get, set, size, and remove.
In AP CS A, what is the difference between traversing a 1D array and a 2D array?
A 1D array is traversed with one loop over indices 0..length−1; a 2D array (array of arrays) is traversed with nested loops over rows (arr.length) and columns (arr[row].length).
What two essential components must every recursive method have?
A base case that stops the recursion (returns without recursing) and a recursive case that calls the method on a smaller/simpler input moving toward the base case.
Compare linear search and binary search, including their requirements.
Linear search checks each element in order (works on any list, O(n)); binary search repeatedly halves a SORTED list (O(log n)), requiring the data to be sorted first.
In AP CSP, what is an algorithm, and what three building blocks can express any algorithm?
An algorithm is a finite, step-by-step set of instructions to accomplish a task. The three control structures are sequencing, selection (if/else), and iteration (loops).
In AP CSP, distinguish a parameter from an argument, and explain a procedure's benefit of abstraction.
A parameter is the variable named in a procedure's definition; an argument is the actual value passed in when calling it. Procedures with parameters provide abstraction by hiding implementation detail and enabling reuse.
In AP CSP Creative Development, why is collaboration and iterative development valued in program design?
Collaboration brings diverse perspectives that reduce bias and errors; an iterative process (investigate, design, prototype, test, refine) catches problems early and steadily improves the program.
In AP CSP, how is analog data different from digital data, and why must analog be sampled?
Analog data is continuous (e.g., sound waves); digital data is discrete, stored as bits. Analog signals must be sampled (measured at intervals) to be represented digitally; higher sampling rates give better fidelity.
In AP CSP, distinguish lossy from lossless data compression.
Lossless compression reduces size with no information lost (data fully restorable, e.g., PNG/ZIP); lossy compression discards some data for greater size reduction and cannot be perfectly restored (e.g., JPEG, MP3).
In AP CSP, what is the difference between a problem solvable by an algorithm and an undecidable problem, and what is a heuristic?
Some problems have no algorithm that always gives a correct answer (undecidable). A heuristic is an approach that produces a good-enough (not guaranteed optimal) solution quickly, often for problems too slow to solve exactly (e.g., unreasonable-time problems).
In AP CSP, contrast a problem that runs in reasonable time with one that runs in unreasonable time.
Reasonable time: the number of steps grows polynomially with input size (e.g., constant, linear, square). Unreasonable time: steps grow faster, like exponentially or factorially, becoming impractical for large inputs.
In AP CSP, what is the purpose of redundancy and routing in the Internet, and what is fault tolerance?
Redundancy provides multiple paths between points; routing dynamically chooses paths so data (packets) still arrive if some paths fail. This redundancy gives the network fault tolerance — it keeps working despite component failures.
In AP CSP, what is the difference between bandwidth and latency, and what role do protocols like TCP/IP play?
Bandwidth is the maximum data transmitted per unit time; latency is the delay before data transfer begins. Protocols (TCP/IP, HTTP, DNS) are agreed-upon rules that let different devices communicate reliably across networks.
In AP CSP, explain the difference between parallel computing and distributed computing.
Parallel computing uses multiple processors to carry out parts of a task simultaneously on one machine; distributed computing uses multiple networked computers working together on a shared task.
In AP CSP Impact of Computing, what is the digital divide and what is meant by computing bias?
The digital divide is the unequal access to computing technology/the Internet across groups or regions. Computing bias is when programs (often via their data or design) systematically favor or disadvantage certain groups, reflecting human bias.
In AP CSP, define personally identifiable information (PII) and name two safeguards for protecting data.
PII is information that can identify an individual (name, SSN, address, location). Safeguards include strong passwords/multifactor authentication and encryption (and limiting what data is shared).
In AP CSP, what is the difference between symmetric and public key (asymmetric) encryption?
Symmetric encryption uses the same secret key to encrypt and decrypt; public key encryption uses a public key to encrypt and a separate private key to decrypt, removing the need to share a secret key.
In AP CSP Impact of Computing, what is the distinction between open-source and creative ownership concerns like intellectual property?
Open-source software is freely shared for use and modification; intellectual property (protected by copyright/licenses) restricts unauthorized copying. Creative Commons licenses let creators specify how their work may be reused.
What this deck covers
The AP Mathematics and Computer Science (Statistics & CS) deck follows the AP Exams (Advanced Placement) AP Mathematics and Computer Science (Statistics & CS) syllabus — 5 chapters and 18 topics — so questions land on material that is genuinely examinable rather than trivia around it. That works out to roughly 13.0 cards per chapter.
Answers are written to be recallable, not just readable — averaging about 195 characters, which is long enough to carry the reasoning and short enough to say out loud.
A deck like this earns its keep on the second and third pass. Read the syllabus first so you know the shape of the subject, then use the cards to find the specific facts that have not stuck.
AP Mathematics and Computer Science (Statistics & CS) flashcards FAQ
How many AP Mathematics and Computer Science (Statistics & CS) flashcards are in this AP Exams (Advanced Placement) deck?
65 cards. This page previews 24 of them, sampled evenly across the deck so you can judge the difficulty before installing anything.
Are these AP Exams (Advanced Placement) flashcards free?
Yes. The preview here is free to read with no signup, and the full 65-card deck is free inside the Examius app.
What do the AP Mathematics and Computer Science (Statistics & CS) cards cover?
They follow the AP Exams (Advanced Placement) AP Mathematics and Computer Science (Statistics & CS) syllabus — 5 chapters and 18 topics — so the questions track what is actually examinable.
How should I use these flashcards?
Read the syllabus first so you know the shape of the subject, then drill the deck. Examius schedules each card with spaced repetition, so cards you keep missing come back sooner and ones you know drift further apart.