cs102-1

cs102-1

University

49 Qs

quiz-placeholder

Similar activities

CS8391 - Data Structure  - IAT I

CS8391 - Data Structure - IAT I

University

50 Qs

CSI104 - part 1

CSI104 - part 1

University

50 Qs

QuizBuzz

QuizBuzz

University

45 Qs

Section 3: Scheduling (11-16)

Section 3: Scheduling (11-16)

University

44 Qs

FDS-MCQ(MODEL-II)

FDS-MCQ(MODEL-II)

University

45 Qs

NPTEL-CLOUD COMPUTING-PRACTICE TEST-2

NPTEL-CLOUD COMPUTING-PRACTICE TEST-2

University

50 Qs

Data Structures -Quiz- I B.Sc. AI & ML

Data Structures -Quiz- I B.Sc. AI & ML

University

50 Qs

Design and Analysis of Algorithms [5th Sem BCA]

Design and Analysis of Algorithms [5th Sem BCA]

University

45 Qs

cs102-1

cs102-1

Assessment

Quiz

Computers

University

Hard

Created by

Zero Zodiac

FREE Resource

49 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An L-1 (L negative 1) case occurs when the deleted node is in the left subtree of the closest imbalanced ancestor and the balanced factor of the right child of the ancestor is -1​. What is the solution to this rotational case?
double rotate starting with a left rotate followed by a right rotate
double rotate starting with a right rotate followed by a left rotate
single left rotate
single right rotate

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An L1 case occurs when the deleted node is in the left subtree of the closest imbalanced ancestor and the balanced factor of the right child of the ancestor is 1.​ What is the solution to this rotational case?
double rotate starting with a left rotate followed by a right rotate
double rotate starting with a right rotate followed by a left rotate
single left rotate
single right rotate

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An R-1 (R negative 1) case occurs when the deleted node is in the right subtree of the closest imbalanced ancestor and the balanced factor of the left child of the ancestor is -1.​ What is the solution to this rotational case?
double rotate starting with a left rotate followed by a right rotate
double rotate starting with a right rotate followed by a left rotate
single left rotate
single right rotate

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Applying Bubble Sort in this given list: 120, 90, 30, 200, 150, 40, 20. What will be the resulting list after the third pass?
30 - 90 - 40 - 20 - 120 - 150 - 200
30 - 40 - 20 - 90 - 120 - 150 - 200
20 - 30 - 90 - 40 - 120 - 150 - 200
30 - 90 - 40 - 120 - 20 - 150 - 200

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Applying Bubble Sort in this given list: 120, 90, 30, 200, 150. How many passes will be needed before the algorithm stops?
3
2
4
5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Applying Insertion Sort in this given list: 120, 90, 30, 200, 150. How many passes or iterations will be needed before the algorithm stops?
3
2
4
5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Applying Selection Sort in this given list: 120, 90, 30, 200, 150. How many passes or iterations will be needed before the algorithm stops?
3
2
4
5

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?