Matching a scenario to an operating system function

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

Matching a scenario to an operating system function

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. You play music while writing an essay, and both programs run smoothly at the same time. Which OS function is this?
A Managing multitasking
B Providing a command-line interface
2. You plug in a new printer and the OS loads the software it needs to talk to it. Which OS function is this?
A Managing peripherals and drivers
B Managing user accounts
3. A student types a username and password to log in to a school computer. Which OS function is this?
A Managing user accounts
B Managing peripherals and drivers
4. Two programs are open at once. Which explanation is correct?
A Multitasking, because the OS loads a driver for each program
B Multitasking, because the OS shares CPU time between the programs
5. A new printer is plugged in and works. Which explanation is correct?
A Managing files, because the OS saves the printer in a folder
B Peripherals and drivers, because the OS uses a driver to talk to the printer

Match the Pairs

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

Left columnRight column
1Game and music player open at once AManaging multitasking, because the OS shares CPU time between the programs
2Plug in a printer, OS loads its driver BgiveCPUTime(game) giveCPUTime(music)
3Logging in is user accounts and security because the OS checks who you are CA new printer needs peripherals and drivers, not files, because the OS must load a driver to control the device
4Two programs open at once is multitasking because the CPU is shared DManaging peripherals and drivers, because the OS needs the driver to talk to the device
5Typing a password to log in = managing memory EChecking a password is user accounts and security, not memory, because the OS is checking who the user is
6Plugging in a printer = managing files FIF password = storedPassword THEN allowAccess

Definitions

scenario to function

Fill in the Blanks

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

1.
scenario = "Two programs open at once" function = "____________"
2.
scenario = "A printer is plugged in" function = "managing ___________ and drivers"
3.
scenario = "A new student gets a login" function = "managing user ________"
4.
scenario = "Music plays while a game runs" ans = "Multitasking _______ CPU is shared"
5.
scenario = "The OS checks a password" function = "providing system ________"

Spot the Error

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

Question 1
A Scenario: music and game open
B OS function: multitasking
C Because: it loads a driver
Question 2
A Scenario: two apps open
B OS function: peripherals
C Because: it loads a driver
Question 3
A Scenario: enter a password
B OS function: multitasking
C Because: it checks the login
Question 4
A Scenario: save a document
B OS function: managing memory
C Because: it stores the file
Question 5
A Scenario: browser and music
B OS function: multitasking
C Both programs run together
D Because: it checks passwords

Answer Key

Matching a scenario to an operating system function
Section A: Quick Questions
Q1
A — Managing multitasking
Q2
A — Managing peripherals and drivers
Q3
A — Managing user accounts
Q4
B — Multitasking, because the OS shares CPU time between the programs
Q5
B — Peripherals and drivers, because the OS uses a driver to talk to the printer
Section B: Match the Pairs
Q1
Game and music player open at once → Managing multitasking, because the OS shares CPU time between the programs
Q2
Plug in a printer, OS loads its driver → Managing peripherals and drivers, because the OS needs the driver to talk to the device
Q3
Logging in is user accounts and security because the OS checks who you are → IF password = storedPassword THEN allowAccess
Q4
Two programs open at once is multitasking because the CPU is shared → giveCPUTime(game) giveCPUTime(music)
Q5
Typing a password to log in = managing memory → Checking a password is user accounts and security, not memory, because the OS is checking who the user is
Q6
Plugging in a printer = managing files → A new printer needs peripherals and drivers, not files, because the OS must load a driver to control the device
Section C: Definitions
Q1
scenario to function — Find what the OS is doing in a scenario, such as sharing the CPU, loading a driver or checking a password, then match it to one of its nine functions and explain with 'because'.
Section D: Fill in the Blanks
Q1
scenario = "Two programs open at once" function = "multitasking"
Q2
scenario = "A printer is plugged in" function = "managing peripherals and drivers"
Q3
scenario = "A new student gets a login" function = "managing user accounts"
Q4
scenario = "Music plays while a game runs" ans = "Multitasking because CPU is shared"
Q5
scenario = "The OS checks a password" function = "providing system security"
Section E: Spot the Error
Q1
C — Two programs open at once is multitasking because the OS shares the CPU between them. Loading a driver belongs to managing peripherals, so the reason should be 'it shares the CPU'.
Q2
A — The scenario does not match the function. Loading a driver happens when a printer is plugged in, so line 1 should be 'Scenario: plug in a printer'.
Q3
B — Entering a password is logging in, which is the user accounts function (with security). Multitasking is about sharing the CPU, so line 2 should be 'OS function: user accounts'.
Q4
B — Saving a document means the OS is storing and organising a file, so the function is managing files. Managing memory is about RAM.
Q5
D — Running a browser and music together is multitasking because the OS shares the CPU. Checking passwords is a security or user account reason, so line 4 should say 'it shares the CPU'.