Ise Os Ty 2021 Co
Ise Os Ty 2021 Co
Ise Os Ty 2021 Co
Class: TY B. Tech
Branch: EXTC Semester: V
Full name of the course:Operating system Course Code: 2UTE513
Duration: 1hr.15 min (attempting questions) Max. Marks: 30
+15 min (uploading)
Q. Questions Marks CO
No Mapped
Q1 Multiple choice questions:--
1.1) A system contains three programs and each requires three tape
units for its operation. The minimum number of tape units which
the system must have such that deadlocks never arise is
_________.
a) 6 b) 7 c) 8 d) 9
/* P1 */ /* P2 */
while (true) { while (true) {
wants1 = true; wants2 = true;
while (wants2 == true); while (wants1==true);
/* Critical /* Critical
Section */ Section */
wants1=false; wants2 = false;
} }
/* Remainder section */ /* Remainder section */
1.8) The model in which one kernel thread is mapped to many user-
level threads is called :
a) Many to One model
b) One to Many model
c) Many to Many model
d) One to One model.
2. 1.9) The degree of multi-programming is :
a) the number of processes executed per unit time
b) the number of processes in the ready queue
c) the number of processes in the I/O queue
d) the number of processes in memory.