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...
The sound icon that appears when a sound effect is inserted into a slide is an image of a(n) ________
A) house B) megaphone C) movie camera D) right arrow
Computer Science & Information Technology
Worms are a type of malicious software that can spread from one computer to another.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology