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...

The most basic element of a PowerPoint slide show is a(n) ________, similar to a page being the most basic element of Microsoft Word

Fill in the blank(s) with correct word

Computer Science & Information Technology

Terminal operations are ________; they perform the requested operation when they are called.

a. immediate b. idle c. lazy d. eager

Computer Science & Information Technology