Linked List and Data Structures Quiz

Linked List and Data Structures Quiz

1st Grade

155 Qs

quiz-placeholder

Similar activities

160 câu trắc nghiệm (new)

160 câu trắc nghiệm (new)

1st Grade

160 Qs

COMPUTER KEYBOARD YEAR 3

COMPUTER KEYBOARD YEAR 3

1st - 5th Grade

154 Qs

Próbny

Próbny

1st Grade

157 Qs

Ôn tập tin 8 kì 1

Ôn tập tin 8 kì 1

1st - 5th Grade

154 Qs

Linked List and Data Structures Quiz

Linked List and Data Structures Quiz

Assessment

Quiz

Computers

1st Grade

Medium

Created by

Deepesh Sharma

Used 1+ times

FREE Resource

155 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a node in a singly linked list composed of?

Data, previous pointer

Data, next pointer

Only data

Only a pointer

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Insertion at the beginning of a singly linked list takes:

O(n) time

O(1) time

O(log n) time

O(n²) time

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity to insert an element at the end of a singly linked list (without a tail pointer)?

O(1)

O(n)

O(log n)

O(2n)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is an advantage of linked lists over arrays?

Random access

Fixed size

Dynamic size adjustment

Lower memory usage

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Insertion at the head

Deletion of a node given its pointer

Traversal in reverse

Searching

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the last node’s pointer set to in a circular linked list?

Null

Head node

Tail node

Random node

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a linked list type?

Singly linked

Doubly linked

Circular linked

Array-based linked

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?