New HPSC PGT Computer Science, KVS, NVS & RPSC Programmer Topic-wise Video Lectures, Notes & Test Series Added! YouTube →
HPSC PGT CS / KVS / NVS • Operating System (OS) (Guest Mode: Free Quiz #1 of 2)

Operating System Mock Test #1: CPU Scheduling, Synchronization & Deadlocks

10:00
Question 1 of 5 Correct: +2 | Negative: -0.5
Consider a system having 5 processes where each process requires a maximum of 4 instances of resource type R. What is the minimum number of instances of R required so that deadlock NEVER occurs?
Question 2 of 5 Correct: +2 | Negative: -0.5
Which of the following CPU scheduling algorithms is provably optimal in terms of providing the minimum average waiting time for a given set of processes?
Question 3 of 5 Correct: +2 | Negative: -0.5
A counting semaphore is initialized to 12. Then 10 P (wait) operations and 6 V (signal) operations are completed on this semaphore. What is the resulting value of the semaphore?
Question 4 of 5 Correct: +2 | Negative: -0.5
Which phenomenon occurs in Dynamic Partitioning / Segmentation when free memory is broken into many small non-contiguous blocks and cannot satisfy a request despite sufficient total free memory?
Question 5 of 5 Correct: +2 | Negative: -0.5
Belady's Anomaly (increasing the number of page frames results in an increase in the number of page faults) can occur in which page replacement algorithm?

Ready to Finish Your Mock Test?

Click Submit below to calculate your instant score, accuracy percentage, and view detailed explanations.

Video Lecture

Watch directly here or open on YouTube to comment & subscribe. Open on YouTube

Study Notes