Threaded Binary Tree

Threaded Binary Tree

University

10 Qs

quiz-placeholder

Similar activities

Idioms Unveiled: Understanding Everyday Expressions

Idioms Unveiled: Understanding Everyday Expressions

4th Grade - University

15 Qs

Quiz Master's 2.0

Quiz Master's 2.0

University

15 Qs

DAY 31 WORKSHEET KWA - (Threading and Fasteners)

DAY 31 WORKSHEET KWA - (Threading and Fasteners)

1st Grade - University

15 Qs

Quiz on Adders and Multipliers

Quiz on Adders and Multipliers

University

6 Qs

Quiz 2 - Search

Quiz 2 - Search

University

12 Qs

Combinational and Sequential Circuits Quiz

Combinational and Sequential Circuits Quiz

University

10 Qs

Remedial 1

Remedial 1

University

10 Qs

Python Files

Python Files

University

15 Qs

Threaded Binary Tree

Threaded Binary Tree

Assessment

Quiz

Engineering

University

Practice Problem

Medium

Created by

Moushmee Kuri

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?