KS48525 3.4.1 and 3.4.3 24 min read 10 question quiz 12 exam marks

Hardware, Software and the Operating System

What separates hardware from software, the four jobs an operating system does that nothing else can, and the utility programs that keep a machine usable.

Hardware and software

Hardware is the physical components of a computer system: the parts you could pick up. The processor, the memory modules, the drive, the keyboard, the screen, the cables.

Software is the programs and data that run on that hardware. Software has no physical existence of its own. It is a pattern of bits held in hardware, which is exactly why a single machine can be a games console, a word processor and a calculator without any physical change.

The relationship worth stating

Hardware does nothing useful without software to tell it what to do, and software cannot run without hardware to run on. Each is useless alone.

Two memory sticks with the notch in a different placeA stick of DDR memory: a long green circuit board with eight black memory chips in a row and a gold edge connector with a notch off centre.DDR4DDR5notchnotch, somewhere elseso it will not fit the wrong slotmemory chipsgold contacts
The notch is in a different place on each generation of memory, so a DDR4 stick physically will not fit a DDR5 slot.Drawn illustration
Hardware you can touch, software that runs on it, and how they work togetherHardware is the physical parts of a computer that you can touch: the monitor, the keyboard, the processor and the memory. Software is the programs, the instructions that tell the hardware what to do: a web browser, a word processor, a game and the operating system. Software gives the instructions and the hardware carries them out. Without software the hardware has nothing to do, and without hardware the software has nothing to run on.Hardware: parts you can touchmonitorkeyboardCPUprocessormemorySoftware: programs that runmskprod.orgweb browserword processorgameoperating systemHow they work togetherSoftwareHardwaregives the instructionscarries them outNo software: the hardware hasnothing to do.No hardware: the software hasnothing to run on.123
  1. Hardware is the physical parts you can touch, such as the monitor, keyboard, processor and memory.
  2. Software is the programs: the instructions, such as a browser, a word processor, a game or the operating system.
  3. Software gives the instructions and hardware carries them out. A computer needs both.
If you can touch it, it is hardware. If it is a set of instructions, it is software.

System software and the operating system

Software divides into two categories.

System software manages the computer itself. It includes the operating system and utility programs.

Application software lets a user carry out a particular task: a browser, a word processor, a game, a photo editor.

The test is who the software is for. Application software serves the user's purpose. System software serves the machine, so that application software can run at all.

What an operating system does

AQA names four core functions, and every one is examinable.

Processor management. The OS decides which process gets the processor and for how long, switching between them fast enough that they appear to run at once. Without this, one program would occupy the machine until it finished.

Memory management. The OS allocates memory to each running program and keeps them out of one another's memory. When physical memory runs out it moves less used pages to virtual memory on the drive.

Peripheral management. The OS talks to input and output devices through device drivers, so an application can simply say "print this" without knowing anything about the specific printer attached.

User management. The OS handles accounts, logins and permissions, so different users have different files and different rights on the same machine.

It also provides the user interface, whether graphical or command line, through which everything else is reached.

The word 'manages' is not enough

Say what is being managed and why it matters. "Memory management allocates memory to each program and prevents one program writing into another's memory, which would crash it" is the full answer.

Hardware, operating system, utilities, applicationsThe layers of a computer system, from the metal upwards. At the bottom is the hardware: the processor, the memory, the disks, the screen. On top of it sits the operating system, which manages all of that on everyone's behalf, handling memory allocation, the file system, processes and scheduling, device drivers and user accounts. Beside it sits utility software, the housekeeping programs that keep the system in order: backup, defragmentation, compression and antivirus. On top sit the applications, the browser, the word processor, the game, which is what the person actually wanted to use. The rule that makes this worth drawing is that each layer talks only to the layer below it, shown by the arrows pointing down. A worked example on the right follows one save: the word processor asks the operating system, the operating system asks the device driver, and the driver talks to whichever disk is fitted, a hard disk or an SSD. The application never addresses the disk directly and never needs to know which kind it is. That is exactly why the same program can run on two machines with completely different hardware inside them.Applicationsbrowser · word processor · game Operating systemmemoryfilesprocessesdriversUtilitiesHardwarethe parts you could drop on your footCPURAMdiskasksaskseach layer only talks to the one below itSaving a fileWord processorSave as essay.docxOperating systemfinds space, tracks the fileDevice driverspeaks this disk's languageCTRLhard diskSSDthe app never knows which12345
  1. The hardware at the bottom: the parts you could drop on your foot.
  2. The operating system sits on it and manages all of it for you.
  3. Utility software does the housekeeping jobs around the system.
  4. Your applications sit on top and never touch the hardware directly.
  5. That is why a program written once runs on very different machines.
An application that wants a file asks the operating system. It has no idea whether the file is on a hard disk or an SSD, and it does not need to.
What the operating system does, between the applications and the hardwareThe operating system sits between the applications above it and the hardware below it, with an arrow from the applications down into the operating system and another from the operating system down to the hardware. Six jobs surround it. Memory management decides which program gets which part of RAM. Processor scheduling shares the CPU between the running programs. File management looks after folders, names and where data is stored. Device drivers let programs use printers, screens and disks. Security handles log-ins, accounts and who can open what. The user interface provides windows, icons and menus, or typed commands.Memorydecides which programgets which part of RAMCPUProcessor timeshares the CPU betweenthe running programsFilesfolders, names andwhere data is storedDevicesdrivers let programs useprinters, screens, disksSecuritylog-ins, accounts andwho can open whatUser interfacewindows, icons, menusor typed commandsApplicationsHardwareOperatingsystem123
  1. The operating system sits between the applications and the hardware, so a program never has to deal with the hardware directly.
  2. It shares out the computer's resources: memory, processor time and storage.
  3. It also talks to devices through drivers, keeps the system secure and provides the user interface.
Most exam answers on the operating system are a list of these jobs with one sentence on what each one does.

Utility software

Utility software performs maintenance and housekeeping on the computer. It is system software, but it is not part of the operating system's core job.

UtilityWhat it doesWhy it is needed
Encryption softwareScrambles data so it is unreadable without the keyProtects data if a device is stolen or intercepted
DefragmentationRearranges files so their parts are stored togetherReduces the movement a mechanical drive's head must make, so files load faster
Data compressionReduces file sizesSaves storage and transmission time
BackupCopies files to a separate location, often on a scheduleAllows recovery after failure, deletion or a ransomware attack
Anti-malwareScans for and removes malicious softwareDetects known threats before they run
Defragmentation is for mechanical drives

A solid state drive has no moving head, so there is nothing to be gained by moving files together, and the extra writes actually shorten the drive's life. AQA has asked exactly this.

Six utility programs: antivirus, firewall, defragmentation, compression, backup and encryptionSix kinds of utility software, each drawn as a small scene. Antivirus software is a shield that stops a bug, finding and removing malware. A firewall is a wall with a gap, seen from above: unwanted traffic is blocked by the wall while allowed traffic passes through the gate. Defragmentation takes a disk where each file is in separate pieces with gaps between them and gathers every file's pieces together, leaving the free space at the end. Compression turns a 10 megabyte folder into a 4 megabyte one. Backup copies your files to a second place, shown as the cloud, so that a copy is safe if the original is lost. Encryption scrambles plain text, here Hello, into cipher text, here x9#Q!, so that only someone with the key can read it.Antivirusfinds and removes malware1Firewallblocks unwanted traffic2blockedallowedDefragmentationjoins each file's pieces up3beforeafterCompressionmakes files smaller410 MB4 MBBackupkeeps a second copy safe5your filesa copyEncryptionscrambles data; a key unlocks it6Hellox9#Q!plain textcipher text
  1. Antivirus finds and removes malware.
  2. A firewall blocks unwanted traffic and lets allowed traffic through.
  3. Defragmentation puts each file's pieces next to each other, which speeds up a hard disk.
  4. Compression makes files smaller so they use less storage and send faster.
  5. Backup keeps a second copy of your files in case the originals are lost.
  6. Encryption scrambles data so that only someone with the key can read it.
System software has two parts: the operating system, and utilities that look after and protect the computer.

Key terms you must be able to define

Hardware
The physical components that make up a computer system.
Software
The programs and data that run on hardware and tell it what to do.
System software
Software that manages the computer itself, including the operating system and utilities.
Application software
Software that lets the user carry out a particular task.
Operating system
System software that manages the processor, memory, peripherals and users, and provides the user interface.
Device driver
Software that lets the operating system communicate with a particular hardware device.
Utility software
System software that carries out maintenance tasks such as backup, compression or defragmentation.
Defragmentation
Rearranging the parts of files on a mechanical drive so each file is stored together.

Flashcards

Say the definition out loud before you flip the card. Retrieving it from memory is what builds recall, reading it again is not.

DefineHardware
AnswerThe physical components that make up a computer system.
DefineSoftware
AnswerThe programs and data that run on hardware and tell it what to do.
DefineSystem software
AnswerSoftware that manages the computer itself, including the operating system and utilities.
DefineApplication software
AnswerSoftware that lets the user carry out a particular task.
DefineOperating system
AnswerSystem software that manages the processor, memory, peripherals and users, and provides the user interface.
DefineDevice driver
AnswerSoftware that lets the operating system communicate with a particular hardware device.
DefineUtility software
AnswerSystem software that carries out maintenance tasks such as backup, compression or defragmentation.
DefineDefragmentation
AnswerRearranging the parts of files on a mechanical drive so each file is stored together.

Reach the top grade on this topic

Answers on this topic separate on specificity.

Name the function and its consequence. Not "the OS manages memory" but "the OS allocates each program its own area of memory and stops one program writing into another's, which would otherwise crash it".

Say who the software is for. The distinction between application and system software is about purpose, not about complexity, and a top answer says so.

Be careful with defragmentation. Any question that mentions a solid state drive is testing whether you know that defragmenting it is pointless and mildly harmful.

Mistakes that cost marks here

Avoid these
  • Calling a device driver hardware. It is software that lets the OS talk to hardware.
  • Saying utility software is application software. Utilities maintain the machine, so they are system software.
  • Describing the operating system as 'the desktop'. The interface is one part of what it does.
  • Saying defragmentation speeds up a solid state drive. It does not, and it wears the drive out faster.
  • Listing OS functions without saying what each one achieves.
Fun fact

The first operating system, GM-NAA I/O, was written in 1956 by General Motors and North American Aviation, not by a computer manufacturer. Customers built it because loading each program by hand was wasting more time than the programs took to run.

Knowledge check

0 of 10 answered
1Which of these is system software?
2What is the purpose of memory management in an operating system?
3Why does an operating system use device drivers?
4Which utility rearranges the parts of files so each file is stored together?
5Why is defragmenting a solid state drive not worthwhile?
6What distinguishes application software from system software?
7Which operating system function decides which process uses the processor next?
8What does user management in an operating system provide?
9Which utility would most directly help a school recover from a ransomware attack?
10Why can the same hardware run a game one minute and a word processor the next?
Score 0 / 10

Exam-style questions

Five written questions in the style of the real paper. Write a full answer, then let the marker check it against the mark scheme.

12 marks
1State one difference between system software and application software.2 marks
State

Mark scheme0 / 2
  • LSystem software manages or maintains the computer itself
  • LApplication software allows the user to carry out a particular task
Model answer

System software manages and maintains the computer itself, the operating system and utilities being the main examples. Application software is installed so that the user can carry out a particular task, such as writing a document or browsing the web.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
2Describe two functions of an operating system.4 marks
Describe

Mark scheme0 / 4
  • LMemory management, allocating memory to running programs
  • LExplains a consequence, such as preventing one program writing into another's memory
  • LProcessor management, scheduling which process runs and for how long
  • LExplains a consequence, such as several programs appearing to run at the same time
Model answer

The first function is memory management. The operating system allocates an area of memory to each running program and keeps track of what is in use, which prevents one program from writing into memory belonging to another and crashing it. When physical memory is exhausted it moves less recently used pages to virtual memory on the drive so that programs can continue. The second is processor management. The operating system schedules which process gets the processor and for how long, switching between them fast enough that they appear to the user to be running at the same time, which is what makes multitasking possible on a single core.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
3A technician suggests defragmenting the solid state drive in a laptop to make it faster. Explain why this is not a good idea.3 marks
Explain

Mark scheme0 / 3
  • LDefragmentation moves file parts together to reduce read head movement
  • LA solid state drive has no moving parts, so access time is the same wherever data is stored
  • LThe extra writes use up the drive's limited write endurance and shorten its life
Model answer

Defragmentation exists to reduce how far the read head of a mechanical hard drive has to travel, by gathering the scattered parts of each file into one place. A solid state drive has no moving parts at all, and every location on it is reached in the same time, so bringing the parts of a file together gains nothing whatsoever. Worse, defragmentation involves rewriting a very large amount of data, and the memory cells in a solid state drive can only be written a finite number of times, so the operation actively shortens the life of the drive in exchange for no benefit.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
4Explain why an operating system uses device drivers rather than communicating with hardware directly.3 marks
Explain

Mark scheme0 / 3
  • LEach hardware device has its own specific set of commands
  • LThe driver translates general instructions into the commands that device understands
  • LSo software can be written once and work with any device of that type
Model answer

Every piece of hardware has its own particular set of commands and its own way of being addressed, and those differ between manufacturers and even between models from the same manufacturer. A device driver is software supplied for one specific device that translates the general instructions the operating system issues into the exact commands that device understands. That means an application can simply ask the operating system to print a page without knowing anything about the printer attached, and a new printer can be supported by installing a new driver rather than by rewriting every program.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
Machine mark 0 / 12