Search Header Logo

MODULE-1-DATA STRUCTURES

Authored by JO-RB007 JO-RB007

Other

University

Used 20+ times

MODULE-1-DATA STRUCTURES
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The essential condition which is checked before insertion in a linked queue is?

A. Underflow
B. Overflow
C. Front value
D. Rear value

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the following rooted tree with the vertex labelled P as the root.

SQPTRWU
SQPTUWR
SQPTWUR
SQPTRUW

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose we are sorting an array of eight integers using heapsort, and we have just finished some heapify (either maxheapify or minheapify) operations. The array now looks like this: 16 14 15 10 12 27 28. How many heapify operations have been performed on root of heap?

A. 1
B. 2
C. 3 or 4
D. 5 or 6

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the number of edges present in a complete graph having n vertices?

A. (n*(n+1))/2
B. (n*(n-1))/2
C. n
D. Information given is insufficient

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If several elements are competing for the same bucket in the hash table, what is it called?

A. Diffusion
B. Replication
C. Collision
D. Duplication

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given input array elements are 8,9,2,6,1. What will be output after third pass of insertion sort?

A. 1,2,6,8,9
B. 2,6,8,9,1
C. 2,8,9,6,1
D. 2,6,8,1,9

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Write post order traversal result of the given tree

1 2 4 5 3
4 2 5 1 3
4 5 2 3 1
1 2 3 4 5

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?