PrepAway - Latest Free Exam Questions & Answers

Which looping structure should you use?

You are creating a routine that will perform calculations by using a repetition structure. You
need to ensure that the entire loop executes at least once.
Which looping structure should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
For-Each

B.
For

C.
While

D.
Do-While

Explanation:
In a Do..While loop the test is at the end of the structure, so it will be executed at least once.


Leave a Reply