
ADS live quiz

Quiz
•
Computers
•
University
•
Medium

RAKHI WAJGI
Used 138+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
1. Consider the following singly linked list wherein each node of the linked list contains a data (integer) and a link pointing to the next node:
What would be the output of the following code if the initial call is func(head)?
void func(node * root)
{
if(!rootà link)
return;
func(rootàlink);
printf(“%d”,rootàdata);
}
20,5,15,10
10,15,5,20
20
None
2.
FILL IN THE BLANK QUESTION
10 sec • 1 pt
The preorder traversal of binary search tree is : 50,17,12,9,14,23,19,72,54,67,76. The inorder successor of 14 is .......
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The preorder traversal of a binary search tree is : 50,17,12,9,14,23,19,72,54,67,76. The number of nodes having only left child in the BST will be
0
1
2
3
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
A priority queue is implemented as a MAX-Heap. Initially it has 5 elements. The level order traversal of the heap is 10,8,5,3,2. Two new elements 1 and 7 are inserted into the heap in that order. The level order traversal of the heap after the insertion of elements is:
10,8,7,3,2,1,5
10,8,7,2,3,1,5
10,8,7,1,2,3,5
10,8,7,5,3,2,1
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
what is the postorder traversal of given tree?
7,15,17,22,27,30,45,60,75
7,22,17,27,15,45,75,60,30
7,17,27,22,15,45,75,60,30
30,15,7,22,17,27,60,45,75
6.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
Which tree is suitable for applications dealing with frequent searching?
Binary tree
AVL tree
Red-Black tree
Full binary tree
7.
MULTIPLE CHOICE QUESTION
5 sec • 1 pt
In a threaded binary tree, left thread is attached to
root node
inorder predecessor
inorder successor
preorder successor
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Data Structures and Algorithm

Quiz
•
University
14 questions
A-Level Computer Science Data Structures Quiz

Quiz
•
12th Grade - University
10 questions
tree

Quiz
•
University
15 questions
AlgoMania Quiz

Quiz
•
University
10 questions
1.4.2 Data Structures - Trees

Quiz
•
12th Grade - University
10 questions
GODOT ENGINE

Quiz
•
University
15 questions
Trees and Binary Trees

Quiz
•
University
8 questions
Exploring Binary Trees in C#

Quiz
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
15 questions
Let's Take a Poll...

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

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

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

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University