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

Operating Systems

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

Operating Systems

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

Code: CS20APC504 R 20

B.Tech III Year I Semester Regular Examinations February - 2023


OPERATING SYSTEMS
(Computer Science & Engineering)
Time: 3 hrs. Max Marks: 60
PART-A
(Compulsory Question)

1. Answer the following 05 x 02 = 10 Marks

a) What are the five major categories of System Calls? 2M


b) Discuss the main advantages of layered approach to system design. 2M
c) Distinguish between page and segment. 2M
d) List disadvantages of using a single directory. 2M
e) Define virus, bus and cache. 2M

PART-B
Answer All five Units 05 x 10 = 50 Marks

UNIT-I
2. a) Explain about process control block. 5M
b) What is an operating system? Elucidate on the objectives and Services offered by 5M
the operating system.
OR
3. a) Write a short note on the following terminologies associated with the operating 5M
system:
i) Multiprogramming systems.
ii) Multitasking systems.
b) Write about operations on process. 5M
UNIT-II
4. a) What is semaphore? Explain its implementation as wait and signal for providing 5M
process synchronization.
b) What is readers-writers problem? Solve the problem using semaphores. 5M
OR
5. a) What is the critical section? What are the minimum requirements that should be 5M
satisfied by a solution to critical section problem?
b) Explain about multithreading models. 5M

Page 1 of 2
Code: CS20APC504 R 20
UNIT-III
6. a) Explain with the help of examples FIFO and LRU, optical page replacement 5M
algorithms with example reference string. Mention the merits and demerits of each
of the above?
b) Assume that a system consists of five jobs (J1, J2, J3, J4 and J5) and three 5M
resources (R1, R2 and R3). Resource type R1 has 10 instances, Resource type
R2 has 5 instances and Resource type R3 has 7 instances. For the following
snapshot of the system, find the need matrix and calculate the safe sequence by
using Banker's algorithm. Check whether the system is in safe state or not?
Jobs Allocation Maximum Available
R1 R2 R3 R1 R2 R3 R1 R2 R3
J1 0 1 0 7 5 3 3 3 2
J2 2 0 0 3 2 2
J3 3 0 1 9 0 2
J4 2 1 1 2 2 2
J5 0 0 2 4 3 3
OR
7. a) Explain about the difference between internal fragmentation and external 5M
fragmentation?
b) Demonstrate the working procedure of FCFS, SSJF and SCAN, LOOK and 5M
C-LOOK disk scheduling with neat sketch.
UNIT-IV
8. a) Explain about recovery from deadlock. 5M
b) Explain different free space management techniques in detail. 5M
OR
9. a) Write a detailed note on various RAID levels. 5M
b) Explain different directory implementation methods with neat sketches. 5M
UNIT-V
10. a) Write a note on following 5M
i) viruses
ii) Computer Security Specification.
b) What is a firewall? Explain how firewall protects system and networks from the 5M
external world.
OR
11. a) What is cryptography? How cryptography will be considered as a security tool? 5M
b) What is Access Matrix? Explain implementation of Access Matrix in detail. 5M

*****

Page 2 of 2

You might also like