
ADS live quiz
Authored by RAKHI WAJGI
Computers
University
Used 138+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
13 questions
Chap 1: What is a program made of?
Quiz
•
University
10 questions
Introduction to AI - Healthcare & Business
Quiz
•
University - Professi...
10 questions
DS Quiz1
Quiz
•
University
15 questions
Komponen Jaringan & Pengkabelan
Quiz
•
University
10 questions
Quiz 3
Quiz
•
University
13 questions
Week 2 Before Class
Quiz
•
University
13 questions
Week6-ERD-2
Quiz
•
University
10 questions
PDS - 04225 Pointers & Dynamic Arrays - Chapter 8
Quiz
•
University - Professi...
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
14 questions
Ch.3_TEACHER-led
Quiz
•
University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University