Which of the following statements are true?

A. Recursive functions run faster than non-recursive functions.
B. Recursive functions usually takes more memory space than non-recursive functions.
C. In some cases, however, using recursion enables you to give a natural, straightforward, simple solution to a program that would otherwise be difficult to solve.
D. A recursive function can always be replaced by a non-recursive function.


D. A recursive function can always be replaced by a non-recursive function.

Computer Science & Information Technology

You might also like to view...

You connect or link strings using the ____ operator, which is the ampersand (&).

A. join B. connect C. concatenation D. link

Computer Science & Information Technology

A ____ is an electronic path over which data can travel.

A. bus B. lane C. word D. cache memory

Computer Science & Information Technology

Which of the following types of RAM can be used in a dual channel configuration?

A. SDRAM B. RAMBUS C. DDR D. DIMM

Computer Science & Information Technology

A compound statement is a unit of code consisting of zero or more statements.

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

Computer Science & Information Technology