AP CSA Daily Practice
Unit 1 Day 13: Object Instantiation Practice
Learn the correct syntax for creating objects using the new keyword in Java.
Unit 1 Day 13: Object Instantiation Practice
Learn the correct syntax for creating objects using the new keyword in Java.
Unit 1 Day 12: Math.random() Range Practice
Unit 1, Section 1.12 Day 12 Practice • January 18, 2026 🎯 Focus: Math.random() Ranges Practice Question Which expression generates a random integer from 10 to 25, inclusive? A)(int)(Math.random() *...
Unit 1 Day 12: Math.random() Range Practice
Unit 1, Section 1.12 Day 12 Practice • January 18, 2026 🎯 Focus: Math.random() Ranges Practice Question Which expression generates a random integer from 10 to 25, inclusive? A)(int)(Math.random() *...
Unit 1 Day 11: Substring Method Practice
Learn why substring(1, 4) returns indices 1-3 and substring(4) returns to the end in Java.
Unit 1 Day 11: Substring Method Practice
Learn why substring(1, 4) returns indices 1-3 and substring(4) returns to the end in Java.
Unit 1 Day 10: String length() and indexOf() Pr...
Unit 1, Section 1.10 Day 10 Practice • January 16, 2026 🎯 Focus: String Methods (length & indexOf) Practice Question Consider the following code segment: String word = "Computer"; System.out.println(word.length()...
Unit 1 Day 10: String length() and indexOf() Pr...
Unit 1, Section 1.10 Day 10 Practice • January 16, 2026 🎯 Focus: String Methods (length & indexOf) Practice Question Consider the following code segment: String word = "Computer"; System.out.println(word.length()...
Unit 1 Day 9: Integer Division & Modulo Practice
Practice calculating a / b + a % b and understand why integer division truncates in Java.
Unit 1 Day 9: Integer Division & Modulo Practice
Practice calculating a / b + a % b and understand why integer division truncates in Java.
Unit 1 Day 8: String Concatenation Practice
Learn why "Sum: " + 5 + 3 produces "Sum: 53" instead of "Sum: 8" in this interactive AP CSA practice question.
Unit 1 Day 8: String Concatenation Practice
Learn why "Sum: " + 5 + 3 produces "Sum: 53" instead of "Sum: 8" in this interactive AP CSA practice question.