
Data Structure

Quiz
•
Education
•
University
•
Medium
sumathi arvind
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is used to check a palindrome?
Linked List
Stack
Queue
Tree
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an AVL tree?
A tree that has utmost two children
A tree that has utmost three children
A binary search tree and height-balanced tree
A binary search tree but an unbalanced tree
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which among the following sorting algorithm is the most optimal one to sort a random linked list?
Merge sort
Insertion sort
Quick sort
Heap sort
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many edges are present in the complete graph of n vertices?
n(n-1)/2
n(n+1)/2
n
n/2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many nodes does a full binary tree with n leaves contains?
2*n - 1
2n
n
n - 1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the postfix of the expression A+B/C*(D-A)
ABCDA/-*+
+A/B*C-DA
ABC/DA-*+
+*-/ABCDA
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following numbers 8,1,2,4,3,9,6,5 to be inserted into the empty binary search tree. What will be the sequence of in-order traversal of the resultant binary search tree?
8 1 3 5 6 9 2 4
1 2 3 4 5 6 8 9
5 6 9 3 4 2 1 8
8 1 2 4 3 9 6 5
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
DAA Quiz 1

Quiz
•
University
15 questions
Basics of C and DS

Quiz
•
University
14 questions
Trees quizz

Quiz
•
University
14 questions
Lunar New Year - Group 7

Quiz
•
University
10 questions
OSG-I/O_P1

Quiz
•
University
10 questions
ADS LAB Quiz-2

Quiz
•
University
15 questions
Sorting Quiz

Quiz
•
University - Professi...
15 questions
Code Queen

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade