Exam 15: External Methods
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
External mergesort begins by merging sorted runs.
Free
(True/False)
4.9/5
(30)
Correct Answer:
False
What type of tree is best used for indexing external data?
Free
(Multiple Choice)
4.7/5
(42)
Correct Answer:
A
In a B-tree,the key values at each node are always in sorted order (i.e ascending or descending order).
Free
(True/False)
4.8/5
(42)
Correct Answer:
True
Let N be a node in a B-tree.If N has m subtrees S0,S1,S2,…,Sm-1,and N's key values are K1,K2,K3,…,Km-1,then which of the following statements is true?
(Multiple Choice)
4.8/5
(37)
What is the maximum number of nodes in a B tree of height 3 and degree 10?
(Essay)
4.9/5
(38)
Inserting a single key value into a B-tree can result in more than one node splitting operation.
(True/False)
4.8/5
(25)
Why is random access preferable over sequential access for supporting external tables?
(Essay)
4.9/5
(43)
In the external version of mergesort,if we begin by performing 16 sorted runs with 1 block each,what is the next step?
(Multiple Choice)
4.7/5
(39)
In a binary search tree,if a node has two children,then how many key values does the node itself contain?
(Multiple Choice)
4.8/5
(36)
If a B-tree of order 5 contains the key values 20,40,50,60,80,90 and 100,and the root contains only the key value 60,then deleting the key 20 will require us to merge the two child nodes.
(True/False)
4.8/5
(40)
When deleting a key value from a B-tree,what happens if this results in its node becoming empty?
(Multiple Choice)
4.7/5
(32)
How does a search of a key value in a B-tree differ from a search in a binary search tree?
(Essay)
4.8/5
(39)
What is the advantage of using a B-tree instead of a 2-3 tree for indexing external data?
(Essay)
4.7/5
(40)
Which ADT operation(s)on an external file require us to transfer information to/from internal memory?
(Multiple Choice)
4.9/5
(34)
Mergesort requires us to store the entire array of key values in internal memory before we can begin the merge operation.
(True/False)
4.7/5
(42)
Which of the following information is not necessary in order to perform (i.e.invoke)a readBlock operation?
(Multiple Choice)
4.9/5
(46)
An index file consists of index records.An index records consists of two parts: a key and a ______.
(Multiple Choice)
4.8/5
(26)
Random access file organization behaves like a linked list in the way we access its data.
(True/False)
4.9/5
(39)
Showing 1 - 20 of 30
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)