Csc 205 introduction to operating system Flashcards
What is an os
Is a software component of a computer system responsible for the management and coordination of activities and resource sharing of the computer system
Show the diagram that shows the relationship between os and the computer system
Function of os
1)Memory management- it is responsible for the management and allocation of the computer primary memory
2)Device management - it is responsible for managing the computer input and output devices including the transfer of data between the devices and the cpu
3)File management - it is responsible for the organization storing and retrieving of data stored in secondary storage devices like flash drive and hard disks
4) User interface - it is responsible for the provision of a friendly user interface to allow the user to interact with the computer system efficiently
5) Security - it is responsible for protecting the computer from unauthorized access and ensuring data security and integrity
6) Processor management- it is responsible for the management and scheduling of the processor to ensure efficient utilization
Goals of an os
. Efficiency
. Reliability
. Extensibility
. Convenience
. Resource allocation
. Security
What are the primary structures of OS
1) monolithic structure
2)layered structure
3) micro kernel structure
3) modular structure
What is monolithic structure
In this structure the entire os is part of a single code base within the kernel
Characteristics of monolithic structures
1) it had high performance
2) it is less modular
What is the layered structure
It is a is structure in which the os is divided into multiple layers where each layers have specific tasks and only interacts with its adjacent layer
The characteristic of layered structure
Enhances modularity
What is micro kernel structure
Only the most essential os structure like basic memory management and inter process communication are kept In the kernel or nucleus, other services like file management and device drivers are run in the user space
Characteristics of micro kernel
1) improves stability and security as system failure in the user space does not crash the entire os
2) more IPC required
What is modular structure
Allows for the loading and unloading of os structures called modules
Where can modules be found
They can be found organized around the core kernel
Characteristics of modular structures
1) flexible and efficient
2) it is popular among systems that require flexibility and upgradability
Define the os kernel with diagram
Kernel is the core component of the computer os that serves as a bridge between the computer software ware and hardware, managing systems resources and the communication between hardware and software components