Which of the following statements about the for loop is false?

A. It is used when a loop is to be executed a known number of times.
B. Initialization is usually done in the first expression within the statement.
C. The limit is the second expression in the statement.
D. The update may be done as the last expression in the statement or within the action body.
E. It is an event-controlled loop.


Answer: E

Computer Science & Information Technology

You might also like to view...

Why are boolean variables useful for if statements and loops?

What will be an ideal response?

Computer Science & Information Technology

Which OSI model layer picks the route packets take?

A. network B. presentation C. physical D. transport

Computer Science & Information Technology

A hashtag is a word in a tweet that is preceded by the ________ character

A) tilde B) dollar sign C) pound D) carrot

Computer Science & Information Technology

Which of the following types of cohesion is not an acceptable level?

A. procedural B. functional C. logical D. sequential E. communicational

Computer Science & Information Technology