0% found this document useful (0 votes)
47 views1 page

OS Assignment 2

The document outlines an assignment for a Computer Science and Engineering course focused on Operating Systems. It includes questions related to the critical section problem, the banker’s algorithm, segmentation concepts, and page faults. Each question is mapped to specific course outcomes and program specific outcomes.

Uploaded by

vishnupriyapacet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views1 page

OS Assignment 2

The document outlines an assignment for a Computer Science and Engineering course focused on Operating Systems. It includes questions related to the critical section problem, the banker’s algorithm, segmentation concepts, and page faults. Each question is mapped to specific course outcomes and program specific outcomes.

Uploaded by

vishnupriyapacet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

22CAPC402 OPERATING SYSTEMS ASSIGNMENT-II QUESTIONS


CLASS-II CSE A
S.NO Questions Mapping Mapping with PO
with CO and PSO
1 State critical section problem? Discuss three solutions to CO2 PO-1,2,3,4,5,9,10,
solve the critical section problem. 11,12 ;PSO-1,2,3

2 Consider the following system snapshot using data structures CO2 PO-1,2,3,4,5,9,10,11,
in the banker’s algorithm, with resources A, B, C and D and 12,
PSO-1,2,3
process P0 to P4.
Max Allocation Available
ABCD ABCD ABCD
P0 6012 4001 3211
P1 1750 1100
P2 2356 1254
P3 1653 0633
P4 1656 0212
Using banker’s algorithm, Answer the following questions:
a) How many resources of type A, B, C and D are there?
b) What are the contents of the need matrix?
c) Is the system in a safe state?
d) If a requests from process P4 arrives for additional
resources of (1,2,0,0), can the banker’s algorithm grant the
request immediately? Show the new system state and other
criteria.
3 Explain the basic concepts of segmentation. CO3 PO-1,2,3,4,5,9,10,11,
12;PSO-1,2,3
4 When page fault occur?Describe the action taken by OS during CO3 PO-1,2,3,4,5,9,10,11,
page fault. 12;PSO-1,2,3

Faculty In-Charge HOD

You might also like