Answer the following statements true (T) or false (F)
1. Activation records are used to implement recursion.
2. A recursively written method will usually run slower and use more storage than an equivalent
iterative version.
3. A recursive method must never return a value.
4. Binary search is a divide and conquer algorithm.
5. The binary search algorithm is extremely slow compared to an algorithm that simply tries all array
elements in order.
1. True
2. True
3. False
4. True
5. False
You might also like to view...
A ________ stack or queue is implemented using linked lists.
A) dynamic B) static C) deque-based D) floating point E) None of the above
The table element is a(n) ____ element.
A. inline B. empty C. block-level D. block
Once you have decided on the chart type that best conveys your meaning, you might want to arrange your ____ so that the chart data illustrates the points you want to make.
A. values and categories B. rows and columns C. markers and legends D. plots and series
Case-Based Critical Thinking Questions ? Case 6-1 Simon is having trouble using linked workbooks, so he consults his colleague Brooke for help. ? ? After Brooke has helped Simon to resolve his original problem, Simon asks her about another linked workbook he has received. The source files for this workbook have not been included, but Simon would like to use the workbook with the most recent values from the source files. What should Brooke tell him?
A. He can open the workbook and click the Continue button in the Edit Links dialog box. B. He can open the workbook and click the Break button in the Edit Links dialog box. C. He can open the workbook and click the Change Source button in the Edit Links dialog box. D. He will not be able to use the workbook until he obtains copies of the source files.