In monitors, when is a condition variable signaled?
When a condition for waiting threads changes.
When a resource is released.
When a waiting thread has completed its execution.
When a mutex is unlocked.
Which page replacement algorithm replaces the page that will not be used for the longest period of time in the future?
Second Chance
Optimal
FIFO
LRU
Which of the following is NOT one of the necessary conditions for a deadlock to occur?
Mutual Exclusion
No Preemption
Circular Wait
Hold and Wait
Which of the following is an example of a multithreading issue that can lead to deadlock?
A thread exceeding its time slice.
A thread being starved of resources.
An improper context switch.
Two threads waiting for each other to release resources.
In a paging system, what is the primary purpose of the page table?
To manage I/O operations
To allocate CPU time
To hold data temporarily during execution
To translate logical addresses to physical addresses
Which of the following factors contributes to the effectiveness of Priority Scheduling?
Equal allocation of CPU time to all jobs.
Dynamic adjustment of priorities based on aging.
Static assignment of priorities.
Simplicity of implementation.
What is the main drawback of the FIFO page replacement algorithm?
It uses too much memory
It is less efficient than LRU
It requires additional hardware support
It can lead to Belady's anomaly
Which of the following describes network virtualization?
Virtualizing storage devices on a network
Combining multiple physical networks into a single logical network
Isolating virtual machines from each other in a virtualized environment
Creating multiple virtual network interfaces on a single device
Which one of the following definitions applies to a deadlock?
A state in which two or more processes are unable to proceed because each is waiting for the other to release a resource.
All resources are held by processes.
A state where at least one process is executing.
A process holds a resource and is waiting for another resource.
Which of the following is a major benefit of using caching in an operating system?
Simplified I/O operations
Reduced latency for frequently accessed data
Increased disk space
Elimination of data redundancy