Sample Answers
Sample Answers
1. Simple Structure
• There was no user/ kernel mode, and so errors in applications could cause the whole
system to crash.
• OS such as MS-DOS and the original UNIX did not have well-defined structures.
2. Monolithic (one unstructured program)
• Entire OS resides in main memory including everything such as system calls, system
programs, device drivers, etc.
Lecture- 02
Q6: Continue-
3. Layered
• The operating system is divided into a number of
layers (levels), providing different functionalities
– The bottom layer (layer 0) is the hardware;
– the highest (layer N) is the user interface.
• A layer can only use the services provided by layer below
• E.g. Windows NT O/S
Lecture- 02
Q6: Continue-
4. Microkernel
• Move as much functionality as possible from the kernel into user space.
• Only a few essential functions in the kernel
– primitive memory management (address space)
– I/O and interrupt management
– Inter-Process Communication (IPC)
– basic scheduling
• Other OS services are provided by processes running in user mode :
– device drivers, file system, virtual memory…
• E.g. Mac OS
Lecture- 02
Q6: Continue-
5. Virtual Machines
• Virtual Machine: provides an interface that looks like independent
hardware, to multiple different OS running simultaneously on the
same physical hardware
• Usage: development and testing of software that must run on
multiple platforms and/or OS.
• Difficulty: involves the sharing of hard drives, which are generally
partitioned into separate smaller virtual disks for each operating OS