Application of firmware

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

Application of firmware

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Applying firmware updates helps patch security vulnerabilities in a device.
A False
B True
2. Which is safer: applying firmware updates promptly, or postponing them indefinitely?
A Applying updates promptly
B Postponing them indefinitely
3. A router running outdated firmware is just as secure as one with the latest firmware.
A False
B True
4. Which poses more risk: a device with the latest firmware, or one with known unpatched firmware flaws?
A Known unpatched firmware flaws
B Latest firmware
5. Firmware updates only apply to software, never to hardware devices.
A True
B False

Match the Pairs

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

Left columnRight column
1if version != latest: apply_update() Acheck_firmware()
2skip_firmware = True BDisabling firmware checks, leaving the device outdated
3Applying firmware updates patches known hardware vulnerabilities Capply_update(latest_firmware)
4Checking a device's firmware version confirms if it needs patching DChecking if firmware is outdated and applying an update
5postpone_update() EThe mistake: reverting to outdated, unpatched firmware after updating
6restore_old_fw() FThe mistake: indefinitely delaying a required firmware update

Definitions

Applying firmware

Fill in the Blanks

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

1.
________________ = "1.0"
2.
_______________ = "2.0"
3.
if current __ latest:
4.
def ______________():
5.
________________ = True

Spot the Error

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

Question 1
A skip_firmware = True
B check_firmware()
C apply_update()
Question 2
A check_firmware()
B delay_update = True
C apply_update()
Question 3
A version = get_firmware()
B latest = get_latest_fw()
C if version < latest: pass
Question 4
A ignore_vuln = True
B known_vuln = True
C apply_patch()
Question 5
A fw = get_latest_fw()
B apply(fw)
C fw = "1.0"

Answer Key

Application of firmware
Section A: Quick Questions
Q1
B — True
Q2
A — Applying updates promptly
Q3
A — False
Q4
A — Known unpatched firmware flaws
Q5
B — False
Section B: Match the Pairs
Q1
if version != latest: apply_update() → Checking if firmware is outdated and applying an update
Q2
skip_firmware = True → Disabling firmware checks, leaving the device outdated
Q3
Applying firmware updates patches known hardware vulnerabilities → apply_update(latest_firmware)
Q4
Checking a device's firmware version confirms if it needs patching → check_firmware()
Q5
postpone_update() → The mistake: indefinitely delaying a required firmware update
Q6
restore_old_fw() → The mistake: reverting to outdated, unpatched firmware after updating
Section C: Definitions
Q1
Applying firmware — Installing the latest low-level software on a hardware device to patch known security vulnerabilities.
Section D: Fill in the Blanks
Q1
firmware_version = "1.0"
Q2
latest_firmware = "2.0"
Q3
if current != latest:
Q4
def check_firmware():
Q5
firmware_applied = True
Section E: Spot the Error
Q1
A — Line 1 sets skip_firmware to True, which skips applying the needed firmware update.
Q2
B — Line 2 delays the update, leaving a hardware vulnerability unpatched.
Q3
C — Line 3 does nothing when firmware is outdated, instead of applying the update.
Q4
A — Line 1 ignores a known vulnerability instead of applying a firmware patch to fix it.
Q5
C — Line 3 reverts the firmware back to the old, outdated version after the update.