Accenture Primer
Accenture DumpmediumAccenture PrimerLooping statements

Consider you have a Rubik cube with different colors in each face. To solve this cube, you will continue to rotate the sides until you reach same colors in all faces. This is a real time example for which looping statements?

Answer options

A
While
B
Do-while
C
For
D
Nested-if
E
colours in all faces

Correct answer: While

Explanation

The source marks the correct answer as: While.

Related Accenture Accenture Primer questions

Practice more Accenture Accenture Primer questions

PrimerDumps has 1400+ primer questions, 2026 mocks and coding hands-on — all free.