3 system software Flashcards
What is system software?
System software allows control over hardware and software of the computer. The two most common types of system software is the operating system and system start up software.
What is application software?
Application software is software that allows the user to carry out a specific task, for example sending emails or making text documents.
The OS is responsible for…
Managing the computers resources. These include storage devices, input and output devices main memory and all software that is running on the computer.
When the computer boots up it will load the main part of the OS on into the RAM. This is known as the kernel
Memory manager
Responsible for splitting the ram into chunks and assigning them to different processed based on need. It is also responsible for handling virtual memory.
Process manager
Responsible for managing processes, dealing with multitasking and deciding the order in which processes should be run.
File manager
Responsible for managing the file systems of secondary storage devices.
What does memory management do?
- allocate enough memory so that each process can run.
- split memory up so that it can be allocated to processes(paging/segmentation).
- ensure security so that other processes cannot access each others data.
- allow efficient sharing of memory.
- extend memory by using virtual memory.
What does the RAM contain.
- the OS
- currently running programs
- current files and data you are working on
Memory addressing
each byte is numbered starting from 0, and this number is referred to as an address. when addressing is mentioned this usually talking about where we find data in the RAM.
paging
paging is physical segments made in the memory.
they are of a fixed size.
each process has its own private view of pages.
segmentation
segmentation allocates memory in variable size segments, this means that it can allocate places in the RAM of set size.
virtual memory
when the memory manager sees that some pages have not been used recently then it moves the blocks into virtual memory. virtual memory is a part of the hard drive where the data is stored until the data is needed or room is freed on the RAM.
thrashing
Thrashing occurs when poor choices are made and pages are continuously moved back and forth from RAM and virtual memory.
This can cause unresponsive processes.
interrupts
hardware can send signals to the CPU known as interrupts. as the CPU is carrying out the FDE cycle it checks for interrupts at the end of each cycle so then the process can be done by the CPU before continuing others.
common interrupts
- hard drive ready for more data to save or has retrieved requested data.
- timer interrupt has occurred.
- key has been pressed.
- peripheral requires more data (printers)
- the on/off button has been pressed.
- hardware failure or problem encountered.
buffers
a buffer is a small block of memory inside hardware devices like printers and keyboards that holds data if keys have been pressed but the CPU is not ready for them. if the buffer becomes full the motherboard warns the user with a beep.