Which resource is typically not virtualized?
CPU
Physical devices such as printers
Network bandwidth
Memory
In the context of scheduling, what is preemption?
A technique used to manage processes in a non-competitive manner.
The ability of the OS to interrupt a currently running process to start or resume another.
A method of scheduling that waits for the currently running process to finish.
Scheduling processes based on their arrival time only.
In the readers-writers problem, what is the primary goal of the synchronization mechanism used?
To prevent readers from reading while a writer is writing.
To allow writers to read before writing.
To maximize the number of concurrent readers.
To ensure all writers can write immediately.
In a paging system, what is the primary purpose of the page table?
To manage I/O operations
To translate logical addresses to physical addresses
To hold data temporarily during execution
To allocate CPU time
What does context switching involve?
Switching between different operating systems.
Switching from user mode to kernel mode.
Changing the priority of a thread.
Saving and loading the state of a thread.
Which method aims to manage resources so that deadlocks never occur?
Deadlock detection
Deadlock avoidance
Deadlock prevention
Deadlock recovery
In Linux, what does mounting a file system do?
Initiates file access for fast loading
Deletes a file system from memory
Creates a temporary storage area
Links a file system to a directory structure
Which of the following is true regarding process synchronization?
Only applicable in shared memory IPC
It helps prevent race conditions
Eliminates the need for semaphores
Is unnecessary in single-threaded applications
In deadlock prevention, which strategy ensures that at least one of the necessary conditions for deadlock cannot hold?
Allocating resources only when the process can obtain all it needs
Allowing preemption of resources
Ensuring processes request resources in a pre-defined order
Allowing indefinite waiting for resource allocation
Which of the following describes the primary advantage of using software virtualization?
Enables rapid deployment of environments
Requires lower maintenance
Provides exclusive access to hardware
Improves system security