

MCQOPTIONS
Saved Bookmarks
1. |
Let P be a procedure that for some inputs calls itself ( i.e. is recursive ). If P is guaranteed to terminate, which of the following statement(s) must be true?I. P has a local variablell. P has an execution path where it does not call itselfII. P either refers to a global variable or has at least one parameter |
A. | I only |
B. | II only |
C. | III only |
D. | II and III only |
Answer» E. | |