Threaded Binary Tree

Quiz
•
Engineering
•
University
•
Medium
Moushmee Kuri
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How are Threads typically implemented?
Using a separate thread array
By overloading pointer fields with flags
Storing thread IDs in nodes
Via external hash table
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The inorder predecessor of a node in a right threaded binary tree can be found by:
following the left thread
Traversing the left subtree
following the right thread
checking the parent pointer
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which traversal in a threaded binary tree does NOT require a stack or recursion?
Level-Order Traversal
Preorder Traversal
Inorder Traversal
Postorder Traversal
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a threaded binary tree , a thread is a:
Pointer to the root node
Pointer to the child node
Pointer to the ancestor node
Pointer to the inorder successor/predecessor
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the advantage of a threaded binary tree over a standard binary tree?
Faster insertion and deletion
No need for extra memory fro stack/recursion in traversal
Better balancing of tree
Reduced height of the tree
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of treaded binary tree contains thread only for NULL right pointer?
Fullu Threaded
Single Threaded(Left)
Double Threaded
Single Threaded(Right)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a double threaded binary tree, threads are used to point to
Only left children
Only right children
Both inorder successor and predecessor
Parent nodes
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
TECH WHIZ

Quiz
•
University
10 questions
Exploring the 8086 Microprocessor

Quiz
•
University
15 questions
Number Systems and Boolean Algebra

Quiz
•
University
15 questions
Digital Electronics Quiz -U1-U2

Quiz
•
University
10 questions
Unit1-MPMC

Quiz
•
University
11 questions
Chapter 15 - Powder Metallurgy

Quiz
•
University
14 questions
NLP Quizz Unit-3

Quiz
•
University
10 questions
BASIS MPC

Quiz
•
University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Engineering
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
12 questions
Civil War

Quiz
•
8th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
19 questions
Primary v. Secondary Sources

Quiz
•
6th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
20 questions
Disney Trivia

Quiz
•
University