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(n) _________ is responsible for developing strategies for displaying content on a webpage.
Fill in the blank(s) with the appropriate word(s).
You've been handed a fiber with a 1.25-mm ferrule that requires a connector. What is the most commonly used connector for this ferrule size?
a. subscriber connector (SC) b. straight tip (ST) c. Mechanical Transfer-Registered Jack (MTRJ) d. local connector (LC)