Data Structure Link List

Data Structure Link List

University

20 Qs

quiz-placeholder

Similar activities

RECAP QUIZ (ELTE101)

RECAP QUIZ (ELTE101)

University

15 Qs

Elision & Linking

Elision & Linking

University

15 Qs

VOCABULARIO 2

VOCABULARIO 2

3rd Grade - Professional Development

18 Qs

Data Structure

Data Structure

University

15 Qs

Comunidades Virtuales en Internet

Comunidades Virtuales en Internet

University

15 Qs

NCUK - Quiz Time (Season 01)

NCUK - Quiz Time (Season 01)

University

25 Qs

Quiz wiedzy o Marii Dąbrowskiej

Quiz wiedzy o Marii Dąbrowskiej

KG - University

20 Qs

Basics of C and DS

Basics of C and DS

University

15 Qs

Data Structure Link List

Data Structure Link List

Assessment

Quiz

Education

University

Hard

Created by

Dr. Kavita Sharma

Used 11+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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 Lis

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

All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Minimum number of fields in each node of a doubly linked list is

2

3

4

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The elements of a linked list are stored

In a structure

In an array

Anywhere the computer has space for them

In contiguous memory locations

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of inserting an element at the beginning of a linked list?

O(1)

O(n)

O(log n)

O(n^2)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a disadvantage of using a doubly linked list?

It requires more memory than a singly linked list

It is more difficult to implement

It does not allow for traversal in both directions

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the space complexity of a linked list?

O(1)

O(n)

O(log n)

O(n^2)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main advantage of using a circular linked list?

It allows for traversal in both directions

It requires less memory than a singly linked list

It is easier to implement

None of the above

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?