Linked list

Linked list

Professional Development

10 Qs

quiz-placeholder

Similar activities

Product Quiz

Product Quiz

Professional Development

15 Qs

Accelerate Quiz 1

Accelerate Quiz 1

Professional Development

10 Qs

Cummins Student and Apprentice Programme

Cummins Student and Apprentice Programme

Professional Development

10 Qs

Principles of Language Learning

Principles of Language Learning

Professional Development

10 Qs

NASOT

NASOT

Professional Development

10 Qs

CPQ Day

CPQ Day

Professional Development

12 Qs

Quiz sobre Salud y Seguridad en el Trabajo

Quiz sobre Salud y Seguridad en el Trabajo

Professional Development

10 Qs

Jazz prepaid 1

Jazz prepaid 1

Professional Development

10 Qs

Linked list

Linked list

Assessment

Quiz

Professional Development

Professional Development

Practice Problem

Hard

Created by

Dr.S.Vidhya KGCAS

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the space complexity needed to store a linked list of n nodes?

o(1)

o(n)

o(n2)

None of the aboce

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity to insert an element to the front of a LinkedList(head pointer given)?

o(1)

o(n)

o(log n)

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following algorithms is not feasible to implement in a linked list?


Linear Search

Merge Sort

Insertion Sort

Binary Search

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following information is stored in a doubly-linked list’s nodes?

value

address of the next node

address of the previous node

all the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements are true?


Random access of elements at a linked list is not possible.

Arrays have better cache locality than linked list.

The size of linked list is dynamic and can be changed as needed.

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the worst case, the number of comparisons needed to search a singly linked list of length n for a given element will be?


O(log n)

O(n)

O(1)

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which scenario is the Linked List an excellent data structure? 

When you need to insert elements at the end of the list 

When you need to insert elements in the middle of the list 

When you need to access elements in sequential order 

When you need quick access to elements by index 

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Professional Development