Which of the following is an example of an infinite loop?

a. While 1 > 2
b. While 2 < 1
c. While 1 == 1
d. Loop 1000 times times
e. None of these


c. While 1 == 1

Computer Science & Information Technology

You might also like to view...

Answer the following statements true (T) or false (F)

1. The subscript of an array must be an integer or an integer expression. 2. The first character of a string called name is name[0]. 3. If a function has the following prototype, changes to the array parameter of the function will not change the actual array argument in the call: void doSomething(int [ ]); 4. The formal array parameter in a function represents the address of the first element in the actual array argument. 5. An array is always passed by reference.

Computer Science & Information Technology

Which of the following symbols is allowed in a file name?

A. / B. > C. _ D. |

Computer Science & Information Technology

When you insert a sound clip in a slide, the ____ tab becomes active on the ribbon.

A. Preview B. Format Audio C. Playback D. Choose Audio

Computer Science & Information Technology

Which of these training delivery methods uses a combination of tutorials, multimedia, product demonstrations, and hands-on activities?

A. Collaborative learning B. Combined training C. Case studies D. Computer-based training

Computer Science & Information Technology