Understanding Linked Lists

Understanding Linked Lists

9th Grade

25 Qs

quiz-placeholder

Similar activities

R081 LO1

R081 LO1

9th Grade

30 Qs

IGCSE ICT: Networking 1

IGCSE ICT: Networking 1

9th - 10th Grade

20 Qs

Second Quarter Assessment

Second Quarter Assessment

9th Grade

20 Qs

Struktur Data Graf dan Tree

Struktur Data Graf dan Tree

9th Grade

30 Qs

iGCSE Computer Science: Networks

iGCSE Computer Science: Networks

9th - 12th Grade

24 Qs

Network Topologies (Mr I's) [OCR 1.5 - Networks)

Network Topologies (Mr I's) [OCR 1.5 - Networks)

9th - 11th Grade

27 Qs

AQA GCSE Computer Science - 3.2.6 Data structures

AQA GCSE Computer Science - 3.2.6 Data structures

8th - 10th Grade

20 Qs

Low Stakes 1 HT 6

Low Stakes 1 HT 6

1st - 9th Grade

21 Qs

Understanding Linked Lists

Understanding Linked Lists

Assessment

Quiz

Computers

9th Grade

Easy

Created by

Myra Deister

Used 3+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill in the Blank: Fill in the blank with the correct words. A linked list is composed of elements called _____________. Word bank: next, null, previous, addFirst, nodes.

nodes

next

null

previous

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill in the Blank: Fill in the blank with the correct words. Each node in a linked list contains an element and a _____________ to the next node. Word bank: next, null, previous, addFirst, nodes.

pointer

next

null

previous

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill in the Blank: Fill in the blank with the correct words. The reference to the last node in a linked list is often a _____________ reference. Word bank: next, null, previous, addFirst, nodes.

null

next

previous

addFirst

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Adding a new node to the beginning of a singly linked list uses the _____________ method.

addFirst

addLast

insertAfter

removeFirst

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill in the blank with the correct words. In a doubly-linked list, each node has references to both the next and _____________ nodes.

previous

next

first

last

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a primary advantage of using a linked list over an array?

Faster random access

Memory conservation

Easier to implement

Always faster operations

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes a doubly-linked list?

A) Each node has a reference to the next node only

B) Each node has references to both the next and previous nodes

C) It is a static data structure

D) It cannot be traversed in reverse

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?