
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
Prueba Diagnostica Modulo 2

Quiz
•
Professional Development
5 questions
Python - Numpy Quiz 3

Quiz
•
University - Professi...
5 questions
M8 - Mulesoft consuming web services

Quiz
•
Professional Development
13 questions
Strings and Arrays

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

Quiz
•
Professional Development
13 questions
Repaso

Quiz
•
Professional Development
10 questions
MATLAB variables. Types. Declaration. Operations.

Quiz
•
Professional Development
10 questions
Advanced Excel

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade