Linked List Quiz

Linked List Quiz

University

10 Qs

quiz-placeholder

Similar activities

GENERAL PACKET RADIO SERVICES (GPRS)

GENERAL PACKET RADIO SERVICES (GPRS)

University

15 Qs

 Circuit Theory Self Learning Activity 1

Circuit Theory Self Learning Activity 1

University

15 Qs

24EE2081 - Quiz1

24EE2081 - Quiz1

University

15 Qs

Infix to Postfix Conversion Quiz

Infix to Postfix Conversion Quiz

University

10 Qs

UAS Pemrograman Komputer dan Sistem Otomatisasi

UAS Pemrograman Komputer dan Sistem Otomatisasi

University

10 Qs

CYBERSYNAPSE

CYBERSYNAPSE

University

15 Qs

Queue Implementation Quiz

Queue Implementation Quiz

University

10 Qs

CNS Lab Viva Questions_B2 Batch

CNS Lab Viva Questions_B2 Batch

University

10 Qs

Linked List Quiz

Linked List Quiz

Assessment

Quiz

Engineering

University

Medium

Created by

Complementary Tech,Chennai

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity to insert a node at the beginning of a singly linked list (SLL)?

O(n)

O(1)

O(log n)

O(n log n)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a doubly linked list (DLL), each node contains:

Data and one pointer

Only data

Data and two pointers

Data, one pointer, and a flag

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the key disadvantage of singly linked lists over doubly linked lists?

Higher memory usage

Cannot traverse backwards

More complex insertion

Slower forward traversal

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to delete a node in a doubly linked list?

Adjust only the next pointer

Adjust only the previous pointer

Adjust both next and previous pointers of neighboring nodes

Just set the node to NULL

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is TRUE about circular linked lists?

The last node points to NULL

They can only be singly linked

The last node points to the head

They cannot store integers

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operation is generally more efficient in a doubly linked list compared to a singly linked list?

Insertion at the beginning

Traversal in forward direction

Deletion of a given node

Searching an element

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the time complexity to search for an element in a singly or doubly linked list (unsorted)?

O(1)

O(log n)

O(n)

O(n log n)

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?