AUTHENTIC EXAMINATION ARCHIVE

2025 Operating System Question Paper

MCA 1st Semester Operating System • MPC Autonomous College, Takhatpur, Baripada

Course
MCA
Semester
Semester 1
Year
2025
Exam Type
Regular

Original Examination Scans (2)

Verified Pages
2025 Operating System question paper page 1, MPC Autonomous College, Baripada
Page 1: Operating System (2025)
2025 Operating System question paper page 2, MPC Autonomous College, Baripada
Page 2: Operating System (2025)

Operating System (CA-1.5) 2025 Questions

Transcribed questions for Operating System (MCA, Regular 2025) including all sections, choices, marks, equations, and diagrams.

Operating Systems (CA-1.5): Examination Questions

Q.1 [7.5 + 7.5 = 15 Marks]

(i) Design the structure of the Process Control Block (PCB). Explain each field: Process ID, Program Counter, CPU registers, CPU scheduling information, Memory management info, and I/O status.

(ii) What are the different CPU scheduling algorithms? Calculate the average waiting time and turnaround time of the given processes P1, P2, P3, P4, P5 with arrival times (5, 6, 4, 0, 9) and burst times (5, 10, 2, 6, 5) using FCFS. Construct a Gantt chart.

OR
  1. Discuss different preemptive scheduling algorithms: Round Robin (RR) and Shortest Remaining Time First (SRTF). [7.5 Marks]
  2. Discuss different non-preemptive scheduling algorithms: First-Come First-Served (FCFS), Shortest Job First (SJF), and Priority Scheduling. [7.5 Marks]
Q.2 [7.5 + 7.5 = 15 Marks]

(i) When does a race condition take place? What are the three requirements that must be satisfied by any valid solution to the critical section problem (Mutual Exclusion, Progress, Bounded Waiting)?

(ii) Define semaphores and explain the wait() (P) and signal() (V) atomic operations. Differentiate between binary and counting semaphores with examples.

OR
  1. Describe the Dining Philosophers Problem. Devise an algorithm to solve the problem without deadlock using semaphores. [7.5 Marks]
  2. Define Monitor. Explain how monitors facilitate thread synchronization using condition variables (wait and signal) with an example. [7.5 Marks]
Q.3 [7.5 + 7.5 = 15 Marks]

(i) Which are the four necessary conditions to achieve a deadlock? Explain each: Mutual Exclusion, Hold and Wait, No Preemption, and Circular Wait.

(ii) State and explain Banker's Algorithm for deadlock avoidance with Safety Algorithm and Resource Request Algorithm.

OR
  1. Discuss deadlock prevention techniques by negating each of the four necessary Coffman conditions. [7.5 Marks]
  2. Discuss deadlock avoidance techniques: Resource Allocation Graph (RAG) algorithm and safe state evaluation. [7.5 Marks]
Q.4 [7.5 + 7.5 = 15 Marks]

(i) Differentiate between logical addresses and physical addresses. How are these mapped by the memory mapping hardware? Explain with the help of a diagram:

CPU Logical Addr + Base Register Physical Addr Physical Memory Loaded Program
Figure: Hardware address translation using MMU base/relocation register

(ii) What is internal and external fragmentation? In which memory management technique does internal fragmentation occur, and explain the solution for it (paging and variable partition allocation strategies).

OR
  1. Define paging. Describe the architectural mechanism to implement paging with page tables and Translation Lookaside Buffer (TLB). [7.5 Marks]
  2. What is virtual memory? How can you implement it using demand paging and page replacement algorithms (FIFO, LRU, Optimal)? [7.5 Marks]