WorksheetsOperating System Concepts Quiz
Total questions: 20
Worksheet time: 10mins
A process is waiting for a resource that never becomes free. What situation is this?
Starvation
Deadlock
Fragmentation
Buffer overflow
True or False: The OS handles both the creation and termination of processes.
True
False
Which of the following are examples of resources managed by the operating system? (Select all that apply)
CPU time
Main memory
Printer
Application icons on the desktop
What role do device drivers play in the OS?
Translate OS commands into hardware instructions
Encrypt all user data
Schedule multiple processes
Manage network communication directly
True or False: Synchronization helps two processes share a common variable safely without causing data inconsistency.
True
False
Which of these would result in a communication deadlock?
Two processes requesting memory simultaneously
Messages being sent with no receiving process available
Improper network routing tables
A power failure during process execution
Select all OS functions that involve protection of system data.
File access control
Encryption
Virtual memory
Authentication
The OS dividing memory into fixed-size blocks for process allocation refers to:
Paging
Fragmentation
Buffering
Switching
True or False: Buffering improves performance by balancing the speed difference between devices and the CPU.
True
False
When the OS removes inactive programs from main memory but keeps them on the disk for reuse, it is performing:
Swapping
Caching
Virtualization
Defragmentation
Select all activities included in process management.
Scheduling
File organization
Deadlock handling
Synchronization
You notice that files are arranged in a tree-like structure on your computer. This is due to:
File organization in the OS
Process control block
Memory tracking table
Device mapping
True or False: In a multi-tasking environment, each process shares the same memory space to improve speed.
True
False
In communication management, which technique allows processes to directly exchange small blocks of data?
Message passing
Paging
Segmentation
Buffering
Select all tasks that belong to resource management.
Allocation of CPU time and memory
Accounting of resource usage
Synchronization among processes
Organizing hierarchical file structures
True or False: Encryption in an OS only protects system-level files but not user data.
True
False
If a process continually uses the CPU while others remain in queue, which problem is the OS experiencing?
Fragmentation
Starvation
Paging error
Buffer overflow
A user logs into the computer using a password before accessing system files. This is an example of:
Authentication
Synchronization
Mapping
Virtual memory
Select all the examples of memory management functions.
Allocation and de-allocation
Protection
Tracking usage of memory blocks
Message passing
True or False: The OS ensures that failed programs automatically restart using the same memory allocation.
True
False
