Opreating System
Opreating System
B.TECH
(SEM IV) THEORY EXAMINATION 2018-19
Operating System
Time: 3 Hours Total Marks: 70
Note: 1. Attempt all Sections. If require any missing data; then choose suitably.
2. Any special paper specific instruction.
SECTION A
SECTION B
SECTION C
3. Attempt any one part of the following: 7x1=7
(a) What is an Operating system? Describe the Operating-System Functions
(b) Write about monolithic kernel, layered, and microkernel structures of
operating systems.
http://www.aktuonline.com
Printed Pages:2 Sub Code: RCS401
4. Attempt any one part of the following: 7x1=7
(a) Explain what semaphores are, their usage, implementation given to avoid
busy waiting and binary semaphores.
(b) What is Producer Consumer problem? How it can illustrate the classical
problem of synchronization? Explain.
5. Attempt any one part of the following: 7x1=7
(a) Consider the following process:
P1 2 2 3 3 6 8 7 7 10
P2 2 0 3 4 3 3
P3 1 2 4 3 4 4
Answer the following questions using the banker’s algorithm:
1) What is the content of the matrix need?
2) Is the system in a safe state?
http://www.aktuonline.com
Printed Page: 1 of 2
Subject Code: KCS401
0Roll No: 0 0 0 0 0 0 0 0 0 0 0 0 0
BTECH
(SEM IV) THEORY EXAMINATION 2021-22
OPERATING SYSTEMS
SECTION A
SECTION B
SECTION C
3. Attempt any one part of the following: 10*1 = 10
Q.no Questions Marks CO
(a) Write short notes on following. 10 5
i) File system protection and security and
ii) Linked File allocation methods
(b) Explain in detail about the Dining Philosopher Problem. 10 2
Printed Page: 2 of 2
Subject Code: KCS401
0Roll No: 0 0 0 0 0 0 0 0 0 0 0 0 0
BTECH
(SEM IV) THEORY EXAMINATION 2021-22
OPERATING SYSTEMS
BTECH
(SEM IV) THEORY EXAMINATION 2021-22
OPERATING SYSTEMS
SECTION A
SECTION B
SECTION C
3. Attempt any one part of the following: 10*1 = 10
Q.no Questions Marks CO
(a) Write short notes on following. 10 5
i) File system protection and security and
ii) Linked File allocation methods
(b) Explain in detail about the Dining Philosopher Problem. 10 2
Printed Page: 2 of 2
Subject Code: KCS401
0Roll No: 0 0 0 0 0 0 0 0 0 0 0 0 0
BTECH
(SEM IV) THEORY EXAMINATION 2021-22
OPERATING SYSTEMS
B.TECH.
(SEM IV) THEORY EXAMINATION 2022-23
OPERATING SYSTEMS
Time: 3 Hours Total Marks: 100
Note: Attempt all Sections. If require any missing data; then choose suitably.
SECTION A
1. Attempt all questions in brief. 2 x 10 = 20
(a) Define two main functions of an operating system.
(b) Explain the principal advantages of multiprogramming.
(c) Define the term busy waiting.
(d) Define semaphore and its types.
(e) Explain starvation problem and its solution.
(f) Explain internal and external fragmentation.
(g) Explain thrashing and locality of reference.
(h) Distinguish between physical and logical address space of a process.
(i) Explain various operations associated with a file.
90
2
(j) Explain tree level directory structure.
13
_2
SECTION B
2.
P2
24
(a) Explain the following terms in detail:
3E
5.
(i) Multiprocessor operating system
.5
(ii) Real time system
P2
(b) For the following processes, draw Gantt chart to illustrate the execution using,
|1
(i) Preemptive priority scheduling
(ii) Non-Preemptive priority scheduling.
6
A 0 5 4
B 2 4 2
3
C 2 2 6
02
D 4 4 3
-2
(c) Consider the given snapshot of a system with five processes (P0,P1,P2,P3,P4) and three
08
resources (A,B,C).
Allocation MAX Available
0-
Process/Resource A B C A B C A B C
|1
P0 1 1 2 4 3 3 2 1 0
P1 2 1 2 3 2 2
P2 4 0 1 9 0 2
P3 0 2 0 7 5 3
P4 1 1 2 11 2 3
SECTION C
3. Attempt any one part of the following: 10x1=10
(a) Explain the term RAID and its characteristics. Also, explain various RAID levels with
their advantages and disadvantages.
(b) Explain the concept of file system management. Also, explain various file allocation and
file access mechanisms in details.
2
13
and uses:
_2
(i) FIFO replacement
2.
(ii) LRU replacement
P2
24
(iii) Optimal replacement
(b) Explain the terms hit ratio and miss ratio. On a simple paged system, associative registers
3E
5.
hold the most active page entries and the full-page table is stored in main memory. If
.5
P2
references satisfied by associative registers take 100ns, and references through main
17
memory page table takes 180 ns, what must the hit ratio be to achieve an effective access
Q
(b) Suppose the following disk request sequence (track numbers) for a disk with 100 tracks
is given: 45, 20, 90, 10, 50, 60, 80, 25, 70. Assume that the initial position of the R/W
3
(i) SSTF
(ii) SCAN
-2
(iii) CSCAN
08
(iv) LOOK
0-
(a) Explain Deadlock and necessary conditions for deadlock. Also, Explain resource
allocation graph with suitable diagram.
(b) Explain the followings:
(i) Buffering
(ii) Polling
(iii) Direct Memory Access (DMA)
B. TECH.
(SEM IV) THEORY EXAMINATION 2018-19
OPERATING SYSTEM
Time: 3 Hours Total Marks: 100
Note: Attempt all Sections.
SECTION A
SECTION B
SECTION C
3. Attempt any one part of the following: 10x1= 10
a. Discuss the difference between a time-sharing system and real time system.
b. What do you understand by system call? List and explain four system calls used for
process management.
Draw the Gantt chart and find the average waiting time and turn-around time for the
algorithms.
Process ID Arrival Time Execution Time
A 0 4
B 2 7
C 3 3
D 3.5 3
E 4 5
b. Explain the various CPU scheduling techniques with Gantt charts clearly as
indicated by (process name, arrival time, process time) for the following (A,0,4),
(B,2,7), (C,3,2) and (D,2,2) for FCFS and SRTF.
use of memory?
b. Define virtual memory concepts and also discuss replacement algorithms in brief.
Page 2 of 2
http://www.aktuonline.com