In which CPU scheduling approach are processes grouped into different queues based on their priority?
Shortest Job Next
Non-Preemptive Scheduling
Preemptive Scheduling
Multilevel Queue Scheduling
Which of the following is NOT a function of an operating system?
Process management
Memory management
Device management
Data compilation
What occurs during context switching?
CPU registers and state are saved and restored
A process is moved to the ready state
The system switches from a user mode to kernel mode
Processes are deleted from memory
In preemptive scheduling, what allows a higher-priority process to interrupt a lower-priority one?
Process blocking
Time quantum expiration
Process aging
Priority levels
When using Shortest Job Next (SJN) scheduling, what is the risk associated with prioritizing shorter jobs?
Increased waiting time for all jobs
Starvation of longer jobs
Complex implementation
Decreased CPU utilization
What mechanism is typically employed in a file system to ensure consistency after a crash?
Commit Log
Redundant Storage
File Deletion
Backup and Restore
Which of the following best describes virtualization?
Improving overall application speed through hardware upgrades.
Combining different hardware devices to enhance performance.
Operating systems that do not require a physical server.
Running multiple operating systems on a single physical machine.
What distinguishes paging from segmentation in memory management?
Paging divides memory into fixed-size blocks, while segmentation divides it into variable-sized segments.
Paging is used to manage disk space, while segmentation is used for memory allocation.
Paging allows for continuous memory allocation, whereas segmentation does not.
Paging requires hardware support, while segmentation does not.
What occurs during a process's creation in an operating system?
The process directly starts executing
The process gains access to all system resources
The process immediately enters the terminated state
A new PCB is created and initialized
What is the main difference between contiguous and non-contiguous memory allocation?
Contiguous requires more memory space
Non-contiguous allocates memory in fixed sizes
Contiguous allocates memory in a single block, non-contiguous can allocate in multiple blocks
Non-contiguous is faster than contiguous allocation