Which of the following is not an error (either a syntax error or a logic error)?

a. Neglecting to include an action in the body of a while statement that will eventually cause the condition to become false.
b. Spelling a keyword (such as while or if) with a capitalized first letter.
c. Using a condition for a while statement that is initially false.
d. An infinite loop.


C

Computer Science & Information Technology

You might also like to view...

When an object or structure variable is passed to a function as a constant reference

A) the function accesses the original object, rather than a copy of it. B) the function cannot make any changes to the member variables. C) it is more efficient than passing it by value. D) all of the above are true. E) A and B are true, but not C.

Computer Science & Information Technology

The Callable interface (of package java.util.concurrent) declares a single method named call that allows a task to return a value.

a. call b. execute c. invoke d. None of the above.

Computer Science & Information Technology

The Compatibility Checker looks for objects that are not supported in the current version of PowerPoint

Indicate whether the statement is true or false

Computer Science & Information Technology

The summary of changes in the Reviewing Pane shows only insertions and deletions.

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

Computer Science & Information Technology