4) Algorithms should:
A) be written to solve one specific case
B) use resources efficiently
C) only be clear to the algorithm designer
D) be ambiguous to allow creativity
5) Which of the following is an example of definiteness?
A) Add and multiply values A, B, and C to obtain the result.
B) Add A and B. Divide the sum by C. If C = 0, the solution is “undefined.”
C) Use multiplication and addition operations to solve the problem.
D) All of the above
6) Different algorithms for the same problem can:
A) solve the same problem differently
B) take different amounts of processing time
C) mean that one algorithm is preferred over others
D) all of the above
7) The intersect of an alphabetized list (IAL) and the No Alphabetized Lists (NAL) are different
solutions because they:
A) require different forms of the input
B) rely on the characteristics of the input
C) have different running times
D) all of the above
8) The correct order from lowest to highest level of detail of the same program is:
A) assembly language, programming language, and binary
B) programming language, assembly language, and binary
C) binary, assembly language, and programming language
D) binary, programming language, and assembly language
9) Instruction sequences that repeat are called:
A) loops
B) assumptions
C) tests
D) sorting