
Data Structures Quiz

Quiz
•
Information Technology (IT)
•
University
•
Hard
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
Similar Resources on Wayground
18 questions
Codean - Java Rekursi

Quiz
•
University
10 questions
Berpikir Komputasional (BK)

Quiz
•
8th Grade - University
20 questions
Pretest Alpro Dasar

Quiz
•
University
12 questions
Konteynerlar (C++)

Quiz
•
University
10 questions
Quiz Struktur Data

Quiz
•
University
15 questions
uji coba Strategi Algoritma dan Pemrograman

Quiz
•
11th Grade - University
20 questions
DSA (Quiz 4) - Trees

Quiz
•
University
12 questions
Data Struct - S1_Array & Pointer

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade