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, in this the os is divided into distinct undefended modules that performs a specific function or service .
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
Function of the kernel
1) it provides the lowest level abstraction layer for computer resources like memory, cpu and I/o devices
2) it provides features for low level scheduling process, Interprocess communication etc
3) it provides method for synchronization
4) it provides running program with a method to make request to access these facilities
List and explain the types of kernel
1) monolithic kernel - all the os are combined and stored within a single block code within the kernel
2) micro kernel - only important is structure like interprocess communication and basic memory management are stored in the kernel
3) hybrid kernel - combine elements of monolithic and micro kernel retaining high performance while isolating certain services for modularity