← Years 5–6 Digital Systems

Keeping software updated

A new version of a program that fixes security weaknesses so attackers cannot use them to reach your data. It covers operating system updates, app updates and automatic updates.

Understanding Keeping software updated in Years 5–6 Digital Systems

What it does: Running an app update installs the newer version of that app, which includes the security fixes. Choosing automatic updates means security fixes are installed as soon as they are available, without waiting for you. Updates patch security weaknesses so attackers cannot use them to get at your data. An old version may still run, but it could still contain a weakness that attackers can use. Weaknesses in old software are often known, which is why updating is important. The broken code skips the update, which keeps the weakness open. Installing the update closes it.

Common mistakes: When an update is available the program should install it so the security weakness is fixed. ignore_update() leaves the device open to attackers. It should be install_update(). A single = is needed to store the value 12 in latest. == compares values, so latest is never created and the operating system update check fails.

Class: _____________________  ·  Name: _____________________  ·  Date: _________

Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.

This module's key terms are also in a printable crossword (Modules 41–52) and word search (Modules 21–52).

Take this worksheet further — free with Cloodit

Each concept is reinforced from every angle — learned, then applied, then tested.

Learning
Duo
Why do software updates matter for security?
They only change how the app looksThey fix weaknesses that attackers could use to reach your data
Matches
ignore_update("Operating system")
↓
Ignoring an operating system update leaves security weaknesses unfixed, so attackers could use them to reach your data. You should install it.
Applying
Meanings
Term
software update
Meaning
A new version of a program that fixes security weaknesses so attackers cannot use them to reach your data. It covers operating system updates, app updates and automatic updates.
Practice
turn on automatic updates
Testing
Gaps
("Install the update now")
Check Answer
Spots
2if update_available:
3 ignore_update()

Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.

The 'Sea Turtle' badge — Scope Navigator, one of Cloodit's 106 collectible badges
Students earn collectable badges

Over 100 of them, across seven natural biomes.

Study Buddy
Students build a real study resource

Turns their work into revision material ready for Flash Cards and Exam study.

Diamond Dash — one of Cloodit's live, competitive Sprint games
Students lock in with Sprints

Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.

A Cloodit certificate of achievement, ready to personalise and print
Custom printable certificates

Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.

Quick Questions

1. Why do software updates matter for security?
A. They only change how the app looks
B. They fix weaknesses that attackers could use to reach your data ✓
Updates patch security weaknesses so attackers cannot use them to get at your data.
2. Which is the safer choice when your device says an operating system update is ready?
A. Install the update soon ✓
B. Ignore it for months
Operating system updates fix weaknesses in the software that runs your whole device, so installing them soon keeps your data safer.
3. True or false: Only the operating system needs updates, apps do not.
A. False: apps need updates too ✓
B. True: apps never need updates
App updates fix security weaknesses in individual apps, just as operating system updates do for the device.
4. What does turning on automatic updates do?
A. Stops your device from ever getting updates
B. Installs updates for you so fixes are not missed ✓
Automatic updates install new versions without you having to remember, so security fixes arrive quickly.
5. A game app on your tablet has a new version with a security fix. What should you do?
A. Update the app ✓
B. Keep using the old version because it still works
An old version may still run, but it could still contain a weakness that attackers can use.

Match the Pairs

OS update → A new version of the operating system that fixes security weaknesses so attackers cannot use them to reach your data
automatic updates = ON → The device installs new versions by itself, so security fixes arrive without you having to remember
Updating an app fixes security weaknesses that attackers could use to reach your data → update_app("Messages")
Keep your device protected by letting it install security fixes on its own → set_updates("automatic")
ignore_update("Operating system") → Ignoring an operating system update leaves security weaknesses unfixed, so attackers could use them to reach your data. You should install it.
set_updates("off") → Turning automatic updates off means security fixes are not installed on time, leaving your data open to attackers. Turn them on instead.

Key Term

software update
A new version of a program that fixes security weaknesses so attackers cannot use them to reach your data. It covers operating system updates, app updates and automatic updates.

Fill in the Blanks

1. print("Install the update now")
Hint: Type the function that shows a message on the screen
2. autoupdates = True
Hint: Type the Boolean value that switches automatic updates on
3. def install(): print("Patched!")
Hint: Type the keyword that defines a new function
4. for app in ["maps", "chat"]: print(app)
Hint: Type the keyword that repeats the step for each app in the list
5. outdated = current < latest
Hint: Type the comparison operator that checks the installed version is older than the latest version

Spot the Error

Question 1
A update_available = True
B if update_available:
C ignore_update()
D print('Device is safer')
Line C — When an update is available the program should install it so the security weakness is fixed. ignore_update() leaves the device open to attackers. It should be install_update().
Question 2
A os_version = 11
B latest == 12
C if os_version < latest:
D print('Update the OS')
Line B — A single = is needed to store the value 12 in latest. == compares values, so latest is never created and the operating system update check fails.
Question 3
A app version = 2.1
B new_version = 2.3
C if new_version > app_version:
D print('Update the app')
Line A — A variable name cannot contain a space. It should be app_version so the app update check can use it.
Question 4
A auto_updates = True
B if auto_updates:
C print('Installs by itself')
D prnt('Data stays protected')
Line D — The function name is misspelled. It should be print, otherwise the program stops with an error.
Question 5
A update_ready = True
B if update_ready = True:
C print('Installing now')
D print('Restart if asked')
Line B — An if statement needs == to compare values. A single = is for assigning a value, so this line is a syntax error.

Student with a class code? Join your class →