Exam 12: Tables and Priority Queues
Exam 1: Review of Java Fundamentals60 Questions
Exam 2: Principles of Programming and Software Engineering60 Questions
Exam 3: Recursion: the Mirrors60 Questions
Exam 4: Data Abstraction: The Walls60 Questions
Exam 5: Linked Lists60 Questions
Exam 6: Problem Solving With Abstract Data Types60 Questions
Exam 7: Stacks60 Questions
Exam 8: Queues60 Questions
Exam 9: Advanced Java Topics60 Questions
Exam 10: Algorithm Efficiency and Sorting60 Questions
Exam 11: Trees60 Questions
Exam 12: Tables and Priority Queues60 Questions
Exam 13: Advanced Implementations of Tables60 Questions
Exam 14: Graphs60 Questions
Exam 15: External Methods30 Questions
Select questions type
In an unsorted array-based implementation of the ADT table,the insertion operation is ______.
(Multiple Choice)
4.8/5
(35)
Which of the following is true about a linear implementation of a table?
(Multiple Choice)
4.9/5
(38)
In a linear implementation of the priority queue based on a linked list,the item with the highest priority value is located ______.
(Multiple Choice)
4.9/5
(38)
The sorted array-based implementation of the tableInsert operation is ______.
(Multiple Choice)
4.8/5
(31)
For what kinds of situations is a linear implementation of the ADT table more efficient than a binary search tree implementation?
(Essay)
4.7/5
(41)
The mergesort is more efficient than the heapsort in the worst case.
(True/False)
4.7/5
(32)
When implementing an ADT such as a table,one design question is how often each ADT operation is to be performed.Why do we ask ourselves this question?
(Essay)
4.8/5
(35)
The first item to be removed from a priority queue is the item ______.
(Multiple Choice)
4.9/5
(45)
A binary search tree implementation of a table is a linear implementation.
(True/False)
4.9/5
(46)
If the item with a given search key does not exist in a table,the tableRetrieve operation returns ______.
(Multiple Choice)
4.9/5
(39)
The ______ operation of the ADT table throws a TableException.
(Multiple Choice)
4.9/5
(34)
The sorted reference-based implementation of the tableDelete operation is ______.
(Multiple Choice)
4.9/5
(38)
A heap in which the root contains the item with the smallest search key is called a ______.
(Multiple Choice)
4.8/5
(31)
What kind of implementation of the ADT table is appropriate for retrieval-dominated applications if the maximum size of the table is NOT known?
(Essay)
4.8/5
(41)
What is the effect of the assumption that all items in a table have distinct search keys,on the insertion operation of a table?
(Essay)
4.9/5
(32)
In an array-based implementation of a heap,the parent of the node in items[i] is always stored in ______.
(Multiple Choice)
4.7/5
(36)
Showing 41 - 60 of 60
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)