AP CSP Daily Practice

AP CSP Day 17: Internet Structure

AP CSP Day 17: Internet Structure

Key Concepts The internet is a network of networks connected through routers that forward data packets toward their destinations. No single entity controls the entire internet; its decentralized structure makes...

AP CSP Day 17: Internet Structure

Key Concepts The internet is a network of networks connected through routers that forward data packets toward their destinations. No single entity controls the entire internet; its decentralized structure makes...

AP CSP Day 16: Data Compression

AP CSP Day 16: Data Compression

Key Concepts Data compression reduces file size by encoding information more efficiently. Lossless compression preserves all original data and allows exact reconstruction, while lossy compression permanently discards some data to...

AP CSP Day 16: Data Compression

Key Concepts Data compression reduces file size by encoding information more efficiently. Lossless compression preserves all original data and allows exact reconstruction, while lossy compression permanently discards some data to...

AP CSP Day 15: Metadata

AP CSP Day 15: Metadata

Key Concepts Metadata is data that describes other data, such as the file size, creation date, author, or location attached to a photo or document. While the content of a...

AP CSP Day 15: Metadata

Key Concepts Metadata is data that describes other data, such as the file size, creation date, author, or location attached to a photo or document. While the content of a...

AP CSP Day 14: Bias in Data & Algorithms

AP CSP Day 14: Bias in Data & Algorithms

Key Concepts Algorithmic bias occurs when a model or decision system produces systematically unfair outcomes, often because the training data underrepresents certain groups. Data bias can stem from who collected...

AP CSP Day 14: Bias in Data & Algorithms

Key Concepts Algorithmic bias occurs when a model or decision system produces systematically unfair outcomes, often because the training data underrepresents certain groups. Data bias can stem from who collected...

AP CSP Day 13: Correlation vs Causation

AP CSP Day 13: Correlation vs Causation

Key Concepts Correlation describes a statistical relationship between two variables that tend to change together, while causation means one variable directly causes changes in the other. Observational data can establish...

AP CSP Day 13: Correlation vs Causation

Key Concepts Correlation describes a statistical relationship between two variables that tend to change together, while causation means one variable directly causes changes in the other. Observational data can establish...

AP CSP Day 11: Data Collection & Cleaning

AP CSP Day 11: Data Collection & Cleaning

Key Concepts Data collection methods include surveys, sensors, manual entry, and automated logging, each introducing different potential sources of error. Data cleaning involves identifying and correcting issues like missing values,...

AP CSP Day 11: Data Collection & Cleaning

Key Concepts Data collection methods include surveys, sensors, manual entry, and automated logging, each introducing different potential sources of error. Data cleaning involves identifying and correcting issues like missing values,...

AP CSP Day 12: Data Visualization & Limitations

AP CSP Day 12: Data Visualization & Limitations

Key Concepts Data visualizations like bar charts, scatter plots, and line graphs communicate patterns in data more intuitively than raw numbers. However, visualizations can be misleading when axes are truncated,...

AP CSP Day 12: Data Visualization & Limitations

Key Concepts Data visualizations like bar charts, scatter plots, and line graphs communicate patterns in data more intuitively than raw numbers. However, visualizations can be misleading when axes are truncated,...

AP CSP Day 10: Side Effects & Mutation

AP CSP Day 10: Side Effects & Mutation

Key Concepts A side effect occurs when a procedure modifies a variable or data structure outside its own local scope, such as changing a global list or printing output. Mutation...

AP CSP Day 10: Side Effects & Mutation

Key Concepts A side effect occurs when a procedure modifies a variable or data structure outside its own local scope, such as changing a global list or printing output. Mutation...

AP CSP Day 9: Procedural Abstraction

AP CSP Day 9: Procedural Abstraction

Key Concepts Procedural abstraction means a programmer can use a procedure by knowing what it does without needing to understand exactly how it is implemented. This is one of the...

AP CSP Day 9: Procedural Abstraction

Key Concepts Procedural abstraction means a programmer can use a procedure by knowing what it does without needing to understand exactly how it is implemented. This is one of the...

AP CSP Day 8: Procedures & Parameters

AP CSP Day 8: Procedures & Parameters

Key Concepts A procedure (also called a function or subroutine) is a named block of code that can be called multiple times with different inputs called parameters. Parameters are local...

AP CSP Day 8: Procedures & Parameters

Key Concepts A procedure (also called a function or subroutine) is a named block of code that can be called multiple times with different inputs called parameters. Parameters are local...

AP CSP Day 7: Accumulator Pattern

AP CSP Day 7: Accumulator Pattern

Key Concepts The accumulator pattern initializes a variable to a starting value (often 0 or an empty list) before a loop, then updates it each iteration to build a result....

AP CSP Day 7: Accumulator Pattern

Key Concepts The accumulator pattern initializes a variable to a starting value (often 0 or an empty list) before a loop, then updates it each iteration to build a result....

AP CSP Day 6: List Traversal & Filtering

AP CSP Day 6: List Traversal & Filtering

Key Concepts List traversal uses a FOR EACH loop to process every element in a list sequentially. Filtering is a common traversal pattern where elements meeting a condition are collected...

AP CSP Day 6: List Traversal & Filtering

Key Concepts List traversal uses a FOR EACH loop to process every element in a list sequentially. Filtering is a common traversal pattern where elements meeting a condition are collected...

AP CSP Day 5: Lists as Data Abstraction

AP CSP Day 5: Lists as Data Abstraction

Key Concepts A list in AP CSP is an ordered collection of items accessed by index, where the first element is at index 1. Lists are an example of data...

AP CSP Day 5: Lists as Data Abstraction

Key Concepts A list in AP CSP is an ordered collection of items accessed by index, where the first element is at index 1. Lists are an example of data...

AP CSP Day 3: Conditionals

AP CSP Day 3: Conditionals

Key Concepts Conditional statements (IF, IF/ELSE) allow programs to make decisions based on Boolean conditions at runtime. The body of an IF block executes only when the condition evaluates to...

AP CSP Day 3: Conditionals

Key Concepts Conditional statements (IF, IF/ELSE) allow programs to make decisions based on Boolean conditions at runtime. The body of an IF block executes only when the condition evaluates to...

AP CSP Day 4: Iteration Patterns

AP CSP Day 4: Iteration Patterns

Key Concepts Iteration in AP CSP uses REPEAT n TIMES or REPEAT UNTIL loops to execute a block of code multiple times. REPEAT n TIMES runs exactly n iterations regardless...

AP CSP Day 4: Iteration Patterns

Key Concepts Iteration in AP CSP uses REPEAT n TIMES or REPEAT UNTIL loops to execute a block of code multiple times. REPEAT n TIMES runs exactly n iterations regardless...

AP CSP Day 1: Variables & Assignment

AP CSP Day 1: Variables & Assignment

Key Concepts In AP CSP pseudocode, a variable stores a value that can change as a program executes. Assignment uses the arrow notation (variable ← value) to store data, overwriting...

AP CSP Day 1: Variables & Assignment

Key Concepts In AP CSP pseudocode, a variable stores a value that can change as a program executes. Assignment uses the arrow notation (variable ← value) to store data, overwriting...

AP CSP Day 2: Boolean Logic

AP CSP Day 2: Boolean Logic

Key Concepts Boolean expressions in AP CSP evaluate to either true or false using the logical operators AND, OR, and NOT. An AND expression is true only when both operands...

AP CSP Day 2: Boolean Logic

Key Concepts Boolean expressions in AP CSP evaluate to either true or false using the logical operators AND, OR, and NOT. An AND expression is true only when both operands...

Internet & Fault Tolerance | AP CSP Practice

Big Idea 4 Day 5 Practice Focus: Redundancy & Networks Practice Question A university network connects buildings using multiple paths. When a cable between Buildings A and B breaks, data...

Internet & Fault Tolerance | AP CSP Practice

Big Idea 4 Day 5 Practice Focus: Redundancy & Networks Practice Question A university network connects buildings using multiple paths. When a cable between Buildings A and B breaks, data...

Binary to Decimal Conversion | AP CSP Practice

Big Idea 2 Day 2 Practice Focus: Data Representation Practice Question An 8-bit binary number system uses values from 00000000 to 11111111. What is the decimal equivalent of binary 10110100?...

Binary to Decimal Conversion | AP CSP Practice

Big Idea 2 Day 2 Practice Focus: Data Representation Practice Question An 8-bit binary number system uses values from 00000000 to 11111111. What is the decimal equivalent of binary 10110100?...

Testing & Program Development | AP CSP Practice

Big Idea 1 Day 1 Practice Focus: Collaboration & Edge Cases Practice Question A development team is testing a ride-sharing app. The app calculates fares based on distance and time....

Testing & Program Development | AP CSP Practice

Big Idea 1 Day 1 Practice Focus: Collaboration & Edge Cases Practice Question A development team is testing a ride-sharing app. The app calculates fares based on distance and time....

FOR EACH Loops & List Traversal | AP CSP Practice

Big Idea 3 Day 4 Practice Focus: Iteration & Filtering Practice Question Consider the following code segment that processes a list of test scores: scores <- [88, 72, 95, 67,...

FOR EACH Loops & List Traversal | AP CSP Practice

Big Idea 3 Day 4 Practice Focus: Iteration & Filtering Practice Question Consider the following code segment that processes a list of test scores: scores <- [88, 72, 95, 67,...

Variable Tracing & Assignments | AP CSP Practice

Big Idea 3 Day 3 Practice Focus: Sequential Execution Practice Question Consider the following code segment: a <- 5 b <- 10 c <- a + b a <- c...

Variable Tracing & Assignments | AP CSP Practice

Big Idea 3 Day 3 Practice Focus: Sequential Execution Practice Question Consider the following code segment: a <- 5 b <- 10 c <- a + b a <- c...

Algorithms & Efficiency | AP CSP Daily Practice...

Big Idea 3: Algorithms and Programming Day 14 Practice - AP CSP Daily Question [FOCUS] Algorithm Efficiency and Heuristics Practice Question A delivery company needs to find the shortest route...

Algorithms & Efficiency | AP CSP Daily Practice...

Big Idea 3: Algorithms and Programming Day 14 Practice - AP CSP Daily Question [FOCUS] Algorithm Efficiency and Heuristics Practice Question A delivery company needs to find the shortest route...

Parallel & Distributed Computing | AP CSP Daily...

Big Idea 4: Computing Systems and Networks Day 13 Practice - AP CSP Daily Question [FOCUS] Parallel and Distributed Computing Practice Question A program needs to process 1000 images. Processing...

Parallel & Distributed Computing | AP CSP Daily...

Big Idea 4: Computing Systems and Networks Day 13 Practice - AP CSP Daily Question [FOCUS] Parallel and Distributed Computing Practice Question A program needs to process 1000 images. Processing...

Privacy, Security & Cybersecurity | AP CSP Dail...

Big Idea 5: Impact of Computing Day 12 Practice - AP CSP Daily Question [FOCUS] Privacy, Security, and Cybersecurity Practice Question A company stores customer data including names, email addresses,...

Privacy, Security & Cybersecurity | AP CSP Dail...

Big Idea 5: Impact of Computing Day 12 Practice - AP CSP Daily Question [FOCUS] Privacy, Security, and Cybersecurity Practice Question A company stores customer data including names, email addresses,...

Data Analysis & Visualization | AP CSP Daily Pr...

Big Idea 2: Data Day 11 Practice - AP CSP Daily Question [FOCUS] Data Analysis and Visualization Practice Question A researcher collects data about average daily temperatures over 30 days....

Data Analysis & Visualization | AP CSP Daily Pr...

Big Idea 2: Data Day 11 Practice - AP CSP Daily Question [FOCUS] Data Analysis and Visualization Practice Question A researcher collects data about average daily temperatures over 30 days....