3 definitions of System software?
1. Software that controls and manages the computer hardware and resources
2. Most important software
3. System software provides the services that the computer requires
2 examples of System software
1. Operating system
2. Utility programs
2 definitions of Application software
1. Software that allows the user to do something useful
2. Application software provides the services that the user requires
5 examples of application software
1. Word processor
2. Spreadsheet software
3. Web browser
4. Presentation software
5. Graphic software
What is Operating system?
• Controls the computer hardware and acts as interface between the user and the computer
2 explanations why a computer needs an operating system
1. Acts as an interface between the user and hardware/computer
2. It provides an environment in which other programs can be run
What is Firmware?
• Permanent software programmed/embedded into ROM
Where Application software (applications) are run?
• Applications (application software) are run on the operating system
Where Operating system is run?
• Operating system is run on the firmware (bootloader)
Where Bootloader is run?
• Bootloader (firmware) is run on the hardware
4 functions of an Operating system
1. Managing multitasking (Process management)
2. Provides an interface between the user and computer
3. Handles interrupts
4. Managing user accounts
4 detailed functions of Operating system
1. Memory management
- allocates and deallocates RAM to programs
- keeps track of allocated and free locations
2. Provides system security
- checks username and password
- automatic backup
3. Hardware management
- installation of appropriate driver software
- control access to data being sent to/from hardware
4. File management
- maintain/create directories
- control access
- specifies tasks that can be performed on a file
What is Utility software?
• It is a system software, usually part of the operating system that is used to perform useful but routine tasks
4 examples of utility software
1. Disk defragmenter
2. Virus checker
3. Backup software
4. File compressor
What is an Interrupt?
• A signal generated by a hardware/software that requires the attention of the CPU
2 computer software that will receive and manage all interrupt signals
1. Operating system
2. Interrupt service routine (ISR)
6 examples of Interrupt
1. Paper jam in printer
2. Printer out of paper
3. Printer out of ink
4. key press (Ctrl key), (break key)
5. Disk full error
6. Print complete
4 Purposes / Importance of Interrupt
1. It is used to attend certain tasks / issues
2. It is used to make sure that vital tasks are dealt with immediately
3. It tells the CPU / computer that its attention is required
4. It enables multitasking to be carried out on a computer
2 types of Interrupt
1. Software interrupt
2. Hardware interrupt
2 examples of Software interrupt
1. Division by zero
2. Two processes trying to access the same memory
2 examples of Hardware interrupt
1. Pressing a key on the keyboard or moving the mouse
2. Disk full
2 ways how an interrupt is generated
1. A signal that can be sent from a device attached to the computer
2. A signal that can be sent from software installed in the computer
[4] What happens as a result of the interrupt?
1. The source of the interrupt is identified
2. The processor checks the priority of the interrupt
3. The interrupt will cause the current process to pause
4. The ISR / OS will handle / service the interrupt
8 steps which will be carried out by the ISR when an interrupt is received and serviced
1. The source of interrupt is identified
2. Processor checks the priority of interrupt
3. If interrupt is of high priority,
4. Processor saves content of current registers
5. Processor calls the Interrupt Service Routine (ISR)
6. The address of the ISR will be loaded (into the program counter)
7. After servicing the interrupt, processor restores the registers
8. The interrupted program continues its execution