VIP Exclusive

AP Computer Science A VIP Practice Exam

AP CSA — The AP Computer Science A (AP CSA) exam is administered by the College Board; it consists of 40 multiple-choice questions (90 minutes) and 4 free-response questions (90 minutes), scored on a 1–5 scale, covering Java programming concepts including primitive types, control flow, classes, arrays, ArrayList, 2D arrays, inheritance, and recursion.

29
Questions
90m
Time Limit
65.00%
To Pass
Question 1 of 29👑 VIP

Consider the following code segment: int a = 9; int b = 4; double result = a / b; System.out.println(result); What is printed when this code executes?

Questions 2–29 and full explanations are VIP-exclusive.