Correct Answer
verified
View Answer
Multiple Choice
A) 0
B) -1
C) 5
D) -5
Correct Answer
verified
Multiple Choice
A) 0
B) 2
C) 4
D) 8
E) infinite recursion
Correct Answer
verified
Essay
Correct Answer
verified
Multiple Choice
A) all stopping cases are correct
B) all recursive calls lead to one of the stopping cases
C) for each case that involves recursion, that case returns the correct value provided all recursive calls in that case return the correct value.
D) all of the above
E) none of the above
Correct Answer
verified
Multiple Choice
A) stack underflow
B) activation overflow
C) stack overflow
D) syntax error
Correct Answer
verified
Multiple Choice
A) 0
B) 2
C) 4
D) 8
E) infinite recursion
Correct Answer
verified
Multiple Choice
A) Activity frame
B) Activity record
C) program
D) Activation frame
Correct Answer
verified
Multiple Choice
A) infinite recursion
B) the stopping condition is wrong
C) the recursive call is wrong
D) nothing
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Short Answer
Correct Answer
verified
Multiple Choice
A) 8
B) 5
C) 2
D) 1
Correct Answer
verified
Multiple Choice
A) infinite recursion
B) the stopping condition is wrong
C) the recursive call is wrong
D) nothing
Correct Answer
verified
Multiple Choice
A) find all the stopping cases and the values if needed at that case
B) find a recursive call that will lead towards one of the stopping cases
C) all of the above
D) none of the above
Correct Answer
verified
Multiple Choice
A) 2
B) 3
C) -1
D) 6
Correct Answer
verified
Multiple Choice
A) 0
B) 1
C) 2
D) 3
Correct Answer
verified
Multiple Choice
A) n<1
B) n==0
C) n==1
D) none of the above
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) factn) *n;
B) factn-1) *n;
C) n-1) *factn)
D) factn-2) *n-1)
Correct Answer
verified
Showing 1 - 20 of 48
Related Exams