You are on page 1of 2

Federal Urdu University of Arts, Science and Technology, Islamabad

Department of Computer Science


Final-Term Examination Spring 2021
Operating System Date:28 July, 2021
Muhammad Zeshan Qurashi BS(CS) 5th A Morning
Duration: 180 Total Marks : 50

Question # 1 10 Marks

a) Differentiate between Multi programming and Multi processing.


b) Explain the Various Functions of Operating system with respect to
a. Process management
b. Memory Management.

Question # 02 10 Marks

a) What is race condition? List the requirements that a solution to critical section Must
satisfy? Explain readers Writer Problem.
b) What is PCB? What are different states in which process can be in its life cycle, discuss
with the help of state transition diagram.

Question # 03 10 Marks

a) Discuss the Five Different Scheduling Criteria used in Comparing Scheduling


Mechanisms.
b) Describe the Actions an operating system takes to context switch between processes.
c) Differentiate Between
a. Process and Thread.
b. User level and Kernel level thread.
c. Multi threading Models.

Good Luck
Question # 04 10 Marks

a) Explain the Advantages of layered Approach with a help of diagram.


b) Explain the Concept of Virtual Machine (VM), and main advantages of using VM
architecture with the help of Diagram of VM Architecture.

Question # 05 10 Marks

a) Consider the Following Set of processes, with the length of the CPU Burst time given in
milliseconds:

Processes Arrival time Burst time Priority

P1 0 10 3

P2 0 1 1

P3 3 2 3

P4 5 1 4

P5 10 5 2

a. Draw Four Gant charts illustrating the execution of these processing using FCFS,
SJF, a non-preemptive priority and RR (Quantum=2) scheduling.
b. What is the Turn around, and waiting time of each process for each scheduling
Algorithm in (a).

After solving Mid Exam, you will upload it on Google Form link (whose link will be shared through
whatsapp). To upload click Here.

Good Luck

You might also like