Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
Match the term with each definition:
In a binary tree, the left child (if any) of a node plus its descendants
|
|
|
The number of nodes on the longest path from the root to a leaf
|
|
A node on a path from a node to a leaf
|
|
Set of nodes, T, such that either T is empty or T is partitioned into three disjoint sets (a single node r, called the root, and two (possibly empty) sets that are binary trees, called left and right subtrees of T).
|
|
A binary tree such that for any given data item, x, in the tree, every node in the left subtree of x contains only items less than x. Every node in the right subtree of x contain only items greater than x.
|
|
Nodes which have the same parent
|
|
A node on the path from the root to a node
|
|
A node directly "above" a node in the tree
|
|
The node in a tree that has no parent
|
|
If the node is the root, then the value is one. Otherwise, it's the value of one greater than the value of its parent
|
|
A tree with the maximum difference in height of one between any two subtrees of a node
|
|
A tree that consists of a node and its descendants (if any)
|
|
A node directly "below" a node in the tree
|
|
A binary tree which has all possible nodes in the last level
|
|
A node directly "below" and to the left of a node in a binary tree
|
|
A node that has no children
|
|
A set of one or more nodes, partitioned into a root node and subsets that are general subtrees of the root
|
|
A binary tree with no nodes
|
|
A tree which has all possible nodes down to the second to last level, with the last level filled in from left to right
|
Question 1 options:
1. |
Ancestor
|
2. |
Balanced binary tree
|
3. |
Binary search tree
|
4. |
Binary tree
|
5. |
Child
|
6. |
Complete binary tree
|
7. |
Descendant
|
8. |
Empty binary tree
|
9. |
Full binary tree
|
10. |
General tree
|
11. |
Height
|
12. |
Leaf
|
13. |
Left child
|
14. |
Left subtree
|
15. |
Level
|
16. |
Parent
|
17. |
Root
|
18. |
Siblings
|
19. |
Subtree
|
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 3 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Rewrite the definition of the function searchNode of the class B-tree provided (bTree.h) by using a binary search. Write a C++ code to ask the user to enter a list of positive integers ending with -999, build a b- tree of order 5 using the positive integers, and display the tree contents. Also, ask the user to enter a number to search and display if the number is found in the tree. bTree.harrow_forwardCreate a function that checks whether a binary tree is balanced. For the sake of this issue, a balanced tree is one in which the heights of the two subtrees of each node never deviate by more than one.arrow_forwardPlease show steps clearlyarrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education