A(n) __________occurs when a loop executes for one more or one less iteration than is intended.

a) infinite loop
b) counter-controlled loop
c) off-by-one error
d) nested control statement


c) off-by-one error

Computer Science & Information Technology

You might also like to view...

Which of the following defines an array of C-strings that will hold 49 characters and the null terminator?

a. char [49]; b. char str[50]; c. char[50] str; d. character str[50]; e. None of these

Computer Science & Information Technology

The ________ option under Insert Table enables you to create a customized table by first drawing the outside boundaries of the table, and then creating the rows and columns within the table borders

A) Insert Table B) Draw Table C) Import Template D) Grid Structure

Computer Science & Information Technology

An unstructured, "natural language" writing style should never be used for writing algorithms.

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

Computer Science & Information Technology

The two fundamental types of errors that can arise when coding a program are:

a. logic and testing errors b. logic and syntax errors c. syntax and testing errors d. coding and testing errors

Computer Science & Information Technology