4.1 Software and Interrupts
4.1 Software and Interrupts
1.Application Software
2.System Software
3.Operation Software
4.Interrupts
Application Software vs System Software
System Software:
Operating System
Utility Software
Device Drivers – allow hardware devices to communicate with the OS
Compilers – translate code in high-level languages to code the
computer can understand
Linkers – take multiple files compiled by a compiler and combines
them into a single program
Utility Software:
o Virus Checkers / Anti-Virus software:
safeguards computer from malware
Run in the background
Constantly checks for virus attacks
Check files and software before they are loaded on a computer
Heuristic Checking – checking of software for behaviour that could
indicate a virus
o Defragmentation software:
As HDD becomes full, blocks used for files become scattered
across sectors and tracks
Defragmentation software reorganises fragmented files by putting
them into contiguous sectors.
o Back-up Software: prevent data loss, eg. Windows File History, MacOS
Time machine
o Security Software: manage account information such as User ID and
PW
o Device Drivers: software that communicate b/w OS and Hardware
Devices
Operating Software
Allow user to communicate with the computer system
Eg. Windows, macOS, Android, iOS, ChromeOS
Operating system stored on HDD or SSD
Functions of OS:
1. Human-Computer Interface:
Either as CLI (Command Line Interface) or GUI (graphical user
interface)
2. Memory Management
Manages transfer of data b/w HDD/SSD and RAM
3. Security Management
Runs anti-virus software
User ID and access
4. Hardware Management
Communicates w/ input and output devices
Uses driver to link with devices
5. File Management
Maintains where files are
Create, open, edit, delete, rename, move files
File name conventions (filename.ext)
6. Interrupt Handling
7. Platform for running Application Software
8. Multitasking
Carry out more than one process at a time
Each process will share hardware resources
9. Management of User Accounts
Multiple users can log on
Administrator account
Interrupts
An interrupt is a signal sent to the CPU by hardware or software to
request attention.
It causes the CPU to pause its current task and handle the interrupt
request, ensuring efficient multitasking.
Examples of Interrupts:
o I/O Process (eg. printer needs more data)
o Hardware fault (eg. printer paper jam)
o User interaction (user presses certain keys)
o Software errors (eg. file not found)