Answer the following statements true (T) or false (F)

1. If the stopping condition for a recursive function is missing or incorrect, the compiler will detect this error.
2. A recursive function may only be used to solve mathematical problems.
3. A "stack overflow" error often indicates that a recursive function is not terminating.
4. A recursive function is, by its nature, always more efficient than its iterative version.
5. A typical recursive solution will break a problem of size n into n/2 problems of size n - 1.



1. False
2. False
3. True
4. False
5. False

Computer Science & Information Technology

You might also like to view...

____________________ view resembles a standard monthly calendar page.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A heading style is a set of formatting characteristics that can be used to quickly format selected text

Indicate whether the statement is true or false

Computer Science & Information Technology

Some operating systems such as Apple Mac OSX provide a colored _____ to indicate a specific type of problem

Fill in the blank(s) with correct word

Computer Science & Information Technology

One step you should take to keep your operating system current is to enable ________.

a. automatic system updates b. an off-site storage area c. troubleshooting d. an uninterruptable power supply

Computer Science & Information Technology