Which of the following is not a good rule for programming style.

A. With a series of selection statements, code the most probable first.
B. One statement with multiple negative expressions is preferred over a series of multiple statements.
C. For human engineering reasons, code the most probable conditions first.
D. Code positive statements whenever possible.
E. Avoid compound negative statements.


Answer: B

Computer Science & Information Technology

You might also like to view...

When using __________ access, access to the data starts at the beginning of the file and proceeds through all the records to the end of the file.

a. direct b. sequential c. reading d. writing

Computer Science & Information Technology

Since inspections and audits are usually scheduled events, they are most often part of the fabric of the project plan and contract.

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

Computer Science & Information Technology

Lookup functions look up a value in a defined range of cells located in another part of the workbook to find a ________ value

Fill in the blank(s) with correct word

Computer Science & Information Technology

The fread function requires three parameters: a pointer to the input area, the number of bytes to be written, and the stream pointer.

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

Computer Science & Information Technology