Operating System
Operating System
o i) kill
o ii) sleep
3. Define Inter-process Communication (IPC) and explain the Shared Memory Model with a
diagram.
4. Explain the CPU Burst and I/O Burst Cycle with a diagram.
1. What is the purpose of a System Call? Explain any two types with examples.
2. Describe the Contiguous File Allocation Method with its advantages and disadvantages.
1. Explain the First-Come-First-Serve (FCFS) and Shortest Job First (SJF) scheduling algorithms
with a Gantt chart and calculate the average waiting time.
o i) Fixed Partitioning
o i) Many-to-One
o ii) One-to-One
o iii) Many-to-Many
1. What are the Free Space Management Techniques? Explain the Bit Vector Method in detail.
2. Explain the Contiguous vs. Linked File Allocation Methods with diagrams.
o A real-time operating system processes data as it comes in, typically within a strict
time constraint.
o Applications:
2. Industrial automation
4. Military systems
o User Interface: Allows communication with the OS via CLI, GUI, or batch interface.
o I/O Operations: Manages devices like printers, keyboards, and disk drives.
o States:
o Virtual memory allows programs to use more memory than physically available by
using disk storage as an extension of RAM.
o Processes execute in a cyclic order. If a process doesn't finish, it's preempted and
moved to the end of the queue.
(Example: Reference the example from the model paper, using a time quantum of
4ms)
o Deadlock: A situation where a set of processes are blocked because each process is
waiting for a resource held by another.
o Conditions:
1. Mutual Exclusion
3. No Preemption
4. Circular Wait
o Examples:
4. Scheduling Criteria:
4. File Operations:
o Creating a File
o Reading a File
o Writing to a File
o Deleting a File
1. Types of Schedulers:
2. Partitioning Methods:
3. Multi-threading Models:
o Tracks free and allocated blocks using a bit array (1 = free, 0 = allocated).
3. Multithreading Models:
(Discuss advantages and disadvantages of each model as above)