AP CSA MCQ Practice

Full-Length MCQ Practice Test 1

Timed mode uses a 90-minute countdown and saves explanations for the final review.

For practice use only.

Full-Length MCQ Practice Test 1 - Timed Mode

Full-Length MCQ Practice Test 1 with a 90-minute timer for AP Computer Science A MCQ pacing practice.

Time left 90:00
Question 1 of 42

Answered 0 of 42

Choose one answer.

What is printed by the following code?

int a = 19;
int b = 4;
int c = 3;
double x = a / b + c / 2.0;
double y = (double) (a + c) / b;
int z = (int) (x + y);
System.out.print(x + " " + y + " " + z);