During context switching, which information is NOT typically saved?
Memory Segmentation
Process State
Process ID
Program Counter
Which of the following is an example of a multithreading issue that can lead to deadlock?
Two threads waiting for each other to release resources.
A thread exceeding its time slice.
An improper context switch.
A thread being starved of resources.
Which of the following is NOT one of the necessary conditions for a deadlock to occur?
No Preemption
Hold and Wait
Mutual Exclusion
Circular Wait
What is the purpose of file attributes in an operating system?
To provide metadata about files
To execute files
To create backups
To compress files
Which I/O scheduling algorithm favors requests that are closer to the current position of the disk arm and can lower the average wait time?
LOOK
SCAT
SSTF
FCFS
In the context of multithreading, what is 'synchronization' primarily concerned with?
Ensuring mutual exclusion and visibility of shared data.
Improving thread performance.
Managing different operating systems.
Eliminating context switching.
In multi-threading models, which model allows for the highest flexibility in mapping user threads to kernel threads?
One-to-One Model
Many-to-Many Model
Many-to-One Model
Two-Level Model
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 allocate CPU time
To hold data temporarily during execution
In demand paging, pages are loaded into memory:
Only when a page fault occurs
Upon each access by the program
As soon as the program starts running
When the operating system requests it
Which disk scheduling algorithm involves the disk arm moving towards the end of the disk before reversing direction?
C-LOOK
SCAN