wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

FOS - FINAL EXAM

Total questions: 85

Worksheet time: 1hrs 25mins

Name
Class
Date
1.

Read the following statements carefully. Answer each of the following questions by choosing a letter of the correct answer and typing on your digital answer sheet. Use small letters only. What is a system call in the context of operating systems?

a)

A call to a friend for technical support

b)

A call to the system administrator

c)

A request made by a program to the operating system

d)

A call to the hardware manufacturer

2.

Read the following statements carefully. Answer each of the following questions by choosing a letter of the correct answer and typing on your digital answer sheet. Use small letters only. Which of the following is not a common category of system calls?

a)

Process Control

b)

File Management

c)

Network Configuration

d)

Memory Management

3.

Read the following statements carefully. Answer each of the following questions by choosing a letter of the correct answer and typing on your digital answer sheet. Use small letters only. What does the system call exec() do in the context of process management?

a)

Exits the process

b)

Forks a new process

c)

Loads a new program into the current process

d)

Allocates memory for a process

4.

Read the following statements carefully. Answer each of the following questions by choosing a letter of the correct answer and typing on your digital answer sheet. Use small letters only. Which system call is used for terminating a process?

a)

end()

b)

terminate()

c)

kill()

d)

exit()

5.

The system call for opening a file is:

a)

open()

b)

start_file()

c)

read_file()

d)

create_file()

6.

What is the purpose of the read() system call in file management?

a)

Deletes a file

b)

Reads data from a file

c)

Writes data to a file

d)

Closes a file

7.

Which of the following is not an essential service provided by an operating system?

a)

Memory Management

b)

Email Services

c)

Process Management

d)

File System Management

8.

What is the primary purpose of the Memory Management service in an operating system?

a)

Manage keyboard and mouse input

b)

Manage the execution of processes

c)

Manage the allocation and deallocation of memory

d)

Manage communication between devices

9.

Which service is responsible for managing the execution of processes in an operating system?

a)

Process Management

b)

Network Management

c)

Security Management

d)

File System Management

10.

In the context of operating systems, what does the File System Management service handle?

a)

Managing network connections

b)

Managing input/output devices

c)

Managing files and directories

d)

Managing user authentication

11.

Which service is responsible for managing the communication between different processes in an operating system?

a)

Communication Management

b)

Process Synchronization

c)

Input/Output Management

d)

Security Management

12.

What is the purpose of the Input/Output Management service in an operating system?

a)

Manage memory allocation

b)

Manage file operations

c)

Manage communication between processes

d)

Manage communication with peripheral devices

13.

Which service ensures the protection of resources and data in an operating system?

a)

Security Management

b)

Network Management

c)

Memory Management

d)

File System Management

14.

What is the role of the Network Management service in an operating system?

a)

Manage file operations

b)

Manage network connections and communication

c)

Manage process execution

d)

Manage memory allocation

15.

Which service is responsible for scheduling processes to run on the CPU efficiently?

a)

Process Scheduling

b)

Input/Output Management

c)

Communication Management

d)

Security Management

16.

What does the Device Management service in an operating system handle?

a)

Manage process execution

b)

Manage file operations

c)

Manage communication between devices

d)

Manage memory allocation

17.

Which type of system call is involved in time management and delay functions?

a)

File Management

b)

Process Control

c)

Time Management

d)

Input/Output Management

18.

The system call sleep() is categorized under:

a)

File Management

b)

Process Control

c)

Time Management

d)

Input/Output Management

19.

The system call chdir() belongs to which category?

a)

File Management

b)

Process Control

c)

Directory Management

d)

Input/Output Management

20.

What type of system call is involved in power management and resource allocation?

a)

File Management

b)

Process Control

c)

Resource Management

d)

Input/Output Management

21.

What is the primary function of an operating system?

a)

Running applications

b)

Managing hardware resources and other software

c)

Storing data

d)

Creating user interfaces

22.

Which of the following is not considered an operating system?

a)

Linux

b)

Microsoft Office

c)

macOS

d)

Windows

23.

What is a process in the context of an operating system?

a)

A running application

b)

A physical CPU core

c)

A block of data in RAM

d)

An input device

24.

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

a)

CPU Scheduler

b)

Memory Manager

c)

File System

d)

Device Manager

25.

Which component of the operating system is responsible for handling input and output operations?

a)

CPU Scheduler

b)

Memory Manager

c)

Device Manager

d)

File System

26.

What is the purpose of a shell in an operating system?

a)

Protecting the hardware

b)

Providing a user-friendly interface for interacting with the OS

c)

Managing memory allocation

d)

Scheduling CPU processes

27.

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

a)

It manages the CPU's execution of processes.

b)

It provides a user interface for the operating system.

c)

It allows the operating system to communicate with hardware devices.

d)

It manages file system operations.

28.

What is the primary purpose of a cache in an operating system?

a)

To store user files

b)

To speed up access to frequently used data

c)

To manage CPU resources

d)

To provide security

29.

In a multiprocessing operating system, what is the main advantage of having multiple CPUs or cores?

a)

Redundancy

b)

Improved performance and multitasking capabilities

c)

Lower power consumption

d)

Increased security

30.

What is a kernel in the context of an operating system?

a)

The outermost layer of the operating system

b)

A type of file system

c)

The core component of the operating system that manages hardware resources

d)

A user interface component

31.

What is the purpose of an interrupt in an operating system?

a)

To stop a running process

b)

To initiate a software update

c)

To signal the operating system that an event has occurred and needs immediate attention

d)

To restart the computer

32.

It has one machine in hot-standby mode.

a)

Symmetric clustering

b)

Asymmetric clustering

c)

Asymmetric Multiprocessing

d)

Symmetric Multiprocessing

33.

It is a processor assigned to a specific task.

a)

Symmetric clustering

b)

Asymmetric clustering

c)

Asymmetric Multiprocessing

d)

Symmetric Multiprocessing

34.

It is the year when Von Neuman Architecture is proposed for a computer.

a)

1960

b)

1962

c)

1945

d)

1954

35.

How many bytes are there in a Gigabyte?

a)

1024

b)

10242

c)

10244

d)

10243

36.

What is the primary function of a PC motherboard?

a)

Execute instructions

b)

Store data

c)

Connect hardware components

d)

Display graphics

37.

Which component on a motherboard is responsible for temporarily storing data that the CPU is currently processing?

a)

CPU

b)

RAM

c)

GPU

d)

HDD

38.

What does DRAM stand for in the context of computer memory?

a)

Dynamic Random Access Memory

b)

Digital Read-Only Memory

c)

Direct Random Access Module

d)

Data Recovery and Management

39.

Which of the following types of memory is volatile and loses its data when power is turned off?

a)

SRAM

b)

ROM

c)

DRAM

d)

EEPROM

40.

Which part of the motherboard is designed to hold the CPU?

a)

Northbridge

b)

Southbridge

c)

CPU socket

d)

RAM slot

41.

What does PCI stand for in the context of expansion slots on a motherboard?

a)

Peripheral Component Interconnect

b)

Primary Computer Interface

c)

Personal Computing Interface

d)

Primary Circuit Interface

42.

Which of the following is NOT typically connected to a PCI slot on a motherboard?

a)

Graphics card

b)

Sound card

c)

Hard drive

d)

Network card

43.

Which of the following is NOT an essential function of an operating system?

a)

Memory management

b)

File management

c)

Hardware manufacturing

d)

Process scheduling

44.

What is the primary purpose of an operating system's kernel?

a)

User interface

b)

File management

c)

Core control of the hardware

d)

Web browsing

45.

What is the main goal of multiprogramming in an operating system?

a)

Execute multiple programs simultaneously

b)

Optimize processor speed

c)

Manage memory efficiently

d)

Control hardware resources

46.

Multitasking allows a computer to:

a)

Run multiple programs simultaneously

b)

Run a single program more efficiently

c)

Increase hardware performance

d)

Maximize RAM usage

47.

What is dual-mode operation in the context of an operating system?

a)

The ability to run two operating systems concurrently

b)

The ability to switch between user mode and kernel mode

c)

The use of dual monitors

d)

Running two CPUs in parallel

48.

Multimode operation typically involves:

a)

Running multiple virtual machines

b)

Running multiple CPUs in parallel

c)

Running multiple user interfaces

d)

Running multiple operating systems simultaneously

49.

In process management, what is the purpose of a process control block (PCB)?

a)

To manage hard drive storage

b)

To store information about a process

c)

To control network connections

d)

To optimize CPU performance

50.

What is process scheduling in the context of an operating system?

a)

Allocating CPU time to multiple processes

b)

Managing the storage of process data

c)

Monitoring the execution of a single process

d)

Handling user input

51.

What is the primary role of memory management in an operating system?

a)

Managing hard disk space

b)

Allocating and tracking physical memory

c)

Handling file operations

d)

Managing the CPU clock speed

52.

What is the purpose of a file system in an operating system?

a)

To manage CPU resources

b)

To organize and store data on storage devices

c)

To allocate memory to processes

d)

To control network connections

53.

Mass-storage management is responsible for:

a)

Allocating CPU time to processes

b)

Managing RAM

c)

Handling external storage devices like hard drives

d)

Allocating network bandwidth

54.

What is caching in the context of computing?

a)

Storing frequently used data in a faster, more accessible storage location

b)

Managing file systems

c)

Controlling processor clock speed

d)

Allocating memory to applications

55.

What is the primary role of the I/O subsystem in an operating system?

a)

Managing memory allocation

b)

Ensuring data security

c)

Managing input and output operations

d)

Controlling CPU scheduling

56.

What is a process in an operating system?

a)

A passive entity stored on disk

b)

A program in execution

c)

A data structure in the PCB

d)

A shared memory block

57.

Which of the following is NOT a state of a process?

a)

Ready

b)

Terminated

c)

Waiting

d)

Distributed

58.

What does a Process Control Block (PCB) NOT contain?

a)

Process state

b)

Scheduling information

c)

Network configuration

d)

Memory management information

59.

Which system call creates a new process in Unix?

a)

exec()

b)

fork()

c)

wait()

d)

exit()

60.

In process scheduling, what is the purpose of the ready queue?

a)

Hold processes waiting for I/O operations

b)

Store terminated processes

c)

Maintain processes ready for CPU execution

d)

Synchronize interprocess communication

61.

Which IPC model uses shared variables for communication?

a)

Message Passing

b)

Shared Memory

c)

RPC

d)

Sockets

62.

What does the send() function do in message-passing systems?

a)

Receives a message from a process

b)

Sends a message to another process

c)

Creates a new process

d)

Synchronizes process execution

63.

In which communication model are mailboxes used?

a)

Direct communication

b)

Indirect communication

c)

Shared memory

d)

RPC

64.

What is the primary advantage of threads over processes?

a)

Easier implementation

b)

Better resource sharing

c)

Reduced execution speed

d)

Increased process creation overhead

65.

What is multithreading?

a)

Running multiple processes simultaneously

b)

Running multiple threads in a single process

c)

Executing tasks in a distributed system

d)

Running multiple kernels on a CPU

66.

Which of these is NOT a multithreading model?

a)

One-to-One

b)

Many-to-Many

c)

Many-to-One

d)

Single-to-Single

67.

What type of threads does the POSIX Pthreads library provide?

a)

User-level threads

b)

Kernel-level threads

c)

Both user-level and kernel-level threads

d)

Java-based threads

68.

In the Many-to-One model:

a)

Each user thread maps to a unique kernel thread

b)

All user threads map to a single kernel thread

c)

Kernel threads map to user threads as needed

d)

There is no mapping between threads

69.

Which threading library is NOT supported by Linux?

a)

Java threads

b)

Windows threads

c)

POSIX Pthreads

d)

Kernel threads

70.

In thread pools:

a)

Threads are created dynamically during execution

b)

Threads await work after creation

c)

Threads manage memory for the process

d)

Threads terminate upon task completion

71.

What is the purpose of thread-local storage (TLS)?

a)

Sharing data between threads

b)

Providing each thread with its own data

c)

Reducing synchronization overhead

d)

Managing thread scheduling

72.

Which of the following is an implicit threading technique?

a)

Thread pools

b)

Fork-Join

c)

OpenMP

d)

All of the above

73.

How are signals delivered in multithreaded processes?

a)

To all threads simultaneously

b)

To a specific thread

c)

To the process's main thread

d)

It depends on the implementation

74.

Which threading model provides the greatest flexibility?

a)

Many-to-One

b)

One-to-One

c)

Many-to-Many

d)

Two-level

75.

What is fork-join parallelism?

a)

A method to create threads dynamically

b)

A way to divide tasks and join results

c)

A model for managing multiple processes

d)

A synchronization technique

76.

Which language does NOT use implicit threading?

a)

C

b)

Java

c)

Swift

d)

Python

77.

What is a kernel thread?

a)

A thread created by the user application

b)

A thread managed directly by the operating system kernel

c)

A thread that handles I/O operations only

d)

A thread exclusive to multicore systems

78.

What is the primary distinction between concurrency and parallelism?

a)

Concurrency is simultaneous execution; parallelism is multitasking

b)

Concurrency makes progress on tasks; parallelism executes tasks simultaneously

c)

Concurrency is specific to threads; parallelism to processes

d)

There is no distinction

79.

What does the term "process state" refer to in an operating system?

a)

The name of the process

b)

The resources allocated to a process

c)

The current status of a process during its execution lifecycle

d)

The CPU time used by a process

80.

In the context of video playback, what does the "Waiting" state represent?

a)

Video tab initializes

b)

Video is playing

c)

Video buffering due to slow internet connection

d)

You close the video

81.

Which of the following is NOT a valid process state?

a)

New

b)

Running

c)

Sleeping

d)

Terminated

82.

Which process state indicates that a process has finished its execution?

a)

Running

b)

Waiting

c)

Terminated

d)

Ready

83.

Which of these states involves the process being in a queue, waiting to run?

a)

New

b)

Ready

c)

Running

d)

Waiting

84.

What is the role of the operating system scheduler?

a)

To manage process creation

b)

To allocate memory to processes

c)

To determine which process runs at a given time

d)

To store the program counter

85.

In a multitasking environment, what allows processes to share the CPU effectively?

a)

High-priority interrupts

b)

Context switching

c)

Dedicated cores

d)

Memory buffers