wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Operating System Concepts Quiz

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

Which statement best describes the primary role of an operating system in a computer system?

a)

It allows applications to directly communicate with hardware

b)

It manages hardware resources and provides services to applications

c)

It executes only background processes

d)

It replaces the need for application software

2.

Which of the following is NOT considered a core function of an operating system?

a)

Managing processes and memory

b)

Controlling input/output operations

c)

Compiling high-level code into machine code

d)

Managing files and directories

3.

A system call is used primarily for which purpose?

a)

To allow user programs to directly manipulate hardware

b)

To provide a controlled interface for user programs to request kernel services

c)

To translate programming code

d)

To stop the operating system

4.

The exec() system call is typically used for which operation?

a)

Duplicating the calling process

b)

Loading and running a new program in the current process space

c)

Terminating a running process

d)

Blocking a process until an event occurs

5.

What makes threads “lightweight” compared to processes?

a)

They have their own full memory space

b)

They share a process’s resources, reducing overhead

c)

They require more CPU time

d)

They run in kernel mode only

6.

Which of the following correctly describes thread memory sharing?

a)

Threads share only the CPU but not memory

b)

All threads of a process share code, data, and open files

c)

Threads have completely independent memory regions

d)

Threads cannot share any system resources

7.

What is the main benefit of multithreading in modern operating systems?

a)

It requires less programming effort

b)

It allows multiple tasks within a process to run independently, improving performance

c)

It increases memory usage intentionally

d)

It disables multitasking

8.

Which scenario best demonstrates multitasking?

a)

One program running multiple functions

b)

A computer running a browser, music player, and file download at the same time

c)

A single-threaded program

d)

A process waiting while another runs

9.

What is the kernel responsible for in an operating system?

a)

Displaying icons and windows

b)

Managing memory, CPU, and hardware interactions

c)

Providing device drivers only

d)

Handling application-level functions only

10.

Which of the following is NOT a type of kernel architecture?

a)

Monolithic kernel

b)

Microkernel

c)

Hybrid kernel

d)

Distributed kernel

11.

In UNIX-like systems, which system call is responsible for creating a new process?

a)

open()

b)

fork()

c)

join()

d)

resume()

12.

Preemptive multitasking allows the operating system to:

a)

Let processes run until they voluntarily yield

b)

Forcefully interrupt a process to allocate CPU to another process

c)

Run only one process at a time

d)

Stop multitasking entirely

13.

What does the wait() system call do in process management?

a)

Suspends all processes

b)

Pauses the parent process until a child process finishes

c)

Destroys a running process

d)

Switches context between two processes

14.

What is a key characteristic of a microkernel architecture?

a)

All services run in kernel mode

b)

Only minimal core services run in the kernel; others run in user space

c)

It is slower than monolithic kernels

d)

It contains no device drivers

15.

Which scheduling algorithm executes processes in the order they arrive?

a)

Shortest Job Next

b)

First-Come, First-Served

c)

Priority Scheduling

d)

Multilevel Queue Scheduling

16.

What is a major disadvantage of monolithic kernels?

a)

They have poor performance

b)

They are harder to debug and maintain due to their large size

c)

They don’t support system calls

d)

They don’t support multitasking

17.

Why are system calls necessary in an OS?

a)

They allow user programs to safely request services from the kernel

b)

They let programs bypass the OS

c)

They are optional for hardware access

d)

They only work in real-time OS

18.

Which statement best compares threads and processes?

a)

Threads run independently with their own memory

b)

Threads share resources of the process, while processes are isolated

c)

Processes run inside threads

d)

Threads cannot run concurrently

19.

The Memory Management Unit (MMU) performs which key task?

a)

Schedules CPU tasks

b)

Translates virtual addresses into physical addresses

c)

Manages I/O devices

d)

Handles file permissions

20.

Which OS component decides which process gets CPU time next?

a)

File manager

b)

Scheduler

c)

Memory allocator

d)

I/O handler

21.

A context switch occurs when the OS:

a)

Deletes unused memory

b)

Switches CPU execution from one process/thread to another

c)

Transfers data to I/O devices

d)

Executes a system call

22.

Which of the following is a classic example of a time-sharing operating system?

a)

MS-DOS

b)

UNIX

c)

Windows 3.1

d)

BIOS

23.

Why are microkernels considered more reliable?

a)

They run everything in kernel mode

b)

Crashes in user-space services do not crash the entire system

c)

They lack device drivers

d)

They cannot support multitasking

24.

What does a kernel panic represent?

a)

A minor warning

b)

A critical error that forces the OS to halt

c)

A slow process

d)

A network timeout

25.

Which CPU scheduling approach selects the process with the least execution time first?

a)

Priority scheduling

b)

First-Come, First-Served

c)

Shortest Job Next (SJN)

d)

Round Robin