
Data Structures Quiz
Authored by r d
Information Technology (IT)
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?