Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

FOS FINAL QUIZ

Total questions: 50

Worksheet time: 25mins

Name
Class
Date
1.

Which component of the operating system directly communicates with the hardware?

a)

Shell

b)

Kernel

c)

File System

d)

Loader

2.

Which system call is typically used to wait for a child process to finish?

a)

fork()

b)

wait()

c)

exec()

d)

exit()

3.

What do we call a program that is currently being executed?

a)

File

b)

Process

c)

Thread

d)

Job Queue

4.

Which process state means the process is ready but not currently running?

a)

Running

b)

Waiting

c)

Ready

d)

Terminated

5.

Which memory type permanently stores critical instructions needed during system boot?

a)

RAM

b)

ROM

c)

Cache

d)

DRAM

6.

What does the system call open() primarily do?

a)

Deletes a file

b)

Opens an existing file

c)

Creates a directory

d)

Formats a disk

7.

The ALU and control unit are components of what hardware?

a)

RAM

b)

CPU

c)

GPU

d)

ROM

8.

Which scheduling method assigns CPU time to the shortest job first?

a)

FIFO

b)

Round Robin

c)

SJF

d)

Priority

9.

What is the main role of device drivers?

a)

Manage memory

b)

Interface between OS and hardware

10.

What type of memory loses data when power is shut down?

a)

ROM

b)

EEPROM

c)

DRAM

d)

Flash

11.

What system component organizes files into directories and subdirectories?

a)

File System

b)

Kernel

c)

BIOS

d)

Loader

12.

What does the exec() system call do?

a)

Creates a process

b)

Loads a new program into the current process

c)

Terminates a process

d)

Switches context

13.

Which system call creates a child process?

a)

fork()

b)

exit()

c)

kill()

d)

sleep()

14.

Which OS component handles user commands entered into the terminal?

a)

Kernel

b)

Shell

c)

Scheduler

d)

Memory Manager

15.

The primary purpose of caching is to:

a)

Back up files

b)

Provide security

c)

Speed up data access

d)

Reduce RAM usage

16.

Which thread type is managed entirely by the operating system?

a)

User-level

b)

Kernel-level

c)

Hybrid thread

d)

Virtual thread

17.

The ready queue contains:

a)

Processes waiting for I/O

b)

Processes finished executing

c)

Processes ready for CPU execution

d)

Newly created processes only

18.

Which of the following is NOT a function of the OS?

a)

Process Management

b)

Hardware Control

c)

Application Creation

19.

Multitasking allows the CPU to:

a)

Execute several processes in sequence

b)

Run several processes seemingly at the same time

c)

Run only one task at a time

d)

Prevent parallelism

20.

What is the function of the scheduler?

a)

Assigns memory

b)

Decides which process runs next

c)

Formats drives

d)

Manages files

21.

What part of the process contains executable instructions?

a)

Stack

b)

Heap

c)

Code segment

d)

PCB

22.

Which process state indicates waiting for an event such as I/O?

a)

Ready

b)

Blocked

c)

Running

d)

Terminated

23.

Which IPC method involves using shared variables or shared space?

a)

RPC

b)

Message Passing

c)

Shared Memory

d)

Sockets

24.

A thread can be described as:

a)

A. A separate program

b)

B. A lightweight process

c)

C. A hardware interrupt

d)

D. A memory address

25.

Which OS component allocates and deallocates RAM?

a)

Scheduler

b)

Memory Manager

c)

File System

d)

Device Manager

26.

Which is an example of indirect communication?

a)

Direct message passing

b)

Shared memory

c)

Mailbox messaging

d)

Sockets

27.

The PCB stores:

a)

Keyboard inputs

b)

Process information such as state and registers

c)

Only program code

28.

Round Robin scheduling uses which metric?

a)

Priority

b)

Time quantum

c)

Burst time

d)

Throughput

29.

What is the primary advantage of threads?

a)

Requires more memory

b)

Slower than processes

c)

Faster context switching

d)

No need for scheduling

30.

Where is the BIOS stored?

a)

RAM

b)

ROM

c)

GPU

d)

Hard disk

31.

Which motherboard socket holds temporary data?

a)

CPU socket

b)

RAM slot

c)

PCI slot

d)

SATA port

32.

Instruction execution is handled by the:

a)

ROM

b)

CPU

c)

GPU

d)

HDD

33.

Which memory type is fastest?

a)

DRAM

b)

ROM

c)

Cache

d)

SSD

34.

Which thread model maps many user threads to one kernel thread?

a)

One-to-One

b)

Many-to-One

c)

Many-to-Many

d)

Two-Level

35.

Signals in multithreaded systems are delivered based on:

a)

User input

b)

OS implementation

c)

File size

d)

CPU temperature

36.

A multiprocessing system:

a)

Uses one CPU only

b)

Supports multiple CPUs

c)

Does not allow multitasking

37.

Which system call changes a working directory?

a)

open()

b)

mkdir()

c)

chdir()

d)

rename()

38.

Interprocess communication allows processes to:

a)

Share files only

b)

Stop each other

c)

Exchange data

d)

Increase priority

39.

What is the role of the stack in a process?

a)

Stores global variables

b)

Stores temporary data and function calls

c)

Stores program code

d)

Stores dynamic memory

40.

Which layer provides the user interface?

a)

Kernel

b)

Shell

c)

Scheduler

d)

Device Manager

41.

A hot-standby machine is used in:

a)

Symmetric multiprocessing

b)

Asymmetric clustering

c)

Many-to-One threading

d)

User threading

42.

Which hardware component stores the OS during boot?

a)

CPU

b)

GPU

c)

ROM

d)

NIC

43.

A terminated process is also called:

a)

Killed

b)

Ready

c)

Blocked

d)

Zombie (in some cases)

44.

In message passing, the send() function:

a)

Creates a process

b)

Reads a message

c)

Sends data to another process

d)

Terminates a thread

45.

The main purpose of file extensions is to:

a)

Increase file size

b)

Identify file type

c)

Speed up access

46.

A CPU interrupt occurs when:

a)

The user saves a file

b)

A hardware event needs attention

c)

The OS boots

d)

A process is scheduled

47.

Which is an advantage of multiprogramming?

a)

Wastes CPU time

b)

Lowers throughput

c)

Improves CPU utilization

d)

Reduces memory

48.

What is the purpose of thread-local storage?

a)

Share data between processes

b)

Provide per-thread data

c)

Store OS files

d)

Speed up booting

49.

What is the role of the I/O subsystem?

a)

Manage CPU

b)

Handle input/output operations

c)

Allocate RAM

d)

Run applications

50.

The “Running” process state means:

a)

Waiting for CPU

b)

Actively using the CPU

c)

Finished execution

d)

Waiting for I/O