Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Operating System Concepts Quiz chapter 3

Total questions: 23

Worksheet time: 12mins

Name
Class
Date
1.

What is a process?

a)

A program in execution

b)

A static file on disk

c)

A type of memory allocation

d)

A user interface component

2.

Which state indicates that a process is waiting for an event to occur?

a)

New

b)

Terminated

c)

Running

d)

Waiting

3.

What does the Process Control Block (PCB) contain?

a)

Information about the process state and resources

b)

Network configuration

c)

Only the process ID

d)

User interface details

4.

What is the first state a process enters when it is created?

a)

New

b)

Running

c)

Ready

d)

Terminated

5.

What is context switching?

a)

Switching between different operating systems

b)

Switching memory allocation

c)

Switching from one process to another

d)

Switching between different user interfaces

6.

What is the role of threads in an operating system?

a)

To manage file systems

b)

To handle user input

c)

To execute multiple tasks simultaneously within a process

d)

To manage memory allocation

7.

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

a)

exec()

b)

fork()

c)

wait()

d)

exit()

8.

What happens to a process when it terminates?

a)

It is deleted and its resources are deallocated

b)

It continues to run in the background

c)

It becomes a zombie process

d)

It is suspended

9.

What is a lightweight process?

a)

A process that is terminated quickly

b)

A process that runs in the background

c)

A thread

d)

A process that uses minimal memory

10.

What is the purpose of the wait() system call?

a)

To create a new process

b)

To switch between processes

c)

To terminate a process

d)

To wait for a child process to finish

11.

What is the state of a process that is waiting for I/O?

a)

Blocked

b)

Running

c)

Terminated

d)

Ready

12.

What does the term 'suspend ready' refer to?

a)

A process that is ready but not in main memory

b)

A process that is waiting for I/O

c)

A process that has finished execution

d)

A process that is currently running

13.

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

a)

Current activity

b)

Program code

c)

User interface

d)

Stack

14.

What is the main advantage of multithreading?

a)

Reduced CPU usage

b)

Increased memory usage

c)

Simplified process management

d)

Improved responsiveness and resource sharing

15.

What is a zombie process?

a)

A process that is suspended

b)

A process that is waiting for I/O

c)

A terminated process that has not been cleaned up

d)

A process that is currently running

16.

What is the primary function of the operating system regarding processes?

a)

To handle network communications

b)

To execute user commands

c)

To manage and execute multiple programs

d)

To provide a graphical user interface

17.

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

a)

It indicates the process's memory usage

b)

It manages I/O operations

c)

It points to the next instruction to execute

d)

It stores the process's ID

18.

What is the main purpose of the exec() system call?

a)

To wait for a child process

b)

To replace the current process's memory space with a new program

c)

To create a new process

d)

To terminate a process

19.

What is the role of the parent process in process creation?

a)

It can create multiple child processes forming a tree

b)

It can only create one child process

c)

It manages all child processes

d)

It cannot terminate child processes

20.

What is the main disadvantage of using multiple processes instead of threads?

a)

Increased resource sharing

b)

Higher memory consumption and overhead

c)

Simplified execution

d)

Faster execution

21.

What is the main function of the abort() system call?

a)

To wait for a child process

b)

To replace a process's memory space

c)

To terminate a process immediately

d)

To create a new process

22.

What is the main characteristic of a multithreaded application?

a)

It requires more memory than single-threaded applications

b)

It can only run one task at a time

c)

It is easier to manage than single-threaded applications

d)

It can perform multiple tasks simultaneously

23.

What happens to a child process if its parent terminates without waiting?

a)

It continues to run normally

b)

It becomes an orphan process

c)

It is terminated immediately

d)

It becomes a zombie process