?

AP® Computer Science Principles

Free Version

Upgrade subject to access all content

Moderate

Evaluating Expressions

APCSP-AG1QEP

Assume that $a$ is 12, $b$ is 6, and $c$ is 8. Which of the following expressions would have the value of 2 given these variables?

Select TWO answers.

A

c MOD b

B

[c / (a + c)] * b

C

[(a * b) / c ] MOD 7

D

[a*b*c] MOD 2