Free Version
Easy

# Calculations in Repeat Until Loop - x Mod 2

APCSP-OHJE7E

Consider the following code:


REPEAT UNTIL (x MOD 2 = 0)
{x ← x + 3}


Assume that $x$ is 7. How many times will the loop iterate?

A

It will not iterate at all.

B

1

C

2

D

3