AP CSA Daily Practice
AP CSA Unit 1 Day 2: Primitive Ranges
AP CSA practice on primitive type behavior. Learn how Java handles implicit type promotion and the difference between local and instance variable initialization.
AP CSA Unit 1 Day 2: Primitive Ranges
AP CSA practice on primitive type behavior. Learn how Java handles implicit type promotion and the difference between local and instance variable initialization.
AP CSA Unit 1 Day 4: Operator Precedence
AP CSA operator precedence practice. Learn how Java evaluates arithmetic expressions and the rules for mixed int/double operations.
AP CSA Unit 1 Day 4: Operator Precedence
AP CSA operator precedence practice. Learn how Java evaluates arithmetic expressions and the rules for mixed int/double operations.
AP CSA Unit 1 Day 3: Boolean Type Behavior
AP CSA boolean expressions practice. Master Java boolean type behavior, relational operators, and logical operator precedence for the AP exam.
AP CSA Unit 1 Day 3: Boolean Type Behavior
AP CSA boolean expressions practice. Master Java boolean type behavior, relational operators, and logical operator precedence for the AP exam.
AP CSA Unit 1 Day 1: Declaring Variables
Practice AP CSA integer division and type casting. Understand how Java truncates integer division and what happens when you assign the result to a double variable.
AP CSA Unit 1 Day 1: Declaring Variables
Practice AP CSA integer division and type casting. Understand how Java truncates integer division and what happens when you assign the result to a double variable.
AP CSA Unit 1 Day 28: String Length String Conc...
Advanced Cycle 2 HARD question testing string length + string concatenation. Focus: int + String type coercion.
AP CSA Unit 1 Day 28: String Length String Conc...
Advanced Cycle 2 HARD question testing string length + string concatenation. Focus: int + String type coercion.
AP CSA Unit 1 Day 27: Passing Object To Method ...
Tests Math.pow() returning double, (int) casting truncation vs. rounding, integer division before assignment to double, and double printing format.
AP CSA Unit 1 Day 27: Passing Object To Method ...
Tests Math.pow() returning double, (int) casting truncation vs. rounding, integer division before assignment to double, and double printing format.
AP CSA Unit 1 Day 26: Reassigning String Method...
Advanced Cycle 2 HARD question testing reassigning string method result. Focus: Capture required.
AP CSA Unit 1 Day 26: Reassigning String Method...
Advanced Cycle 2 HARD question testing reassigning string method result. Focus: Capture required.
AP CSA Unit 1 Day 25: String Immutability
Advanced Cycle 2 HARD question testing string immutability. Focus: Method result ignored.
AP CSA Unit 1 Day 25: String Immutability
Advanced Cycle 2 HARD question testing string immutability. Focus: Method result ignored.
AP CSA Unit 1 Day 24: Capturing Return Value Up...
Advanced Cycle 2 HARD question testing capturing return value updates variable. Focus: Assignment required.
AP CSA Unit 1 Day 24: Capturing Return Value Up...
Advanced Cycle 2 HARD question testing capturing return value updates variable. Focus: Assignment required.
AP CSA Unit 1 Day 23: Pass By Value For Primitives
Advanced Cycle 2 HARD question testing pass-by-value for primitives. Focus: Ignored return.
AP CSA Unit 1 Day 23: Pass By Value For Primitives
Advanced Cycle 2 HARD question testing pass-by-value for primitives. Focus: Ignored return.
AP CSA Unit 1 Day 22: Distinct Objects With Sam...
Tests left-to-right evaluation of + with mixed int and String operands. Before a String, + is addition; after a String appears, + is concatenation.
AP CSA Unit 1 Day 22: Distinct Objects With Sam...
Tests left-to-right evaluation of + with mixed int and String operands. Before a String, + is addition; after a String appears, + is concatenation.
AP CSA Unit 1 Day 21: Aliasing Two References T...
Tests == vs .equals() in I/II/III format with String literals, new String(), and reference assignment. Requires understanding reference vs. content equality.
AP CSA Unit 1 Day 21: Aliasing Two References T...
Tests == vs .equals() in I/II/III format with String literals, new String(), and reference assignment. Requires understanding reference vs. content equality.
AP CSA Unit 1 Day 20: String Touppercase
Advanced Cycle 2 HARD question testing string touppercase(). Focus: Immutability.
AP CSA Unit 1 Day 20: String Touppercase
Advanced Cycle 2 HARD question testing string touppercase(). Focus: Immutability.
AP CSA Unit 1 Day 19: Math Pow Then Cast To Int
Advanced Cycle 2 HARD question testing math.pow then cast to int. Focus: Type conversion.
AP CSA Unit 1 Day 19: Math Pow Then Cast To Int
Advanced Cycle 2 HARD question testing math.pow then cast to int. Focus: Type conversion.
AP CSA Unit 1 Day 18: Math Pow Returns Double
Advanced Cycle 2 HARD question testing math.pow() returns double. Focus: Return type.
AP CSA Unit 1 Day 18: Math Pow Returns Double
Advanced Cycle 2 HARD question testing math.pow() returns double. Focus: Return type.
AP CSA Unit 1 Day 17: Math Random With Constrai...
Advanced Cycle 2 HARD question testing math.random() with constrained values. Focus: Complex range reasoning.
AP CSA Unit 1 Day 17: Math Random With Constrai...
Advanced Cycle 2 HARD question testing math.random() with constrained values. Focus: Complex range reasoning.
AP CSA Unit 1 Day 16: Repeated Method Calls Mut...
Traces compound assignment operators with modulo (%) and integer division truncation. Both operations produce int results that discard remainders/decimals.
AP CSA Unit 1 Day 16: Repeated Method Calls Mut...
Traces compound assignment operators with modulo (%) and integer division truncation. Both operations produce int results that discard remainders/decimals.
AP CSA Unit 1 Day 15: Object State Change
Tests String immutability by calling substring() twice without capturing return values. The original String remains completely unchanged.
AP CSA Unit 1 Day 15: Object State Change
Tests String immutability by calling substring() twice without capturing return values. The original String remains completely unchanged.
AP CSA Unit 1 Day 14: Indexof Substring Compute...
Advanced Cycle 2 HARD question testing indexof + substring computed indices. Focus: Chained operations.
AP CSA Unit 1 Day 14: Indexof Substring Compute...
Advanced Cycle 2 HARD question testing indexof + substring computed indices. Focus: Chained operations.
AP CSA Unit 1 Day 13: Nested Method Calls
Advanced Cycle 2 HARD question testing nested method calls. Focus: Inside-out evaluation.
AP CSA Unit 1 Day 13: Nested Method Calls
Advanced Cycle 2 HARD question testing nested method calls. Focus: Inside-out evaluation.
AP CSA Unit 1 Day 12: Substring Pieces Concaten...
Advanced Cycle 2 HARD question testing substring pieces concatenation. Focus: Building new String.
AP CSA Unit 1 Day 12: Substring Pieces Concaten...
Advanced Cycle 2 HARD question testing substring pieces concatenation. Focus: Building new String.
AP CSA Unit 1 Day 11: String Literals And
Advanced Cycle 2 HARD question testing string literals and ==. Focus: String pooling.
AP CSA Unit 1 Day 11: String Literals And
Advanced Cycle 2 HARD question testing string literals and ==. Focus: String pooling.
AP CSA Unit 1 Day 10: Reassigning Object Parameter
Advanced Cycle 2 HARD question testing reassigning object parameter. Focus: Reference parameter reassignment.
AP CSA Unit 1 Day 10: Reassigning Object Parameter
Advanced Cycle 2 HARD question testing reassigning object parameter. Focus: Reference parameter reassignment.
AP CSA Unit 1 Day 9: Substringlength 3 Last 3 C...
Advanced Cycle 2 HARD question testing substring(length-3) last 3 chars. Focus: Negative offset pattern.
AP CSA Unit 1 Day 9: Substringlength 3 Last 3 C...
Advanced Cycle 2 HARD question testing substring(length-3) last 3 chars. Focus: Negative offset pattern.
AP CSA Unit 1 Day 8: Substring With Length Base...
Advanced Cycle 2 HARD question testing substring with length-based indices. Focus: Computed indices.
AP CSA Unit 1 Day 8: Substring With Length Base...
Advanced Cycle 2 HARD question testing substring with length-based indices. Focus: Computed indices.
AP CSA Unit 1 Day 7: Object State Over Time Via...
Traces chained String method calls using substring() and indexOf() from the Java Quick Reference. Tests exclusive end index and searching the correct variable.
AP CSA Unit 1 Day 7: Object State Over Time Via...
Traces chained String method calls using substring() and indexOf() from the Java Quick Reference. Tests exclusive end index and searching the correct variable.
AP CSA Unit 1 Day 6: Math Random Range Mapping
Advanced Cycle 2 HARD question testing math.random() range mapping. Focus: Scale and shift.
AP CSA Unit 1 Day 6: Math Random Range Mapping
Advanced Cycle 2 HARD question testing math.random() range mapping. Focus: Scale and shift.
AP CSA Unit 1 Day 5: Method Composition Tracing
Advanced Cycle 2 HARD question testing method composition tracing. Focus: Nested calls.
AP CSA Unit 1 Day 5: Method Composition Tracing
Advanced Cycle 2 HARD question testing method composition tracing. Focus: Nested calls.
AP CSA Unit 1 Day 4: String vs. Equals With New...
Advanced Cycle 2 HARD question testing string == vs .equals() with new string. Focus: Reference vs value.
AP CSA Unit 1 Day 4: String vs. Equals With New...
Advanced Cycle 2 HARD question testing string == vs .equals() with new string. Focus: Reference vs value.
AP CSA Unit 1 Day 2: Substringstartend Indexing
Advanced Cycle 2 HARD question testing substring(start,end) indexing. Focus: Endpoint exclusive.
AP CSA Unit 1 Day 2: Substringstartend Indexing
Advanced Cycle 2 HARD question testing substring(start,end) indexing. Focus: Endpoint exclusive.
AP CSA Unit 1 Day 3: Indexofstring First Occurr...
Advanced Cycle 2 HARD question testing indexof(string) first occurrence. Focus: Search from start.
AP CSA Unit 1 Day 3: Indexofstring First Occurr...
Advanced Cycle 2 HARD question testing indexof(string) first occurrence. Focus: Search from start.
AP CSA Unit 1 Day 1: String Concatenation Order
Advanced Cycle 2 HARD question testing string concatenation order. Focus: String + int precedence.
AP CSA Unit 1 Day 1: String Concatenation Order
Advanced Cycle 2 HARD question testing string concatenation order. Focus: String + int precedence.
AP CSA Unit 2 Day 28: Iteration Nested Loop Acc...
Advanced Cycle 2 HARD question testing variable inner bound. Topic: Iteration (nested loop accumulation).
AP CSA Unit 2 Day 28: Iteration Nested Loop Acc...
Advanced Cycle 2 HARD question testing variable inner bound. Topic: Iteration (nested loop accumulation).
AP CSA Unit 2 Day 27: Iteration Selection Neste...
Advanced Cycle 2 HARD question testing nested filtering. Topic: Iteration + Selection (nested filtering).
AP CSA Unit 2 Day 27: Iteration Selection Neste...
Advanced Cycle 2 HARD question testing nested filtering. Topic: Iteration + Selection (nested filtering).
AP CSA Unit 2 Day 26: Iteration Break In Nested...
Advanced Cycle 2 HARD question testing break scope. Topic: Iteration (break in nested loops).
AP CSA Unit 2 Day 26: Iteration Break In Nested...
Advanced Cycle 2 HARD question testing break scope. Topic: Iteration (break in nested loops).
AP CSA Unit 2 Day 25: Iteration Selection Neste...
Advanced Cycle 2 HARD question testing diagonal match. Topic: Iteration + Selection (nested condition).
AP CSA Unit 2 Day 25: Iteration Selection Neste...
Advanced Cycle 2 HARD question testing diagonal match. Topic: Iteration + Selection (nested condition).
AP CSA Unit 2 Day 24: Iteration Nested Loop Count
Advanced Cycle 2 HARD question testing nested loop multiplication. Topic: Iteration (nested loop count).
AP CSA Unit 2 Day 24: Iteration Nested Loop Count
Advanced Cycle 2 HARD question testing nested loop multiplication. Topic: Iteration (nested loop count).
AP CSA Unit 2 Day 23: Iteration While Loop Tracing
Advanced Cycle 2 HARD question testing loop termination. Topic: Iteration (while-loop tracing).
AP CSA Unit 2 Day 23: Iteration While Loop Tracing
Advanced Cycle 2 HARD question testing loop termination. Topic: Iteration (while-loop tracing).
AP CSA Unit 2 Day 22: Iteration Continue
Advanced Cycle 2 HARD question testing continue statement. Topic: Iteration (continue).
AP CSA Unit 2 Day 22: Iteration Continue
Advanced Cycle 2 HARD question testing continue statement. Topic: Iteration (continue).
AP CSA Unit 2 Day 21: Iteration Break
Advanced Cycle 2 HARD question testing early exit. Topic: Iteration (break).
AP CSA Unit 2 Day 21: Iteration Break
Advanced Cycle 2 HARD question testing early exit. Topic: Iteration (break).
AP CSA Unit 2 Day 20: Iteration Accumulation
Advanced Cycle 2 HARD question testing zero-based accumulation. Topic: Iteration (accumulation).
AP CSA Unit 2 Day 20: Iteration Accumulation
Advanced Cycle 2 HARD question testing zero-based accumulation. Topic: Iteration (accumulation).
AP CSA Unit 2 Day 19: Iteration While Loop Growth
Advanced Cycle 2 HARD question testing exponential growth. Topic: Iteration (while-loop growth).
AP CSA Unit 2 Day 19: Iteration While Loop Growth
Advanced Cycle 2 HARD question testing exponential growth. Topic: Iteration (while-loop growth).
AP CSA Unit 2 Day 18: Iteration For Loop Count
Advanced Cycle 2 HARD question testing loop step count. Topic: Iteration (for-loop count).
AP CSA Unit 2 Day 18: Iteration For Loop Count
Advanced Cycle 2 HARD question testing loop step count. Topic: Iteration (for-loop count).
AP CSA Unit 2 Day 17: Boolean Precedence Andand...
Advanced Cycle 2 HARD question testing operator precedence. Topic: Boolean Precedence (&& with ||).
AP CSA Unit 2 Day 17: Boolean Precedence Andand...
Advanced Cycle 2 HARD question testing operator precedence. Topic: Boolean Precedence (&& with ||).
AP CSA Unit 2 Day 16: Selection If Else If Boun...
Advanced Cycle 2 HARD question testing conditional chain. Topic: Selection (if / else-if boundary).
AP CSA Unit 2 Day 16: Selection If Else If Boun...
Advanced Cycle 2 HARD question testing conditional chain. Topic: Selection (if / else-if boundary).
AP CSA Unit 2 Day 15: Boolean Algebra Equivalence
Advanced Cycle 2 HARD question testing de morgan's law. Topic: Boolean Algebra (Equivalence).
AP CSA Unit 2 Day 15: Boolean Algebra Equivalence
Advanced Cycle 2 HARD question testing de morgan's law. Topic: Boolean Algebra (Equivalence).
AP CSA Unit 2 Day 13: Iteration Break
Advanced Cycle 2 HARD question testing break statement. Topic: Iteration (break).
AP CSA Unit 2 Day 13: Iteration Break
Advanced Cycle 2 HARD question testing break statement. Topic: Iteration (break).
AP CSA Unit 2 Day 14: Iteration Selection Filte...
Advanced Cycle 2 HARD question testing loop filtering. Topic: Iteration + Selection (Filtering).
AP CSA Unit 2 Day 14: Iteration Selection Filte...
Advanced Cycle 2 HARD question testing loop filtering. Topic: Iteration + Selection (Filtering).
AP CSA Unit 2 Day 12: Debugging Loop Condition
Advanced Cycle 2 HARD question testing loop bounds. Topic: Debugging (Loop condition).
AP CSA Unit 2 Day 12: Debugging Loop Condition
Advanced Cycle 2 HARD question testing loop bounds. Topic: Debugging (Loop condition).
AP CSA Unit 2 Day 11: Iteration Nested Loop Count
Advanced Cycle 2 HARD question testing nested loop count. Topic: Iteration (nested loop count).
AP CSA Unit 2 Day 11: Iteration Nested Loop Count
Advanced Cycle 2 HARD question testing nested loop count. Topic: Iteration (nested loop count).