Exam 11: Recursion
Exam 1: Getting Started45 Questions
Exam 2: Console Input and Output29 Questions
Exam 3: Flow of Control44 Questions
Exam 4: Defining Classes I45 Questions
Exam 5: Defining Classes II46 Questions
Exam 6: Arrays46 Questions
Exam 7: Inheritance43 Questions
Exam 8: Polymorphism and Abstract Classes43 Questions
Exam 9: Exception Handling45 Questions
Exam 10: File IO46 Questions
Exam 11: Recursion44 Questions
Exam 12: Uml and Patterns22 Questions
Exam 13: Interfaces and Inner Classes32 Questions
Exam 14: Generics and the Arraylist Class32 Questions
Exam 15: Linked Data Structures43 Questions
Exam 16: Collections,maps,and Iterators44 Questions
Exam 17: Swing I37 Questions
Exam 18: Swing II31 Questions
Exam 19: Java Never Ends26 Questions
Exam 20: Applets25 Questions
Select questions type
What are the criteria you must consider when formulating a recursive solution?
(Essay)
4.7/5
(29)
What are two factors that contribute to the inefficiency of some recursive solutions?
(Essay)
4.7/5
(43)
To keep track of recursion most computer systems us a structure called a queue.
(True/False)
5.0/5
(39)
The binary search algorithm has worst-case running time that is logarithmic.
(True/False)
4.9/5
(36)
A method definition that includes a call to itself is said to be recursive.
(True/False)
4.8/5
(41)
During recursion,if the stack attempts to grow beyond its limit,a _____________ occurs.
(Multiple Choice)
4.8/5
(32)
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.
(True/False)
4.8/5
(44)
Regarding recursion,if a base case is never reached the result is:
(Multiple Choice)
4.8/5
(40)
Showing 21 - 40 of 44
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)