aımnova
DashboardMy LearningCrash CoursesStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Crash Courses
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Teachers
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aımnova

IB study, practice and feedback built around the real exam.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.c1e448f

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesComputer Science HLTopic 8.1Evaluating linked lists
Back to Computer Science HL Topics
8.1.25 min read

Evaluating linked lists (Computer Science HL)

IB Computer Science · Unit 8

Your first topic is free to keep

Know exactly what to write for full marks

Practice with exam questions and get AI feedback that shows you the perfect answer — what examiners want to see.

Start Free

Contents

  1. 1Nodes that point at each other
  2. 2The three kinds
  3. 3What it buys and what it costs
  4. 4Exam-style question
The big idea: A linked list stores each value in its own node, and each node holds a reference to the next one.

Nothing has to sit next to anything else in memory. The order lives in the references, not in the addresses.

Step through to the insert scenes: four elements shifting in the array against two references changing in the list.

Interactive diagram

Explore the labelled diagram, charts and maps for this topic in full study mode.

Claim your free topic

Asked to sketch a linked list after an insertion or deletion? Draw every node as a box with a data part and a pointer part, and draw the pointers as arrows. Change pointers in this order:

A singly linked list with a new node inserted between two nodes
Insertion: new node first points forward, then its predecessor points to it.
A singly linked list with a pointer arcing over a deleted node
Deletion: the predecessor skips the node. Traversal and search follow the arrows from the head.

Free preview

This is the free notes preview

You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:

  • FlashcardsLock in vocabulary and key terms with spaced repetition.
  • Practice questionsAnswer exam-style questions and get instant AI marking.
  • Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
  • Personalised study planA daily plan built around your exam date and weak areas.
Start Studying Free Full access to Aimnova Pro · cancel anytime

Singly linked

  • Each node points forwards only
  • Traversal runs one way, from the head
  • Smallest memory — one reference per node
  • To delete a node you must already hold the one before it

Doubly linked

  • Each node points forwards and backwards
  • Traversal runs either way; deletion needs only the node itself
  • Two references per node — more memory
  • Two links to update on every insertion and deletion

Circular

  • The last node points back to the first
  • There is no null end — traversal can loop forever
  • Suits round-robin turn-taking and buffers
  • Needs a stopping rule, or the loop never terminates
The circular trap: A circular list has no null to stop at. A traversal written the usual way — "while current is not null" — runs forever.

Stop when you return to the node you started at, and say so in an exam answer.

Never wonder what to study next

Get a personalized daily plan based on your exam date, progress, and weak areas. We'll tell you exactly what to review each day.

Try Free Study PlanYour first topic is free to keep • No credit card required
OperationArrayLinked list
Reach element nO(1) — calculatedO(n) — followed
Insert at the frontO(n) — shift everythingO(1) — two references
Insert in the middleO(n)O(n) to find, O(1) to link
Memory per itemJust the valueValue plus a reference
SizeFixed at creationGrows and shrinks
Search for a valueO(n), or O(log n) by binary search if sortedO(n) — binary search is impossible without direct access
The trade in one line: A linked list gives up direct access and gets cheap insertion and removal in return.

So: does the program mostly read by position, or mostly insert and delete? That question decides it, and nothing else does.
Caching matters more than the table suggests: An array's elements sit together, so reading one pulls its neighbours into cache and the next read is already there. A linked list's nodes are scattered, so each hop can be a cache miss.

In practice an array often beats a linked list even where the complexity says otherwise.

How this is tested — you must weigh direct access against cheap insertion, using the operation the program actually repeats. It comes up two ways:

Paper 2 — working with code

  • Evaluate linked lists against arrays, 4-6 marks
  • State an advantage AND a disadvantage
  • Identify which kind of list a scenario needs

Paper 2 — the algorithmic-thinking question

  • Justify a choice for a described program
  • Say what the alternative would cost
The classic trap: Writing "linked lists are dynamic so they are better". Evaluate demands both sides and a judgement tied to the scenario — an unqualified "better" earns nothing.
IB-style questionEvaluate[6 marks]

A music app keeps the current playlist, where users constantly drag tracks to new positions and delete them, but rarely jump to "track 47". Evaluate the use of a linked list rather than an array.

Model answer plan

See the answer broken into clear points, with guidance on how each point earns marks.

Claim your free topic

Try an IB Exam Question — Free AI Feedback

Test yourself on Evaluating linked lists. Write your answer and get instant AI feedback — just like a real IB examiner.

A singly linked list holds Ana -> Ben -> Cat -> Dan -> null. the list after the node holding Ben is deleted. [2 marks]

Related Computer Science HL Topics

Continue learning with these related topics from the same unit:

8.1.1What ADTs are for8.1.3Building linked lists8.1.4Binary search trees8.1.5Sets
View all Computer Science HL topics
Improve your exam techniqueCommand terms, paper structure, and mark-scheme tips for Computer Science HL
Previous8.1.1What ADTs are forNextBuilding linked lists8.1.3

13 exam-style questions ready for you

Students who practice on Aimnova improve their scores by 15% on average. Get instant feedback that shows exactly how to improve your answers.

Practice Now — FreeView All Computer Science HL Topics