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

1. A recursive function must have at least one argument.
2. To make a recursive function trace itself, we store the function result in a local variable before returning.
3. Recursion can be used to display characters in reverse order.
4. Only recursive functions use a stack.
5. Programs that calculate factorials can only be written using recursion.


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

Computer Science & Information Technology

You might also like to view...

Text in a table can be formatted in the same manner that text in the document can be formatted

Indicate whether the statement is true or false

Computer Science & Information Technology

Text can be any letters, numbers, and symbols and Excel can use them in calculations

Indicate whether the statement is true or false

Computer Science & Information Technology

A loop that evaluates a condition before any statements in the loop are executed is referred to as a(n) ____ loop.

A. posttest B. pretest C. exit-controlled D. fixed-count

Computer Science & Information Technology

When creating a new VPN connection, what does a tunnel type of "Automatic" mean?

What will be an ideal response?

Computer Science & Information Technology