Search Header Logo

DS Model Exam-I Part A

Authored by Subha s

Computers

University

Used 6+ times

DS Model Exam-I Part A
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Heap sort is a

Fibonacci heap

Binary tree

Priority queue

FIFO

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is a max-heap?

Media Image
Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of Build Heap operation. Build Heap is used to build a max(or min) binary heap from a given array. Build Heap is used in Heap Sort as a first step for sorting ?

O(n Log n)O\left(n\ \cdot\ Log\ n\right)

O( n2 )O\left(\ n^2\ \right)

O(Log n)O\left(Log\ n\right)

O( n )O\left(\ n\ \right)

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Consider a binary max-heap implemented using an array. Which one of the following array represents a binary max-heap?

25,12,16,13,10,8,14

25,12,16,10,13,8,14

25,14,16,13,10,8,12

25,14,12,13,10,8,16

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

On average, which searching algorithm is more efficient?

Binary Search
Linear Search

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In separate chaining, what data structure is appropriate?

Singly linked list

Doubly linked list

Circular linked list

Binary trees

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a collision resolution technique?

Separate chaining

Linear probing

Quadratic probing

Hashing

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?