4.1 Types of software and interrupts Flashcards
(12 cards)
Describe the difference between system software and application software.
Give an example of each software in your answer. [4]
- System software provides services that the computer requires, whereas application software provides services that the user requires.
System software example: Operating system
Application software example: word processor
State which component in the computer would store both types of software when the power is turned off.
Secondary storage/SSD
State the purpose of firmware
Permanently stores instructions (in ROM)
Give one example of firmware
BIOS
Give two examples of system software
- Operating system
- Utility Software
Describe the role and basic functions of an operating system
- managing files
- handling interrupts
- providing an interface
- managing peripherals and drivers
Explain why bootloader instructions are stored in ROM and not in RAM.
The contents of the ROM aren’t lost when the computer is turned off.
Understand how hardware, firmware and an
operating system are required to run applications
software
- Applications are run on the operating system
- The operating system is run on the firmware
- The bootloader (firmware) is run on the hardware
What’s an interrupt?
- An interrupt is a signal from a software program or hardware device to the CPU.
What’s a software interrupt, and when does it occur?
- A software interrupt occurs when an application program terminates or requests certain services from the OS(operating system).
- A software interrupt also occurs with 3 program errors, such as when a division by zero occurs, or when two processes try to access the same memory location
When does a hardware interrupt occur?
- A hardware interrupt may occur, for example, when an I/O operation is complete or when a new USB device is plugged in and detected.
- A hardware interrupt also occurs when a key is pressed on the keyboard or the mouse is moved
How can interrupts be triggered?
- Interrupts are also triggered regularly by the timer to indicate that it is the turn of the next process to have processor time.
- It is because a processor can be interrupted that multi-tasking can take place.