0% found this document useful (0 votes)
15 views

Comp App2 2021-22 OS

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Comp App2 2021-22 OS

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

CBCS/B.Sc./Hons./3rd Sem.

/CMSACOR06T/2021-22

WEST BENGAL STATE UNIVERSITY


B.Sc. Honours 3rd Semester Examination, 2021-22

CMSACOR06T-COMPUTER SCIENCE (CC6)


OPERATING SYSTEM
Time Allotted: 2 Hours Full Marks: 40
The figures in the margin indicate full marks.
Candidates should answer in their own words and adhere to the word limit as practicable.
All symbols are of usual significance.

GROUP-A
1. Answer any four questions from the following: 2×4 = 8
(a) What is meant by light in light weight process?
(b) What do you mean by PCB?
(c) State the main difference between Logical address and Physical address.
(d) What is Thrashing? How it occurs?
(e) What are the differences between User Level Thread and Kernel Level Thread?
(f) Differentiate between waiting time and response time.
(g) State the difference between Absolute paths and Relative paths.

GROUP-B
Answer any four questions from the following 8×4 = 32
2. (a) Draw the process state diagram and explain its various states. 5
(b) Explain types of scheduler in operating system. 3

3. (a) Compare Network Operating System with Distributed Operating System. 3


(b) What is Segmentation? 3
(c) Define Virtual Memory. 2

4. (a) Why Paging is needed? 2


(b) If page size is 4 kB and logical address is 22 bit then find the number of entries in 2
the page table.
(c) What are the necessary conditions for deadlock? 4

5. (a) What is Race Condition? 2


(b) At a particular time of computation the value of a counting semaphore is 7. Then 2
20 P operations and 15 V operations were completed on this semaphore. Find
resulting value of the semaphore.
(c) Considering a system with five processes P 0 through P4 and three resources of 4
type A, B, C. Resource type A has 10 instances, B has 5 instances and type C has
7 instances.

3060 1 Turn Over


CBCS/B.Sc./Hons./3rd Sem./CMSACOR06T/2021-22
Suppose at time t0 following snapshot of the system has been taken:
Process Allocation Max Available
ABC ABC ABC
P0 0 1 0 7 5 3 3 3 2
P1 2 0 0 3 2 2
P2 3 0 2 9 0 2
P3 2 1 1 2 2 2
P4 0 0 2 4 3 3
What will be the content of the Need matrix? Is the system in a safe state? If yes,
then what is the safe sequence?

6. Consider the following set of processes, with the length of the CPU-burst time 4×2 = 8
given in milliseconds:
Process Burst Time Priority
P1 8 2
P2 6 1
P3 3 4
P4 4 5
P5 7 3
Calculate the average turnaround time and average waiting time of each process
for each of the following scheduling algorithms:
(a) FCFS
(b) SJF.

7. (a) What do you mean by the CPU-burst and I/O-burst times? What could be the 1+2+1
estimation for the next predicted CPU-burst time for SJF scheduling? How can
you say the SJF scheduling as a special kind of Priority Scheduling?
(b) What are the four necessary conditions of deadlock? 4

8. Write short notes on any two of the following: 4×2 = 8


(a) Real Time Operating System
(b) System Call
(c) Starvation.

N.B. : Students have to complete submission of their Answer Scripts through E-mail / Whatsapp to
their own respective colleges on the same day / date of examination within 1 hour after
end of exam. University / College authorities will not be held responsible for wrong
submission (at in proper address). Students are strongly advised not to submit multiple
copies of the same answer script.

——×——

3060
2

You might also like