wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Process Management Quiz

Total questions: 16

Worksheet time: 8mins

Name
Class
Date
1.

What is a process in the context of an operating system?

a)

A program stored on disk

b)

A user interface

c)

A program in execution

d)

A type of hardware

2.

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

a)

Waiting

b)

Running

c)

Suspended

d)

New

3.

What does a Process Control Block (PCB) contain?

a)

Only the memory pointers

b)

Only the program code

c)

Only the process ID

d)

Information associated with each process

4.

What is the purpose of a context switch?

a)

To execute multiple processes simultaneously

b)

To switch the CPU from one process to another

c)

To create a new process

d)

To terminate a process

5.

What system call is used to create a new child process in UNIX?

a)

wait()

b)

exec()

c)

abort()

d)

fork()

6.

What happens when a process terminates?

a)

It enters a waiting state

b)

It creates a new process

c)

It asks the OS to delete it

d)

It remains in memory indefinitely

7.

What is a zombie process?

a)

A process that is currently running

b)

A terminated process whose parent has not called wait()

c)

A process that has been aborted

d)

A process that is waiting for resources

8.

Which of the following is a reason for cooperating processes?

a)

Reduced CPU utilization

b)

Increased memory usage

c)

Information sharing

d)

Isolation of processes

9.

What is the main advantage of shared memory IPC?

a)

It is simpler to set up than message passing

b)

It allows faster communication once set up

c)

It requires system calls for every message

d)

It is slower than message passing

10.

What is the primary function of the process scheduler?

a)

To terminate processes

b)

To manage memory allocation

c)

To create new processes

d)

To select processes for execution on the CPU

11.

What does the wait() system call do?

a)

Creates a new process

b)

Terminates a process

c)

Waits for a child process to terminate

d)

Switches the CPU to another process

12.

What is the role of the heap in a process?

a)

To hold global variables

b)

To contain dynamically allocated memory

c)

To store the program code

d)

To manage process states

13.

What is cascading termination?

a)

When a parent process terminates all its children

b)

When a process creates multiple child processes

c)

When a process waits for another to finish

d)

When a process switches states

14.

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

a)

Idle

b)

Blocked

c)

Running

d)

Ready

15.

What is the main disadvantage of message passing IPC?

a)

It requires system calls for every message transfer

b)

It is faster than shared memory

c)

It is more complicated to set up

d)

It does not work across multiple computers

16.

What is the purpose of the program counter in a PCB?

a)

To track process states

b)

To indicate the next instruction to execute

c)

To store the process ID

d)

To manage memory allocation