Give an advantage and a disadvantage of using containment in the implementationof the class SortedListHasA.
What will be an ideal response?
Advantage: It is easier to write because the underlying list does most of the work and has been debugged.
Disadvantage: It is less efficient than an implementation that does not call and is not restricted to the methods of the ADT list.
You might also like to view...
A call to a C++ function is
a) The name of the function followed by empty parentheses. b) The name of the function followed by any number of arguments, regardless of the number of parameters in the definition. c) The name of the function followed by a number of arguments not greater than the number of parameters in the definition. d) The name of the function followed by exactly the number of arguments as there are parameters in the definition. e) The name of the function only.
A security audit tests to ensure that the proper ____ and procedures are in place to handle a potential vulnerability.
A. people B. resources C. policies D. logs
The analysis and prioritization of the business functions within the organization's departments, sections, divisions, groups, or other units to determine which are most vital to continued operations is called ____.
A. an attack profile B. business unit analysis C. assessment of potential damage D. business impact analysis
When a row of data is to be converted into columns Select one:
A. Copy the cells in row, select the same number of cells in row and paste B. Select the cells then place the cell pointer on new cell and choose Edit >> Paste Special, mark Transpose check box and click OK. C. Copy the cells then go to Format >> Cells then on Alignment tab click Transpose check box and click OK D. Copy the cells in column then choose Edit >> Paste Special, then click Transpose and OK