Test Your Knowledge on Process Management

Test Your Knowledge on Process Management

This quiz will assess your understanding of process management in operating systems. Test your knowledge now!

published on April 20
1/10

What is the primary goal of process management in operating systems?

What is the primary goal of process management in operating systems?
Maximize CPU utilization
Create new processes
Ensure efficient use of resources
Minimize disk space usage
2/10

Which of the following is NOT a state of a process?

Ready
Running
Waiting
Stopping
3/10

What is a process control block (PCB) used for?

What is a process control block (PCB) used for?
Track resources used by a process
Schedule CPU time for a process
Store the program code of a process
Manage file access permissions
4/10

Which scheduling algorithm gives priority to processes with higher service time?

Which scheduling algorithm gives priority to processes with higher service time?
First Come First Serve (FCFS)
Shortest Job First (SJF)
Priority Scheduling
Round Robin
5/10

What is the purpose of context switching in process management?

What is the purpose of context switching in process management?
Switching from user mode to kernel mode
Saving and restoring CPU state for different processes
Managing shared memory between processes
Creating new processes
6/10

Which of the following is NOT a method of inter-process communication?

Which of the following is NOT a method of inter-process communication?
Shared memory
Message passing
File system
Semaphores
7/10

What is the purpose of a semaphore in process synchronization?

What is the purpose of a semaphore in process synchronization?
Signal completion of a process
Protect shared resources from simultaneous access
Allocate memory to a process
Terminate a process
8/10

What is the difference between a process and a thread?

What is the difference between a process and a thread?
A process has its own memory space, while a thread shares memory with other threads in the same process
A thread runs in kernel mode, while a process runs in user mode
A process has a higher priority than a thread
Threads cannot communicate with each other
9/10

Which of the following is NOT true about deadlock in process management?

Which of the following is NOT true about deadlock in process management?
All processes are waiting for resources held by other processes
Deadlocks can be resolved by aborting processes
Resource allocation graph can be used to detect deadlocks
Deadlocks can cause system hang
10/10

What is the purpose of a zombie process in process management?

A zombie process is a terminated process that is waiting for its parent to read its exit status
A zombie process consumes excessive CPU resources
A zombie process cannot be terminated by the operating system
A zombie process is a high priority process