?

AP® Computer Science Principles

Free Version

Upgrade subject to access all content

Easy

Calculations in Repeat Until Loop - X>50

APCSP-G6MMXE

Consider the following code:

    REPEAT UNTIL (x > 50)
        {x ← x * 2}

Assume that x is 1. What will x be after the above loop?

A

64

B

100

C

32

D

250