Teerthanker Mahaveer University College of Engineering

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 2

Teerthanker Mahaveer University

College of Engineering
Ist Internal Exam
Course- B.Tech-IIndyear
Code- ECS-303
Time : 1.5 Hours Marks:50
Note: Attempt any 3 questions .Q1 is compulsary
Q1. Attempt any four: 5*4 marks
a) What is an Operating System? What are its components?

b) Describe the difference between symmetric and asymmetric multiprocessing.

c) Differentiate between hard and soft real time operating system.

d) Explain process control block.

e) Define scheduling criteria.

f) Explain dispatcher.

Q2 . 7.5*2 marks

a) Explain different types of operating system.

b) Explain process with process state diagram.

Q3. 7.5*2 marks


a) Write short note:
i. Multilevel Queue Scheduling.
ii. Multilevel Feedback Scheduling.

b) Process Burst Time Arrival Time

P1 8 0

P2 4 1

P3 9 2

P4 5 3

i. Calculate the average waiting time by SJF Scheduling.

ii. Calculate the average turnaround time by SJF Scheduling.

Q4. 15marks
a) Process Burst Time Priority

P1 10 3

P2 1 1

P3 2 4

P4 1 4

P5 5 2

The processes are assumed to have arrived in the order P1, P2, P3, P4 ,P5 all at time 0.

i. Draw four Gantt charts illustrate the execution of these processes using FCFS , SJF ,
Priority and RR(Quantum=1) scheduling.

ii. What is the turnaround time of each process for each of scheduling algorithms in part
i.

You might also like