wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Operating System Concepts

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What is the primary purpose of an operating system?

a)

Running applications

b)

Managing hardware resources

c)

Providing a graphical user interface

d)

Enabling network connectivity

2.

Which component of an operating system is responsible for managing memory?

a)

Kernel

b)

Shell

c)

Compiler

d)

Scheduler

3.

What is the role of the scheduler in an operating system?

a)

Handling user input

b)

Managing I/O operations

c)

Allocating CPU time to processes

d)

Creating virtual machines

4.

What is the purpose of a context switch in an operating system?

a)

To switch between user mode and kernel mode

b)

To transfer data between processes

c)

To save and restore the state of a process

d)

To allocate memory to processes

5.

Which scheduling algorithm ensures that each process gets an equal amount of CPU time?

a)

Round-Robin

b)

First-Come, First-Served (FCFS)

c)

Shortest Job Next (SJN)

d)

Priority-based

6.

What is the difference between preemptive and non-preemptive scheduling?

a)

Preemptive scheduling can run multiple processes simultaneously, while non-preemptive cannot.

b)

Preemptive scheduling allows processes to voluntarily release the CPU, while non-preemptive does not.

c)

Preemptive scheduling can interrupt running processes, while non-preemptive cannot.

d)

Preemptive scheduling is used in real-time systems, while non-preemptive is used in general-purpose systems.

7.

What is the key difference between a monolithic kernel and a microkernel?

a)

Monolithic kernel is more secure than a microkernel.

b)

Microkernel is smaller and less complex than a monolithic kernel.

c)

Monolithic kernel allows direct communication between kernel components.

d)

Microkernel provides better performance for multitasking.

8.

What is the main advantage of using virtual memory in an operating system?

a)

Increased RAM capacity

b)

Faster access to secondary storage

c)

Better security for sensitive data

d)

The illusion of having more physical memory than actually available

9.

What is a deadlock in an operating system?

a)

A state where a process is waiting for a resource held by another process, creating a circular chain of dependencies.

b)

A state where a process has no work to do and waits indefinitely.

c)

A situation where multiple processes are competing for CPU time.

d)

A state where a process is executing in kernel mode.

10.

Which of the following is NOT a basic process state in the process life cycle?

a)

Running

b)

Ready

c)

Terminated

d)

Stopped

11.

What is the purpose of an operating system's shell?

a)

To manage memory allocation

b)

To manage user accounts and permissions

c)

To provide a graphical user interface

d)

To act as an interface for users to interact with the system through commands

12.

What is the role of a device driver in an operating system?

a)

To manage the execution of tasks

b)

To handle external interrupts

c)

To translate high-level programming languages into machine code

d)

To provide an interface for hardware peripherals

13.

Which component of an operating system is responsible for handling system calls and managing user interactions?

a)

Kernel

b)

Shell

c)

Device drivers

d)

Scheduler

14.

Which scheduling algorithm provides the highest average turnaround time?

a)

First-Come-First-Served (FCFS)

b)

Shortest Job Next (SJN)

c)

Round Robin (RR)

d)

Priority Scheduling

15.

Which memory management scheme allows programs to be executed even if they are not fully loaded into memory?

a)

Virtual Memory

b)

Paging

c)

Segmentation

d)

Demand Paging

16.

Which of the following is an example of a non-preemptive scheduling algorithm?

a)

Shortest Job Next (SJN)

b)

Round Robin (RR)

c)

Priority Scheduling

d)

Multilevel Queue Scheduling

17.

Which memory management scheme allows processes to be allocated memory in non-contiguous blocks?

a)

Segmentation

b)

Paging

c)

Virtual Memory

d)

Swapping

18.

Which of the following is an example of a real-time operating system (RTOS)?

a)

Linux

b)

Windows

c)

Android

d)

VxWorks

19.

The method used by the operating system to control access to a shared resource by multiple processes is called:

a)

Synchronization

b)

Memory mapping

c)

Page swapping

d)

Process scheduling

20.

Which of the following is true regarding threads in multithreading?

a)

Threads do not share the same address space.

b)

Threads share the same address space.

c)

Threads run independently without any coordination.

d)

Threads cannot be created dynamically during runtime.