wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

OS Module-2 Quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

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

a)

A user interface element

b)

A program in execution

c)

A static program file

d)

A type of hardware

2.

Which of the following states indicates that a process is waiting for an event to occur?

a)

New

b)

Waiting

c)

Terminated

d)

Running

3.

What does the Process Control Block (PCB) contain?

a)

Information associated with each process

b)

User interface details

c)

Network configurations

d)

File system data

4.

What is the role of the long-term scheduler?

a)

Controls the degree of multiprogramming

b)

Selects which process should be executed next

c)

Handles memory allocation

d)

Manages I/O operations

5.

In which scenario does a context switch occur?

a)

When a process is terminated

b)

When a process is created

c)

When the CPU switches from one process to another

d)

When a process is waiting for I/O

6.

What is the purpose of interprocess communication (IPC)?

a)

To manage memory allocation

b)

To allow processes to communicate and synchronize actions

c)

To execute processes in parallel

d)

To enhance user interface responsiveness

7.

Which of the following is a model of IPC?

a)

Database management

b)

Network protocols

c)

Shared memory

d)

File system

8.

What is a producer-consumer problem?

a)

A situation where one process produces data and another consumes it

b)

A method for managing memory allocation

c)

A scenario where processes compete for CPU time

d)

A technique for scheduling processes

9.

What does a blocking send operation do in message passing?

a)

Allows multiple messages to be sent simultaneously

b)

Sends a message without waiting

c)

Sends a message and terminates the process

d)

Blocks the sender until the message is received

10.

What is the main advantage of using named pipes over ordinary pipes?

a)

They are easier to implement

b)

They allow bidirectional communication

c)

They require a parent-child relationship

d)

They are unidirectional