wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Operating Systems Quiz - Basic 01 to Basic 02

Total questions: 40

Worksheet time: 20mins

Name
Class
Date
1.

Which of the following is not an operating system?

a)

Windows

b)

Linux

c)

Oracle

d)

macOS

2.

What does an operating system manage?

a)

Applications only

b)

Hardware only

c)

Hardware and software resources

d)

Files only

3.

Which part of the OS communicates directly with hardware?

a)

GUI

b)

Shell

c)

Kernel

d)

CLI

4.

Which one is an example of a mobile operating system?

a)

Windows 10

b)

Fedora

c)

Android

d)

Unix

5.

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

a)

Application Layer

b)

Hardware Layer

c)

Kernel Layer

d)

Security Layer

6.

What is the primary job of the scheduler in an OS?

a)

Memory allocation

b)

File storage

c)

CPU task allocation

d)

User interface control

7.

Which OS is based on open-source software?

a)

Windows

b)

Linux

c)

macOS

d)

DOS

8.

Which type of operating system is designed to serve many users simultaneously?

a)

Real-Time OS

b)

Multi-user OS

c)

Embedded OS

d)

Single-user OS

9.

In which OS type is response time very critical?

a)

Batch OS

b)

Multi-user OS

c)

Real-time OS

d)

Network OS

10.

Which command in Linux shows the current working directory?

a)

pwd

b)

ls

c)

cd

d)

dir

11.

What is a file system?

a)

A software update system

b)

A backup routine

c)

A method of storing and organizing files

d)

A scheduler

12.

Which component keeps track of all processes?

a)

Shell

b)

Memory

c)

Scheduler

d)

Process Table

13.

What is the default shell in most Linux distributions?

a)

zsh

b)

ksh

c)

bash

d)

csh

14.

Which command is used to terminate a process in Unix/Linux?

a)

pause

b)

quit

c)

kill

d)

exit

15.

Which of the following is a multi-tasking OS?

a)

MS-DOS

b)

Windows 10

c)

CP/M

d)

Apple DOS

16.

In Linux, what does the `chmod` command do?

a)

Changes file name

b)

Changes file permissions

c)

Changes directory

d)

Moves a file

17.

Which memory is directly accessible by the CPU?

a)

Secondary

b)

Hard disk

c)

RAM

d)

USB

18.

What is swapping in OS?

a)

Replacing files

b)

Sharing printers

c)

Moving process between memory and disk

d)

Rebooting the system

19.

Which of the following is a command line interface?

a)

Windows Explorer

b)

Finder

c)

Bash

d)

Nautilus

20.

What does booting mean?

a)

Formatting a disk

b)

Loading the operating system

c)

Restarting the printer

d)

Connecting to the internet

21.

Which of the following is a deadlock prevention technique?

a)

Mutual exclusion

b)

Circular wait

c)

Hold and wait

d)

Preemption

22.

What does the term 'thrashing' refer to in an OS?

a)

File corruption

b)

CPU overload

c)

High page fault rate

d)

Power failure

23.

Which algorithm is used in the Linux Completely Fair Scheduler (CFS)?

a)

Round Robin

b)

Priority Scheduling

c)

Weighted Fair Queuing

d)

Red-Black Tree

24.

Which memory allocation strategy suffers the most from external fragmentation?

a)

Paging

b)

Segmentation

c)

Contiguous allocation

d)

Virtual Memory

25.

What is the role of a device driver in an OS?

a)

Encrypts the file system

b)

Provides a GUI for users

c)

Manages hardware communication

d)

Controls networking permissions

26.

Which of these is not a function of the OS’s memory manager?

a)

Allocation of memory

b)

Protection and sharing

c)

CPU scheduling

d)

Swapping

27.

Which type of scheduling allows the highest priority process to run first, preempting others?

a)

FCFS

b)

Round Robin

c)

Shortest Job First

d)

Preemptive Priority Scheduling

28.

In paging, what does the page table store?

a)

Data in disk blocks

b)

Virtual memory layout

c)

Mapping of virtual pages to physical frames

d)

File pointers

29.

Which of these is not a benefit of multithreading?

a)

Efficient CPU utilization

b)

Improved responsiveness

c)

Reduced context switching

d)

Slower performance

30.

Which Linux command displays information about system processes?

a)

df

b)

top

c)

ifconfig

d)

whoami

31.

Which of these is a valid inter-process communication method?

a)

Mutex

b)

Queue

c)

Pipe

d)

All of the above

32.

Which scheduling algorithm is designed for time-sharing systems?

a)

FCFS

b)

Round Robin

c)

Shortest Job Next

d)

Priority

33.

The main difference between segmentation and paging is:

a)

Segments are of fixed size, pages are variable

b)

Paging is faster

c)

Segments are logical units, pages are physical units

d)

Paging supports only one process

34.

What is the major drawback of First-Come-First-Served scheduling?

a)

Starvation

b)

Thrashing

c)

High overhead

d)

Long average wait time

35.

Which data structure is used to implement a ready queue?

a)

Stack

b)

Queue

c)

Linked List

d)

Tree

36.

The ‘nice’ value in Linux affects:

a)

File system priority

b)

Process priority

c)

Thread synchronization

d)

Kernel operations

37.

What does 'context switching' mean in operating systems?

a)

Swapping memory

b)

Changing user credentials

c)

Saving the state of one process and loading another

d)

Switching screens

38.

Which one is not part of the process control block (PCB)?

a)

Process ID

b)

Program counter

c)

Kernel source code

d)

CPU registers

39.

The fork() system call:

a)

Terminates a process

b)

Duplicates a process

c)

Loads a new program

d)

Clears memory

40.

A semaphore is used to:

a)

Measure speed

b)

Control access to shared resources

c)

Manage cache

d)

Handle device drivers