Data Structure

Data Structure

Professional Development

13 Qs

quiz-placeholder

Similar activities

Designing Data Model in Power BI

Designing Data Model in Power BI

Professional Development

10 Qs

Java Collections Dr LJK

Java Collections Dr LJK

Professional Development

10 Qs

Nodejs: Database

Nodejs: Database

Professional Development

10 Qs

Blockchain Fundamentals Quiz

Blockchain Fundamentals Quiz

Professional Development

15 Qs

Blockchain Basics: Algorithms

Blockchain Basics: Algorithms

University - Professional Development

9 Qs

[FAST TRACK] Android Class Quiz week 05 12/05

[FAST TRACK] Android Class Quiz week 05 12/05

Professional Development

15 Qs

Object & Array in Javascript

Object & Array in Javascript

Professional Development

9 Qs

Collections, JDBC/RDBMS

Collections, JDBC/RDBMS

Professional Development

10 Qs

Data Structure

Data Structure

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Assistant Chennai

Used 46+ times

FREE Resource

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

1. What is a hash table?

a) A structure that maps values to keys

b) A structure that maps keys to values

c) A structure used for storage

d) A structure used to implement stack and queue

2.

MULTIPLE CHOICE QUESTION

10 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

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is direct addressing?

a) Distinct array position for every possible key

b) Fewer array positions than keys

c) Fewer keys than array positions

d) Same array position for all keys

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the search complexity in direct addressing?

a) O(n)

b) O(logn)

c) O(nlogn)

d) O(1)

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a hash function?

a) A function has allocated memory to keys

b) A function that computes the location of the key in the array

c) A function that creates an array

d) A function that computes the location of the values in the array

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not a technique to avoid a collision?

a) Make the hash function appear random

b) Use the chaining method

c) Use uniform hashing

d) Increasing hash table size

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

7. What is the load factor?

a) Average array size

b) Average key size

c) Average chain length

d) Average hash table length

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?