How many times will the following loop display "Looping!"?

for (int i = 20; i > 0; i--)
cout << "Looping!" << endl;

a. 20
b. 19
c. 21
d. an infinite number of times


a. 20

Computer Science & Information Technology

You might also like to view...

Avoid using the number ____ in a filename.

A. 1 B. 2 C. 4 D. 7

Computer Science & Information Technology

Case-Based Critical Thinking QuestionsCase 1-1Caroline is learning how to better gain her audience's attention. She is meeting with her co-worker Wendy, an experienced speaker, to get some ideas. Caroline shares that for her next presentation she is concerned that the audience is not all that interested in the topic. To increase their interest level, Wendy suggests that Caroline _____.

A. comment on the occasion B. mention a familiar quotation C. discuss quantitative data D. share an anecdote

Computer Science & Information Technology

Which item is not part of the primary security categories?

A. Encryption B. Detection C. Recovery D. Prevention

Computer Science & Information Technology

When performing a Web search, you type in the _____ you are looking for.

A. hits B. spider C. keywords D. bookmark

Computer Science & Information Technology