Keeping software updated

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Keeping software updated

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

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
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
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
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
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

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1OS update ATurning automatic updates off means security fixes are not installed on time, leaving your data open to attackers. Turn them on instead.
2automatic updates = ON Bupdate_app("Messages")
3Updating an app fixes security weaknesses that attackers could use to reach your data CIgnoring an operating system update leaves security weaknesses unfixed, so attackers could use them to reach your data. You should install it.
4Keep your device protected by letting it install security fixes on its own DThe device installs new versions by itself, so security fixes arrive without you having to remember
5ignore_update("Operating system") EA new version of the operating system that fixes security weaknesses so attackers cannot use them to reach your data
6set_updates("off") Fset_updates("automatic")

Definitions

software update

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
_____("Install the update now")
2.
autoupdates = ____
3.
___ install(): print("Patched!")
4.
___ app in ["maps", "chat"]: print(app)
5.
outdated = current _ latest

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A update_available = True
B if update_available:
C ignore_update()
D print('Device is safer')
Question 2
A os_version = 11
B latest == 12
C if os_version < latest:
D print('Update the OS')
Question 3
A app version = 2.1
B new_version = 2.3
C if new_version > app_version:
D print('Update the app')
Question 4
A auto_updates = True
B if auto_updates:
C print('Installs by itself')
D prnt('Data stays protected')
Question 5
A update_ready = True
B if update_ready = True:
C print('Installing now')
D print('Restart if asked')

Answer Key

Keeping software updated
Section A: Quick Questions
Q1
B — They fix weaknesses that attackers could use to reach your data
Q2
A — Install the update soon
Q3
A — False: apps need updates too
Q4
B — Installs updates for you so fixes are not missed
Q5
A — Update the app
Section B: Match the Pairs
Q1
OS update → A new version of the operating system that fixes security weaknesses so attackers cannot use them to reach your data
Q2
automatic updates = ON → The device installs new versions by itself, so security fixes arrive without you having to remember
Q3
Updating an app fixes security weaknesses that attackers could use to reach your data → update_app("Messages")
Q4
Keep your device protected by letting it install security fixes on its own → set_updates("automatic")
Q5
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.
Q6
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.
Section C: Definitions
Q1
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.
Section D: Fill in the Blanks
Q1
print("Install the update now")
Q2
autoupdates = True
Q3
def install(): print("Patched!")
Q4
for app in ["maps", "chat"]: print(app)
Q5
outdated = current < latest
Section E: Spot the Error
Q1
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().
Q2
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.
Q3
A — A variable name cannot contain a space. It should be app_version so the app update check can use it.
Q4
D — The function name is misspelled. It should be print, otherwise the program stops with an error.
Q5
B — An if statement needs == to compare values. A single = is for assigning a value, so this line is a syntax error.