What is the purpose of file attributes in an operating system?
To compress files
To execute files
To provide metadata about files
To create backups
What is the main purpose of using a semaphore in process synchronization?
To provide mutual exclusion to shared resources.
To increase processor speed.
To serialize access to a shared resource.
To enable efficient memory allocation.
Which virtualization technique is most effective for network resources?
Memory Virtualization
Disk Virtualization
Network Virtualization
Application Virtualization
What happens to a process when it calls the exit system call?
It is terminated and cannot be resumed
It enters the Blocked state
It waits for other processes to finish
It moves to the Ready state
In which situation might caching introduce inconsistency problems?
When data is updated frequently
When the cache size is too large
When data is infrequently accessed
When multiple users access the same file concurrently
Which scheduling algorithm can lead to starvation of lower priority processes?
Round Robin (RR)
Priority Scheduling
Shortest Job Next (SJN)
First-Come, First-Served (FCFS)
Which of the following represents the modified SCAN algorithm that only services requests in one direction from the current head position?
SCAN
FCFS
LOOK
C-SCAN
What would most likely happen in a deadlock situation?
Processes will wait indefinitely
System performance will improve
Resources will be allocated more efficiently
All processes will be terminated
What does a Process Control Block (PCB) primarily contain?
CPU registers
Memory allocation details
Process scheduling information
All of the above
Which level of memory hierarchy is usually the fastest and smallest in terms of capacity?
Main memory
Cache
Secondary storage
Registers