Data Structures Quiz

Data Structures Quiz

University

15 Qs

quiz-placeholder

Similar activities

Quiz về n8n

Quiz về n8n

University

17 Qs

PAW.09 - DOM Javascript

PAW.09 - DOM Javascript

University

10 Qs

UTS Struktur Data

UTS Struktur Data

University

20 Qs

Multiple-Choice Quiz: Algorithms Lab 2

Multiple-Choice Quiz: Algorithms Lab 2

University

10 Qs

Quiz Struktur Data

Quiz Struktur Data

University

10 Qs

 uji coba Strategi Algoritma dan Pemrograman

uji coba Strategi Algoritma dan Pemrograman

11th Grade - University

15 Qs

DSA (Quiz 4) - Trees

DSA (Quiz 4) - Trees

University

20 Qs

Pretest Alpro Dasar

Pretest Alpro Dasar

University

20 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?