Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

the for statement the while statement C the do/while statement the switch statem

ID: 3581761 • Letter: T

Question

the for statement the while statement C the do/while statement the switch statement Which control statement which n best used when you know how many times to repeat the execute group of statements? The control statement which is best used when you need to choose which statements to execute from among, many choices, and the condition for selection can be expressed as some expression is not necessarily integer? The controls statements over which is best used when you want to repeat a group of statements over and over based condition and the statement in the loop body must be executed at least once is the? Use the following program SEGMENT to answer the next two questions int i, j, for (i = 2; i > = 0; i--) {for [j = 1; j

Explanation / Answer

9 .B

10. D

11.C (do-while)

12. E( 9 times) -None of those correct.

13.C (3 times)

14 False (It repeats atleast one time)

15.True

16.False

17.D( #include <fstream> )

18.A

19.D

20.A

21.A

22.A

23.C

24.B

25.C

26.A

27.B

28.B