AP CSA Unit-Level MCQ

Code Tracing: Primitive Expressions

Practice mode with 50 Java-focused questions, immediate answer checks, and explanations.

For practice use only.

Code Tracing: Primitive Expressions MCQ Practice

Code Tracing: Primitive Expressions AP Computer Science A topic practice with 50 original Java MCQs and immediate explanations.

Question 1 of 50

Answered 0 of 50

Choose one answer.

What is printed by this Primitive Expressions code trace?

int a = 18;
int b = 3;
int c = 5;
int d = 2;
System.out.print(a + b * c - d);