Data Structures Quiz

Data Structures Quiz

University

15 Qs

quiz-placeholder

Similar activities

PAW.09 - DOM Javascript

PAW.09 - DOM Javascript

University

10 Qs

Struktur Data dan Pohon Keluarga

Struktur Data dan Pohon Keluarga

9th Grade - University

15 Qs

Quiz 3. Struktur Data

Quiz 3. Struktur Data

8th Grade - University

15 Qs

Dasar Koding dan Kecerdasan Buatan

Dasar Koding dan Kecerdasan Buatan

10th Grade - University

10 Qs

Data Structure tree and graph

Data Structure tree and graph

University

15 Qs

SURAT MASSAL MAIL MERGE

SURAT MASSAL MAIL MERGE

10th Grade - University

10 Qs

Quizz Python Intro

Quizz Python Intro

University

10 Qs

Python Challenge

Python Challenge

University

15 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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?