
me-2

Quiz
•
Computers
•
Professional Development
•
Medium
Mara Shirisha
Used 2+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the most widely used external memory data structure?
AVL Tree
B-tree
Red-black tree
Both AVL tree and Red-black tree
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the maximum height of any AVL-tree with 7 nodes? Assume that the height of a tree with a single node is 0.
2
4
3
5
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Suppose we are sorting an array of eight integers using quick sort, and we have just finished the first partitioning with the array looking like this:
2 5 1 7 9 12 11 10
The pivot could be either the 7 or the 9
The pivot could be the 7 but it is not the 9
The pivot is not the 7 but it could be the 9
neither the 7 nor the 9 is the pivot
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the maximum height of a Red-black tree with 15 nodes?
3
4
5
6
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Suppose we are sorting an array of ten integers using quick sort, and we have just finished the first partitioning with the array looking like this:
3 8 2 5 1 4 7 6 10 9
What is the position of the pivot after the first partitioning?
The pivot could be either the 5 or the 6
The pivot could be the 5 but it is not the 6
The pivot is not the 5 but it could be the 6
neither the 5 nor the 6 is the pivot
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the maximum height of any AVL-tree with 10 nodes? Assume that the height of a tree with a single node is 0.
2
3
4
5
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Suppose we are sorting an array of twelve integers using quick sort, and we have just finished the first partitioning with the array looking like this:
4 8 3 6 1 5 7 2 12 11 10 9
What is the position of the pivot after the first partitioning?
The pivot could be either the 6 or the 7
The pivot could be the 6 but it is not the 7
The pivot is not the 6 but it could be the 7
neither the 6 nor the 7 is the pivot
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quick sort uses which of the following method to implement sorting
Merging
Partitioning
Selection
exchanging
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is used to implement recursion
queue
stack
list
array
Similar Resources on Wayground
10 questions
Basic Programming Kotlin

Quiz
•
Professional Development
10 questions
[FE] Ice Breaking - Navigating the World of Variables, Spread, a

Quiz
•
Professional Development
12 questions
React/Javascript Quizz

Quiz
•
Professional Development
10 questions
Chapter 2 - FSW

Quiz
•
Professional Development
11 questions
ME ADS QUIZ

Quiz
•
Professional Development
13 questions
Strings and Arrays

Quiz
•
Professional Development
10 questions
ADS_3

Quiz
•
Professional Development
12 questions
ES6

Quiz
•
Professional Development
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