Data Structure

Data Structure

Professional Development

13 Qs

quiz-placeholder

Similar activities

Moringa JavaScript Arrays

Moringa JavaScript Arrays

5th Grade - Professional Development

10 Qs

Quiz Collections in Java

Quiz Collections in Java

Professional Development

10 Qs

PHP & MySQL - parte 2

PHP & MySQL - parte 2

9th Grade - Professional Development

10 Qs

TCS Preparation

TCS Preparation

Professional Development

10 Qs

Emerging Tech

Emerging Tech

Professional Development

15 Qs

interface and abstract class

interface and abstract class

Professional Development

11 Qs

WCF Day-7 JDBC, Collection, List and Set

WCF Day-7 JDBC, Collection, List and Set

Professional Development

10 Qs

Frontend Summer Internship Quiz-9

Frontend Summer Internship Quiz-9

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?

Discover more resources for Professional Development