
Exploring Trees and Graphs
Authored by Shakshi ranawat
Computers
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What distinguishes a complete binary tree from a regular binary tree?
A complete binary tree is always balanced in height.
A complete binary tree is fully filled at all levels except possibly the last, while a regular binary tree can have varying structures.
A complete binary tree can have any number of children per node.
A complete binary tree has nodes only on the left side.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the concept of a binary search tree.
A binary search tree is a data structure that only allows duplicate values in the left child.
A binary search tree is a linear data structure where each node can have any number of children.
A binary search tree is a type of graph where nodes are connected in a circular manner.
A binary search tree is a hierarchical data structure where each node has at most two children, with the left child containing values less than the node and the right child containing values greater.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a heap in the context of trees?
A heap is a database management system used for storing large datasets.
A heap is a tree-based data structure that satisfies the heap property, allowing efficient access to the maximum or minimum element.
A heap is a type of graph that represents relationships between nodes.
A heap is a linear data structure that stores elements in a sorted order.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Define the term 'root' in a tree structure.
The root is any node in a tree structure.
The root is the node with the highest value in a tree structure.
The root is the topmost node in a tree structure.
The root is the last node in a tree structure.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the degree of a node?
The degree of a node is the total number of nodes in the graph.
The degree of a node is the number of edges connected to it.
The degree of a node is the average distance to other nodes.
The degree of a node is its value in the graph.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Differentiate between terminal nodes and non-terminal nodes.
Both terminal and non-terminal nodes are leaf nodes.
Terminal nodes are always at the top of a tree; non-terminal nodes are at the bottom.
Terminal nodes are leaf nodes with no children; non-terminal nodes are internal nodes with children.
Terminal nodes can have children; non-terminal nodes cannot.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are siblings in a tree?
Nodes that share the same parent in a tree.
Nodes that are at the same level in a tree.
Nodes that are connected by a direct edge in a tree.
Nodes that share the same grandparent in a tree.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
DWDM-2
Quiz
•
University
20 questions
Kiến thức về Thuật toán và Chương trình
Quiz
•
8th Grade - University
20 questions
Artificial Intelligence CT-1
Quiz
•
University
20 questions
Micro Arch - CPUs & Fetch-Execute
Quiz
•
University
20 questions
Cloud Review Quiz
Quiz
•
University
20 questions
literatura
Quiz
•
University
20 questions
Python Recap
Quiz
•
7th Grade - University
20 questions
Chapter 3: Strategic Initiatives for implementing CA
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade