Os Assignment - 2 Solved
Os Assignment - 2 Solved
1) Define the following terms: Provide the interface between a running program and OS
➢ System Calls : Programming interface to the services provided by the OS ,
typically written in high level language " C or C++ ".
➢ Kernel Mode : schedules the tasks, manages data/file access and storage,
enforces security mechanisms and performs all hardware access.
➢ Monolithic Kernel : User and monolithic services are kept in same address
space.
1- OS is large in size.
2- execution speed is high.
➢ Micro-Kernel : User services and kernel services are kept in separate address
space .
1- OS is smaller in size.
2- execution speed is low.
layer (layer 0) is hardware and Highest layer (layer N) is the user interface.
1- User interface.
2- VM interface.
3- Hardware interface.
7) What are the advantages of the microkernel approach? What are the
disadvantages of using the microkernel approach?
- Multiple OSes
- Protection
- Software Management.
- Hardware Management.
Monolithic Kernel :
User and monolithic services are kept in same address space.
1- OS is large in size.
2- execution speed is high.
Ex: Unix and Linux.