Answer the following statements true (T) or false (F)
1. In a recursive solution, the base case is always the first case to be called.
2. Indirect recursion means that a function calls itself n number of times and then processing of the function starts from the first call.
3. A recursive function cannot call another function.
4. Recursive algorithms are less efficient than iterative algorithms.
1. F
2. F
3. F
4. T
Computer Science & Information Technology
You might also like to view...
Which of the following is NOT a way that surge protectors prevent damage from severe surges?
A) Prevent electricity from exiting to your plugged in electronics B) Burn out the backup fuse C) Trip an alarm D) Pass excess current to a ground wire
Computer Science & Information Technology
ROM is a type of secondary storage
Indicate whether the statement is true or false
Computer Science & Information Technology