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

1. A method definition that includes a call to itself is said to be recursive.
2. When a recursive call is encountered, computation is temporarily suspended; all of the information
needed to continue the computation is saved and the recursive call is evaluated.
3. A base case must include a recursive call.
4. To keep track of recursion most computer systems us a structure called a queue.
5. A stack is a last-in/first-out memory structure.


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

Computer Science & Information Technology

You might also like to view...

MC The______ method determines if a mapping has a specified key.

a) is. b) contains. c) has_key. d) None of the above.

Computer Science & Information Technology

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

1. C++ uses only /* */ for comments. 2. A program’s comments should connect the program code to the problem being solved.

Computer Science & Information Technology

The Design view icon features a pencil, a ruler, and an angle

Indicate whether the statement is true or false

Computer Science & Information Technology

The primary disadvantage of contiguous storage is that ____.

A. the file system is difficult to create, implement, and manage B. a file can be spread in small pieces throughout the storage area C. a file can't be expanded unless there is empty space available immediately following it D. the file system cannot support direct access

Computer Science & Information Technology