wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Chapter 1 – Operating Systems Worksheet

Total questions: 65

Worksheet time: 33mins

Name
Class
Date
1.

What is an operating system?

a)

A collection of hardware devices that make up a computer system

b)

Software that manages both computer hardware and software resources

c)

A programming language used for writing code and developing applications

d)

An internet browser that allows users to access online websites and services

2.

Which of the following is not a function of an operating system?

a)

Memory management

b)

Process management

c)

Hardware manufacturing

d)

File management

3.

Which of these operating systems is designed mainly for smartphones?

a)

Windows

b)

Linux

c)

Android

d)

UNIX

4.

The part of an operating system that directly interacts with the hardware is called:

a)

User interface

b)

Kernel

c)

Compiler

d)

File system

5.

What is the main purpose of an operating system?

a)

To provide an environment that allows users to execute and manage programs

b)

To design and develop computer hardware components used in the system

c)

To connect computers and manage communication over the internet network

d)

To compile source code and translate it into executable programming languages

6.

Which of the following is an example of a multi-user operating system?

a)

MS-DOS

b)

Windows 95

c)

UNIX

d)

Android

7.

Which operating system is open-source and widely used for servers?

a)

macOS

b)

Windows

c)

Linux

d)

iOS

8.

What does “booting” refer to in an operating system?

a)

Shutting down the computer

b)

Starting up the computer & loading the OS

c)

Installing software

d)

Formatting the hard drive

9.

The user interface that uses icons and windows is called _________.

a)

Command-Line Interface (CLI)

b)

Graphical User Interface (GUI)

c)

Batch Interface

d)

Text Interface

10.

Which of the following is not a type of operating system?

a)

Real-time OS

b)

Batch OS

c)

Time-sharing OS

d)

Compiler OS

11.

Which of the following best describes a thread?

a)

A complete and independent program executed by the system

b)

The smallest unit of CPU scheduling within a process

c)

A regular file stored and managed in the operating system

d)

A hardware interrupt signal generated by computer devices

12.

What are system resources in an operating system?

a)

Only memory and CPU used by the system

b)

Hardware and software components managed by the OS

c)

Network devices and related connections controlled by the OS

d)

Application programs that interact with system resources

13.

Which of the following is not considered a system resource?

a)

CPU time

b)

Memory

c)

Files

d)

Web browser

14.

The process control block (PCB) contains which of the following types of information?

a)

The file directory structure and paths used by the operating system

b)

A process’s current state, program counter, CPU registers, and related details

c)

The list of device drivers installed and managed by the operating system

d)

The network configuration and communication parameters of the computer

15.

What is a system call?

a)

A request made by a process to the operating system for a service

b)

A direct hardware interrupt

c)

A programming language function

d)

A communication between two processes

16.

Which of the following best describes the relationship between a process and its threads?

a)

Threads share the same memory and system resources of a single process

b)

Each thread operates independently inside its own process environment

c)

Threads are unable to share any data or memory between executions

d)

A process may contain only one thread that performs all operations

17.

What happens during a context switch?

a)

The CPU begins executing a different instruction from the same program

b)

The OS saves the current state of one process and loads another process to run

c)

The computer system performs a restart operation to refresh all running tasks

d)

A user logs out of the current session and ends all active programs

18.

Which part of the operating system executes privileged instructions?

a)

User mode

b)

Kernel mode

c)

Application mode

d)

I/O mode

19.

How does a process usually request access to a hardware device in an operating system?

a)

Direct access to the hardware without any mediation

b)

A system call that is handled and managed by the kernel

c)

A user-level function executed within the application program

d)

The file manager that organizes files and device resources

20.

Which type of operating system executes a batch of jobs without user interaction?

a)

Real-time OS

b)

Batch OS

c)

Time-sharing OS

d)

Distributed OS

21.

In which type of operating system do multiple users share system resources simultaneously?

a)

Single-user OS

b)

Time-sharing OS

c)

Batch OS

d)

Real-time OS

22.

Which operating system type is used when tasks must be completed within strict time limits?

a)

Real-time OS

b)

Distributed OS

c)

Batch OS

d)

Network OS

23.

A distributed operating system is mainly designed to:

a)

Manage one single computer system

b)

Connect & manage multiple computers as one system

c)

Run only on mobile devices

d)

Execute one job at a time

24.

Which of the following is an example of a network operating system?

a)

Windows Server

b)

Android

c)

macOS

d)

MS-DOS

25.

Which of the following is a primary function of an operating system?

a)

Compiling source code

b)

Managing hardware & software resources

c)

Designing hardware circuits

d)

Creating computer networks

26.

Which operating system function keeps track of where programs and data are stored in memory?

a)

File management

b)

Memory management

c)

Process scheduling

d)

Device management

27.

The operating system function responsible for controlling input and output devices is called:

a)

Device management

b)

File management

c)

Network management

d)

Process management

28.

Which OS function is responsible for allocating the CPU to various processes?

a)

Memory management

b)

Process scheduling

c)

Security management

d)

File management

29.

What is the main goal of file management in an operating system?

a)

To manage file creation, deletion, & access

b)

To install applications

c)

To monitor CPU temperature

d)

To control peripheral devices

30.

Which scheduling algorithm gives the CPU to the process that arrives first?

a)

Shortest Job Next (SJN)

b)

First-Come, First-Served (FCFS)

c)

Round Robin (RR)

d)

Priority Scheduling

31.

Which scheduling algorithm assigns a fixed time unit per process in a cyclic order?

a)

FCFS

b)

SJF

c)

Round Robin (RR)

d)

Priority Scheduling

32.

In Shortest Job First (SJF) scheduling, which process is selected next?

a)

The one with the highest priority

b)

The one with the shortest CPU burst time

c)

The one that arrived first

d)

The one with the longest waiting time

33.

In Priority Scheduling, if two processes have the same priority, how is the tie usually broken?

a)

Randomly

b)

Based on process ID

c)

By arrival time (FCFS)

d)

By memory usage

34.

Which of the following scheduling algorithms can cause starvation if not properly managed?

a)

FCFS (system term)

b)

Round Robin

c)

Priority Scheduling

d)

Shortest Remaining Time First (SRTF)

35.

What is a process in an operating system?

a)

A program that is being executed

b)

A system file in storage

c)

A hardware component

d)

A type of system call

36.

Which of the following is not a valid process state?

a)

New

b)

Running

c)

Waiting

d)

Compiling

37.

The structure that stores all information about a process is called:

a)

Process Control Block (PCB)

b)

Process Table

c)

Stack Pointer

d)

Ready Queue

38.

During a context switch, what action is performed by the operating system?

a)

It compiles user programs into machine-level instructions for execution

b)

It saves the current state of one process and loads another process to run

c)

It removes inactive or old processes completely from the system memory

d)

It allocates additional disk space required for process storage operations

39.

In a multiprogramming system, processes waiting to use the CPU are kept in:

a)

Job queue

b)

Ready queue

c)

Device queue

d)

File queue

40.

Which of the following is true about process scheduling?

a)

It determines which process will use the CPU next

b)

It is handled by the compiler

c)

It only occurs in single-user systems

d)

It is unrelated to CPU time management

41.

The process state changes from Running to Waiting when:

a)

The process completes execution

b)

The process requests an I/O operation

c)

A higher-priority process arrives

d)

The CPU fails (system term)

42.

Which of the following is not a type of process scheduler?

a)

Long-term scheduler

b)

Medium-term scheduler

c)

Short-term scheduler

d)

Hardware scheduler

43.

When a child process is created using a system call such as fork(), what happens?

a)

It shares the same memory and address space with its parent process entirely

b)

It is almost identical to the parent process except for having a unique PID value

c)

It terminates or destroys the parent process immediately after its creation

d)

It runs only in kernel mode and performs no user-level operations

44.

What is the purpose of process synchronization?

a)

To manage the speed of the CPU

b)

To ensure orderly execution when processes share resources

c)

To increase process priority (system term)

d)

To convert processes into threads

45.

In the Shortest Remaining Time First (SRTF) scheduling algorithm, what happens if a new process arrives with a shorter burst time than the one currently running?

a)

The CPU continues executing the currently running process until it finishes completely

b)

The CPU suspends the current process and switches to execute the new shorter process

c)

The CPU executes both processes simultaneously using shared time and resources

d)

The CPU ignores the new process until the current process has completed execution

46.

Using Priority (non-preemptive) algorithm, find the order of execution for the following processes with the given data in the order Process : Burst Time : Priority (0 is the highest priority) respectively A : 4 : 4; B : 1 : 1; C : 6 : 3; D : 4 : 6.

a)

A, B, C, D, A

b)

B, C, A, D

c)

B, C, A, C, D

d)

B, D, A, C

47.

Using RR (Round-Robin) algorithm with time quantum: 3, find the average waiting time for the following processes with the given data in the order Process : Arrival Time : Burst Time respectively A : 8 : 3; B : 0 : 5; C : 2 : 4.

a)

2.333

b)

1.333

c)

5.333

d)

4.333

48.

Using SJF (non-preemptive) algorithm, find the order of execution for the following processes with the given data in the order Process : Arrival Time : Burst Time respectively A : 6 : 3; B : 7 : 2; C : 0 : 4; D : 2 : 7.

a)

C, D, B, A

b)

C, D, A, B

c)

C, C, D, B, A

d)

C, A, B, D

49.

Using FCFS (First Come First Served) algorithm, find the order of execution for the following processes with the given data in the order Process : Arrival Time : Burst Time respectively A : 6 : 3; B : 7 : 2; C : 0 : 4; D : 2 : 7.

a)

C, B, A, D

b)

C, A, D, B

c)

C, C, D, B, A

d)

C, D, A, B

50.

What is the main purpose of memory management in an operating system?

a)

To organize CPU scheduling

b)

To allocate and deallocate memory space efficiently

c)

To manage input/output devices

d)

To protect data from viruses

51.

Which type of memory is directly accessible by the CPU?

a)

Secondary memory

b)

Cache memory

c)

Virtual memory

d)

Optical storage

52.

The technique of keeping only part of a program in memory is called ___________.

a)

Swapping

b)

Paging

c)

Segmentation

d)

Virtual memory

53.

In paging, the memory is divided into fixed-size blocks called _______________.

a)

Frames

b)

Segments

c)

Pages

d)

Both A and C

54.

In a segmentation memory management system, how is memory divided?

a)

Into equal-sized memory blocks used for process allocation

b)

Into logical divisions such as functions, stacks, or data structures

c)

Into fixed-size pages defined by the hardware memory unit

d)

Into cache lines that temporarily store frequently used instructions

55.

What is the process of moving a program temporarily from main memory to secondary storage called?

a)

Spooling of input and output operations

b)

Swapping between main memory and secondary storage devices

c)

Paging operations that divide memory into frames and pages

d)

Segmentation of logical memory into distinct sections

56.

What does the term internal fragmentation refer to in memory management?

a)

Wasted space inside allocated memory blocks that remains unused

b)

Unused free memory located between allocated memory regions

c)

A shortage of available memory for new process allocation

d)

Overlapping memory segments that cause data corruption

57.

Which of the following algorithms can be used for page replacement in operating systems?

a)

First-In, First-Out (FIFO) algorithm used for page management

b)

Least Recently Used (LRU) algorithm that tracks page references

c)

Optimal algorithm that replaces the page not needed for the longest time

d)

All of the above algorithms are used for page replacement

58.

What is the main purpose of the page table in a memory management system?

a)

To store process identifiers for CPU scheduling operations

b)

To map logical addresses generated by a program to physical addresses in memory

c)

To maintain CPU scheduling and process prioritization data

d)

To control input and output operations of storage devices

59.

Which type of memory management allows a process to use more memory than the amount of physical RAM available?

a)

Paging that divides memory into small fixed-size frames

b)

Virtual memory that extends physical memory through disk space usage

c)

Contiguous allocation that uses adjacent memory blocks for processes

d)

Segmentation that divides memory based on logical program structure

60.

What is the main purpose of swapping in memory management systems?

a)

To permanently remove inactive processes from main memory space

b)

To temporarily move processes between main memory and secondary storage

c)

To increase CPU processing speed by reordering instructions

d)

To allocate cache memory dynamically during program execution

61.

In segmentation, what does each segment in memory represent?

a)

A fixed-size block of physical memory used for allocation

b)

A logical unit such as code, stack, or data used by a program

c)

A single machine instruction executed by the CPU

d)

A page frame used in paging memory systems

62.

Which of the following statements about static partitioning in memory management is correct?

a)

Memory is divided into equal-sized partitions dynamically at runtime

b)

Partitions are created when the system starts and remain fixed in size

c)

Partition sizes change automatically depending on process requirements

d)

Static partitioning completely eliminates memory fragmentation issues

63.

What is the main drawback of dynamic partitioning in memory allocation?

a)

It results in internal fragmentation within allocated partitions

b)

It leads to external fragmentation between allocated partitions

c)

It lacks flexibility for different process size requirements

d)

It reduces CPU performance due to complex memory management

64.

In a segmented memory system, what does the logical address consist of?

a)

A page number and an offset that determine the physical address

b)

A segment number and an offset within that specific memory segment

c)

A frame number and an offset calculated by the page table

d)

A block number and a displacement within the storage device

65.

A memory has partitions with sizes (in KB): 16, 53, 22, 37, 62, 44. If a process of size 32 KB requests memory, which partition size (in KB) will be chosen if using the First Fit method?

a)

53

b)

62

c)

37

d)

44