Asim OS Assignment
Asim OS Assignment
Roll No – 90111-231036
Assignment – Operating System
Submitted to – Raheela Younas
Department – IT
Section – A
Semester – 4th
1. Virtual Machine
Definition:
A Virtual Machine (VM) is a software emulation of a physical computer that runs an operating
system and applications just like a physical machine.
System VM: Emulates complete hardware to allow running OSes (e.g., VMware,
VirtualBox ).
Process VM: Designed to run a single program (e.g., Java Virtual Machine).
Benefits:
Example:
Running Windows on a mac OS machine using Virtual Box is an example of a system VM.
2. System Models
Types:
1. Monolithic System:
o Single large kernel
o All system services run in kernel mode
o Example: Early UNIX
2. Layered System:
o Organized in layers
o Each layer builds on services from the lower ones
o Example: THE system
3. Microkernel System:
o Only essential services run in kernel mode (e.g., communication)
o Other services run in user space
o Example: QNX, Minix
o
4. Client-Server Model:
o OS services are provided by servers
o Clients request services over a network
Use:
System models guide OS design and help manage complexity and modularity.
SYSGEN is the process of configuring an operating system for a specific hardware environment.
Steps:
Importance:
Example:
Configuring Linux kernel with make menuconfig for a custom Raspberry Pi build.
Describes the structure and behavior of a computer system including its components and how
they interact.
Components:
Architecture Types:
Example:
An interrupt is a signal to the processor indicating an event that needs immediate attention.
Types:
Common Functions:
Example:
Pressing a key generates a hardware interrupt which causes the CPU to read the keystroke.
6. Input / Output (I/O) Structure
Components:
I/O Techniques:
Example:
DMA is used when transferring large files from disk to RAM without CPU overhead.
7. Storage Structure
Memory Hierarchy:
Types of Storage:
Example:
When a program is executed, it is loaded from secondary storage into main memory and uses
cache and registers during execution.