My Report

Operating System Mock Test 3


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement
 10%

Question 1 of 10

1. A system has 12 magnetic tape drives and 3 processes : P0, P1, and P2. Process P0 requires 10 tape drives, P1 requires 4 and P2 requires 9 tape drives.

Process    
P0            
P1                             
P2                             

Maximum needs (process-wise: P0 through P2 top to bottom)    
10             
4   
9

Currently allocated (process-wise)
5
2
2

Which of the following sequence is a safe sequence?

Question 1 of 10

Question 2 of 10

2. The ________ consists of all processes whose memory images are in the backing store or in memory and are ready to run.

Question 2 of 10

Question 3 of 10

3. The data structures available in the Banker's algorithm are ____________

Question 3 of 10

Question 4 of 10

4. An ______ uniquely identifies processes and is used to provide address space protection for that process.

Question 4 of 10

Question 5 of 10

5. When the valid - invalid bit is set to valid, it means that the associated page ____________

Question 5 of 10

Question 6 of 10

6. A system has 3 processes sharing 4 resources. If each process needs a maximum of 2 units then, deadlock ____________

Question 6 of 10

Question 7 of 10

7. Illegal addresses are trapped using the _____ bit.

Question 7 of 10

Question 8 of 10

8. If execution time binding is being used, then a process ______ be swapped to a different memory space.

Question 8 of 10

Question 9 of 10

9. In a system that does not support swapping ____________

Question 9 of 10

Question 10 of 10

10. When the memory allocated to a process is slightly larger than the process, then ____________

Question 10 of 10


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.