Disk formatting utility

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

Disk formatting utility

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. What is the main job of a disk formatter?
A It prepares a storage device for use by setting up a file system
B It makes a computer's processor run faster
2. You plug in a brand new USB stick and your computer says it must be formatted before use. Why?
A It has a virus that the formatter will remove
B It has no file system yet, so files cannot be stored in an organised way
3. What usually happens to the existing data on a drive when it is formatted?
A It is kept and compressed to save space
B It is erased
4. Which is the best thing to do before formatting a USB stick that holds your homework?
A Copy the homework to another device as a backup
B Nothing, because formatting keeps all files safe
5. Which describes what a file system does on a formatted drive?
A It creates the structure used to store and find files
B It speeds up the drive by moving file pieces together

Match the Pairs

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

Left columnRight column
1disk formatter AUtility software that prepares a drive or USB stick for use by creating a file system on it
2format E: /FS:NTFS Bbackup(photos); format(drive)
3Formatting a new USB stick creates the file system structure that lets it store files Cformat F: /FS:FAT32
4Formatting erases all the existing data on a drive, so back up important files first DFormats drive E and sets up a new NTFS file system, erasing the data that was on it
5A new USB stick can store files without being formatted, because a disk formatter only deletes data EFormatting erases the existing data on the drive, so old files are not kept safe.
6format D: keeps all the old files safe on the drive FA disk formatter does more than delete data: it creates the file system the device needs to store files.

Definitions

disk formatter

Fill in the Blanks

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

1.
IF drive.isNew = TRUE THEN ______(drive) ENDIF
2.
FORMAT(usb) dataErased ← ____
3.
FORMAT(usb) CREATE __________ ON usb SAVE file ON usb
4.
__ drive.hasData = TRUE THEN OUTPUT "Data will be erased" ENDIF
5.
FORMAT(usb) fileCount ← COUNT(usb.files) IF fileCount = _ THEN OUTPUT "Empty"

Spot the Error

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

Question 1
A INPUT drive
B INPUT confirm
C IF confirm = "yes" THEN
D keep_all_data(drive)
E ENDIF
Question 2
A CALL delete_file_system(drive)
B OUTPUT "Ready to store files"
C CALL save_file(drive)
Question 3
A drive ← USB stick
B CALL format(drive)
C OUTPUT "Ready to use"
Question 4
A drive ← "new drive"
B OUTPUT "Formatting..."
C CALL erase_data drive)
D CALL create_file_system(drive)
Question 5
A INPUT drive
B IF has_files = TRUE THEN
C OUTPUT "Data will be kept"
D ENDIF
E CALL format(drive)

Answer Key

Disk formatting utility
Section A: Quick Questions
Q1
A — It prepares a storage device for use by setting up a file system
Q2
B — It has no file system yet, so files cannot be stored in an organised way
Q3
B — It is erased
Q4
A — Copy the homework to another device as a backup
Q5
A — It creates the structure used to store and find files
Section B: Match the Pairs
Q1
disk formatter → Utility software that prepares a drive or USB stick for use by creating a file system on it
Q2
format E: /FS:NTFS → Formats drive E and sets up a new NTFS file system, erasing the data that was on it
Q3
Formatting a new USB stick creates the file system structure that lets it store files → format F: /FS:FAT32
Q4
Formatting erases all the existing data on a drive, so back up important files first → backup(photos); format(drive)
Q5
A new USB stick can store files without being formatted, because a disk formatter only deletes data → A disk formatter does more than delete data: it creates the file system the device needs to store files.
Q6
format D: keeps all the old files safe on the drive → Formatting erases the existing data on the drive, so old files are not kept safe.
Section C: Definitions
Q1
disk formatter — Utility software that prepares a new drive or USB stick for use by creating a file system to store files in. It also erases any existing data on the device.
Section D: Fill in the Blanks
Q1
IF drive.isNew = TRUE THEN FORMAT(drive) ENDIF
Q2
FORMAT(usb) dataErased ← TRUE
Q3
FORMAT(usb) CREATE fileSystem ON usb SAVE file ON usb
Q4
IF drive.hasData = TRUE THEN OUTPUT "Data will be erased" ENDIF
Q5
FORMAT(usb) fileCount ← COUNT(usb.files) IF fileCount = 0 THEN OUTPUT "Empty"
Section E: Spot the Error
Q1
D — Formatting erases all existing data on the drive. The line should call erase_all_data(drive), not keep the data.
Q2
A — A disk formatter creates the file system that stores files. It does not delete one. The line should be CALL create_file_system(drive).
Q3
A — A text value must be written inside quotation marks. The line should be drive ← "USB stick".
Q4
C — The opening bracket is missing, so the call is not valid. It should be CALL erase_data(drive).
Q5
C — Formatting erases existing data, so the warning must say the data will be erased, not kept.