GCSE · Computer Science · Edexcel · Spec 1CP2

Utility software – disk defragmentation

A book with its chapters shelved in different rooms is a nightmare to fetch. Your hard drive can do the same to files.

Watch a hard drive get sorted

Three files, seven segments, eight blocks

Each row is the drive at one moment. Block 1 to Block 8 run left to right. A1, A2, A3 are the three segments of file A; B1, B2 belong to file B; C1, C2 to file C.

Before you press Next: where are file A's three segments right now? Together, or scattered?

Block 1Block 2Block 3Block 4Block 5Block 6Block 7Block 8
A1B1C2A2C1B2A3empty

Output

 

Step 1: Before. Every file was saved in segments, and the segments are scattered. File A is in blocks 1, 4 and 7. File B is in blocks 2 and 6. File C is in blocks 3 and 5.

1 / 4

Use Next to move through the four states of the drive. Watch each letter: the pieces never change, only where they sit.

Step 1 of 4: Before. Every file was saved in segments, and the segments are scattered. File A is in blocks 1, 4 and 7. File B is in blocks 2 and 6. File C is in blocks 3 and 5..

Where does it fit?

System software, utility software, or neither

Tick the set or sets each piece of software belongs to. Utility software sits inside system software, so some items belong in both.

  • A System software
  • B Utility software
  1. Defragmentation software
  2. Encryption software
  3. Data compression software
  4. Operating system
  5. Word processor
  6. Spreadsheet program

Why is it faster?

?

Reason it through

Why does defragmenting a hard drive make files quicker to access?

Link 1 of 4

First link · your turn

A file is saved on a hard drive. How is it stored?

2
Locked — reveal the link above first
3
Locked — reveal the link above first
4
Locked — reveal the link above first

Easy mistakes

What does defragmentation really do?

A friend has just run defragmentation software on their hard drive and tells you what they think happened.

Which of these is closest to what you think?
How sure are you?

Now you write it

Explain it in your own words

Explain how defragmentation software improves the performance of a computer that has a hard drive. [3 marks]

0 words · your answer stays on this page and is not sent anywhere.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

Same files, same pieces. Defragmentation just puts each file's pieces side by side on the hard drive.

What you need to know

  • Software runs on the hardware so we can get jobs done.
  • System software manages and controls the hardware, and lets application software run.
  • Utility software is a kind of system software. It is used to maintain, optimise or protect a computer system.
  • Encryption, defragmentation and data compression software are all examples of utility software.
  • Have a goMaya says: "Defragmentation is utility software, so it definitely can't be system software." Is Maya right?

    No. Defragmentation software is both.

    Utility software is a kind of system software, so anything in the utility set is also in the system software set.

  • When a file is saved to a hard drive, it is saved in segments.
  • A file's segments may not be stored together. They can be scattered across the drive.
  • Have a goYour photo is saved on a hard drive in four segments. Must those four segments sit side by side?

    No. They may be scattered across the drive.

    Saving a file in segments does not guarantee the segments are stored together, so they can end up in different places.

  • Defragmentation software reorganises the data on a hard drive by grouping related data together.
  • It rearranges the files so that each file's segments are stored together.
  • Have a goA drive holds 10 segments in total before defragmentation. How many does it hold afterwards?

    10, the same segments in new places.

    Defragmentation only rearranges where existing segments are stored, so no segments appear or disappear.

  • That reduces the time taken to access files, so system performance improves.

The big picture

Defragmentation software is utility software, which is a kind of system software. A hard drive saves each file in segments that can end up scattered. Defragmentation rearranges the files so each file's segments are stored together, which reduces the time taken to access files and improves system performance.

Key points

1Defragmentation software is utility software, and utility software is a kind of system software.
2A file saved to a hard drive is saved in segments, and a file's segments may be scattered across the drive.
3Defragmentation reorganises the drive by rearranging files so each file's segments are stored together.
4Files can then be accessed in less time, which improves system performance.
5It only rearranges where existing segments are stored. It does not delete or change files.

Worked example

Problem

A small drive has six blocks. Before defragmentation it holds [X1, Y1, X2, empty, X3, Y2], where X1 to X3 are file X's segments and Y1, Y2 are file Y's. After defragmentation it holds [X1, X2, X3, Y1, Y2, empty]. Describe what changed and what did not.

⚠ Watch out

Thinking defragmentation cleans up the drive by deleting, repairing or shrinking files. It does none of those. It only rearranges where each file's existing segments are stored so they sit together.

🧠

Memory hook

A book with its chapters in different rooms is slow to fetch. Move every chapter onto one shelf and you have the same book, just quicker to get. Scattered, then together, then faster.

✓

Check yourself

Without looking back: finish this chain in your own words. A file's segments are scattered, so reading it means ... Defragmentation then ... so that ...

Flashcards

(10)
What does system software do?
It manages and controls the hardware and allows application software to run.
What is utility software used for?
To maintain, optimise or protect a computer system.
How are system software and utility software related?
Utility software is a kind of system software, so it is included in system software.
Name three examples of utility software.
Encryption, defragmentation and data compression software.
How is a file saved on a hard drive?
In segments.
What does it mean for a file to be scattered across the drive?
Its segments are not stored together. They are in different places on the hard drive.
What does defragmentation software do?
It reorganises the data on a hard drive, rearranging the files so each file's segments are stored together.
Why does defragmentation improve system performance?
It reduces the time taken to access files on the hard drive.
Does defragmentation change what is in a file?
No. It only changes where the file's segments are stored.
Is a word processor system software?
No. It is application software, which runs on the hardware with the help of system software.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More Edexcel GCSE Computer Science topics

See the full Edexcel Computer Science curriculum →

How this lesson was checked. This Edexcel GCSE Computer Science (specification 1CP2)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 21 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.