Search Header Logo

U24AD4201_PDS_Assignment 2

Authored by Balakiruba Jayabal

Other

Professional Development

Used 3+ times

U24AD4201_PDS_Assignment 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a collision in hashing?

When two keys map to the same hash value

When a key is not found

When data is corrupted

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary disadvantage of chaining for collision resolution?

Increased memory usage

Slow retrieval times

Complexity

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a hash function?

To encrypt data

To create a unique index for a given key

To sort data

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main use of a hash table in data structures?

To sort data

To store elements in a hierarchical order

To store key-value pairs for fast retrieval

To compress data

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an AVL tree?

A tree which is balanced and is a height balanced tree

A tree which is unbalanced and is a height balanced tree

A tree with three children

A tree with at most 3 children

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we need a binary tree which is height balanced?

To avoid formation of skew trees

To save memory

To attain faster memory access

To simplify storing

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following given tree is an example for?

Binary tree

Binary search tree

Fibonacci tree

none

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?