Data Structures Quiz

Data Structures Quiz

University

15 Qs

quiz-placeholder

Similar activities

DSA (QUIZ 5) Priority Queue and Sorting Algorithms Quiz

DSA (QUIZ 5) Priority Queue and Sorting Algorithms Quiz

University

20 Qs

DSA (QUIZ 6) Hashing, Graphs, Advanced Graph Algorithms, and DP

DSA (QUIZ 6) Hashing, Graphs, Advanced Graph Algorithms, and DP

University

20 Qs

Arrays in CQuiz

Arrays in CQuiz

1st Grade - University

10 Qs

Refresh Python

Refresh Python

University

10 Qs

Mastering Express JS Concepts

Mastering Express JS Concepts

12th Grade - University

15 Qs

Colecciones en Java

Colecciones en Java

University

10 Qs

Quiz Informatika Genap KLs 7

Quiz Informatika Genap KLs 7

7th Grade - University

15 Qs

Link layer and LANs

Link layer and LANs

University

10 Qs

Data Structures Quiz

Data Structures Quiz

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

r d

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a disadvantage to the usage of array?

Fixed size

There are chances of wastage of memory space if elements inserted in an array are lesser than the allocated size

Insertion based on position

Accessing elements at specified positions

2.

MULTIPLE CHOICE QUESTION

15 mins • 2 pts

Which of the following is false about a doubly linked list?

We can navigate in both the directions

It requires more space than a singly linked list

The insertion and deletion of a node take a bit longer

Implementing a doubly linked list is easier than singly linked list

3.

MULTIPLE CHOICE QUESTION

15 mins • 2 pts

What is the time complexity to count the number of elements in the linked list?

O(1)

O(n)

O(logn)

O(n2)

4.

MULTIPLE CHOICE QUESTION

15 mins • 2 pts

Which of the following points is/are true about Linked List data structure when it is compared with array?

Arrays have better cache locality that can make them better in terms of performance.

It is easy to insert and delete elements in Linked List

Random access is not allowed in a typical implementation of Linked Lists

All of the above

5.

MULTIPLE CHOICE QUESTION

15 mins • 2 pts

Which of these is an application of linked lists?

To implement file systems

For separate chaining in hash-tables

o implement non-binary trees

All of the mentioned

6.

MULTIPLE CHOICE QUESTION

15 mins • 2 pts

A linear collection of data elements where the linear node is given by means of pointer is called?

linked list

node list

primitive list

None of these

7.

MULTIPLE CHOICE QUESTION

15 mins • 2 pts

How do you calculate the pointer difference in a memory efficient double linked list?

head xor tail

pointer to previous node xor pointer to next node

pointer to previous node pointer to next node

pointer to next node pointer to previous node

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?