Exam 4: Stacks and Queues
Exam 1: Object-Oriented Programming and Class Hierarchies41 Questions
Exam 2: Lists and the Collections Framework35 Questions
Exam 3: Testing and Debugging25 Questions
Exam 4: Stacks and Queues28 Questions
Exam 5: Recursion25 Questions
Exam 6: Trees25 Questions
Exam 7: Sets and Maps27 Questions
Exam 8: Sorting25 Questions
Exam 9: Self-Balancing Search Trees28 Questions
Exam 10: Graphs25 Questions
Exam 11: Introduction to Java25 Questions
Exam 12: Overview of UML25 Questions
Select questions type
Two Java Collection classes that implement the Deque are ________________ and ________________.
(Short Answer)
4.8/5
(40)
If a non-circular array is used to implement a queue, insertion at the front is a(n) ____ operation instead of O(1).
(Short Answer)
4.8/5
(38)
The EmptyQueueException is associated with the action of attempting to remove an item from an empty queue.
(True/False)
4.7/5
(44)
In Java 6.0, the Deque ________________ represents a __________________ queue.
(Short Answer)
4.8/5
(42)
The ____________________ method creates a Random object when it is first called. It then uses that object's nextDouble method to return a random number in the range 0 to 1.
(Short Answer)
4.8/5
(37)
Showing 21 - 28 of 28
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)