An add method that encounters a full array should either signal it’s client or

a. Crash the program
b. Allocate a larger array
c. Loop back to the beginning of the array for another pass through the array
d. Merely increment the loop counter into the next area of memory


b. Allocate a larger array

Computer Science & Information Technology

You might also like to view...

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

1. The order of actions in an algorithm is irrelevant. 2. An algorithm specifies only the order in which to solve a problem. 3. Programs can be written, compiled and executed with pseudocode. 4. Pseudocode normally describes only executable statements. 5. Pseudocode helps you conceptualize a program during the design process.

Computer Science & Information Technology

The Internet2 is much faster than the Internet because it has a fiber optic backbone instead of a mixture of telephone cables and fiber optics

Indicate whether the statement is true or false

Computer Science & Information Technology

The________ data type is used for inserting pictures or charts created in another application

Fill in the blank(s) with correct word

Computer Science & Information Technology

In Windows terminology, the privileged processor mode is called ____ mode and the nonprivileged processor mode is called user mode.

A. server B. kernel C. internal D. computer

Computer Science & Information Technology