AP Computer Science Principleseasymcq1 pt
The statement x = x + 1
A.increases the value of x by one
B.is always false
C.sets x to 1
D.decreases x by one
The new value uses the old value plus one.
Aincreases the value of x by one
Practice more AP Computer Science Principles questions with full explanations
Practice Unit 3: Algorithms and Programming Questions →