What does it mean when we say a programmer using a function should be able to treat the function like a black box?
a) This is meaningless. One must know how a function does its job to effectively use
it.
b) One must be able to rely on the description of the preconditions (requirements for
use of the function) and the postconditions (promise of behavior to use the
function).
c) If one codes an application that uses a function with a knowledge of the internal
mechanism of that function, then when the function’s maintainer changes its
internal mechanism, the application programmer could be faced with changing the
application code extensively.
d) The most efficient programs are the ones that each function is designed to
maximally use the internal behavior of every other function to speed up the code.
b) One must be able to rely on the description of the preconditions (requirements for
use of the function) and the postconditions (promise of behavior to use the
function).
c) If one codes an application that uses a function with a knowledge of the internal
mechanism of that function, then when the function’s maintainer changes its
internal mechanism, the application programmer could be faced with changing the
application code extensively.
You might also like to view...
The use of computer forensics is sometimes used as incriminating evidence in criminal cases and is often referred to as exculpatory evidence
Indicate whether the statement is true or false.
A parity bit is an additional bit added to each character in some cases to check for errors.
a. True b. False
A wireless _______________ combines management and security into a single appliance and can perform authentication, encryption, intrusion detection, and other functions.
Fill in the blank(s) with the appropriate word(s).
Ctrl + C is used to center a selected text or object
Indicate whether the statement is true or false