Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Operating System quiz 1

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What are the main types of operating systems?

a)

Batch, Time-Sharing, Distributed, Network, Real-Time, Mobile

b)

Graphical User Interface

c)

Command Line Interface

d)

Single-User

2.

Define a real-time operating system.

a)

An RTOS is an operating system that does not support multitasking.

b)

A real-time operating system is one that runs on mobile devices only.

c)

An RTOS is an operating system that prioritizes user interface design.

d)

A real-time operating system (RTOS) is an operating system that guarantees the completion of tasks within specified time constraints.

3.

What is the difference between a single-user and multi-user operating system?

a)

A single-user OS can support multiple users at once, while a multi-user OS supports only one user.

b)

A single-user OS allows multiple applications to run simultaneously, while a multi-user OS does not.

c)

A single-user OS is designed for mobile devices, while a multi-user OS is for desktop computers.

d)

A single-user OS supports one user at a time, while a multi-user OS supports multiple users simultaneously.

4.

Explain the concept of multitasking in operating systems.

a)

Multitasking is the ability to run multiple operating systems simultaneously.

b)

Multitasking allows multiple processes to run concurrently by rapidly switching between them, managed by the operating system.

c)

Multitasking allows only one process to run at a time.

d)

Multitasking refers to the process of managing hardware resources exclusively.

5.

What is process scheduling?

a)

Process scheduling refers to the allocation of disk space for files.

b)

Process scheduling is the technique used by an operating system to manage the execution order of processes.

c)

Process scheduling is the technique for managing network traffic.

d)

Process scheduling is the method of storing data in memory.

6.

Describe the role of the process control block (PCB).

a)

The PCB stores information about a process, enabling the operating system to manage and schedule processes effectively.

b)

The PCB is a graphical interface for process visualization.

c)

The PCB manages hardware resources directly without OS intervention.

d)

The PCB is used to store user data and preferences.

7.

What is a thread in the context of process management?

a)

A thread is a separate program that runs independently of other threads.

b)

A thread is a lightweight process that shares resources with other threads in the same process.

c)

A thread is a method for encrypting data in a process.

d)

A thread is a type of hardware component used for processing tasks.

8.

Explain the difference between a process and a program.

a)

A program is a running instance of a process; a process is the code on disk.

b)

A program is a collection of processes; a process is a single program.

c)

A program is static code on disk; a process is the execution of that code in memory.

d)

A program is always in memory; a process is never stored on disk.

9.

What are the different states of a process?

a)

Initialized, Executing, Exited

b)

Active, Inactive, Finished

c)

Paused, Completed, Suspended

d)

New, Ready, Running, Waiting, Terminated

10.

What is virtual memory?

a)

Virtual memory is a memory management technique that uses disk space to extend the apparent amount of RAM available to applications.

b)

Virtual memory is a method to increase the speed of the CPU.

c)

Virtual memory is a technique that only uses RAM without any disk space.

d)

Virtual memory is a type of physical memory found in computers.

11.

List and explain two memory management techniques.

a)

Caching and Buffering

b)

Paging and Segmentation

c)

Fragmentation and Defragmentation

d)

Compression and Encryption

12.

What is paging in memory management?

a)

Paging involves dividing physical memory into variable-sized segments.

b)

Paging is a memory management technique that divides virtual memory into fixed-size pages and maps them to physical memory frames.

c)

Paging is a method for encrypting data stored in memory.

d)

Paging is a technique that compresses data in memory.

13.

Define segmentation in memory management.

a)

Segmentation is a technique that combines all memory into a single block.

b)

Segmentation is a memory management technique that divides memory into segments based on logical divisions of a program.

c)

Segmentation is a method for compressing memory to save space.

d)

Segmentation refers to the physical division of memory into fixed-size pages.

14.

What is a file system?

a)

A file system is a programming language used for data manipulation.

b)

A file system is a type of software application.

c)

A file system is a method for storing and organizing files on a storage device.

d)

A file system is a hardware component of a computer.

15.

Explain the difference between a file and a directory.

a)

A file is a single data unit; a directory is a container for files and other directories.

b)

A file is used for storing applications; a directory is used for storing system settings.

c)

A file is a type of directory; a directory is a type of file.

d)

A file can contain multiple directories; a directory cannot contain files.

16.

What are the common file system types?

a)

APFS

b)

NTFS, ext4, HFS+, FAT32

c)

ISO 9660

d)

ZFS

17.

What is the purpose of a file allocation table (FAT)?

a)

To create backups of all data on the device.

b)

To store the operating system files on a disk.

c)

The purpose of a file allocation table (FAT) is to manage disk space and track the allocation of files on a storage device.

d)

To encrypt files for security purposes.

18.

Describe the role of device drivers in an operating system.

a)

Device drivers provide internet connectivity to the operating system.

b)

Device drivers enable communication between the operating system and hardware devices.

c)

Device drivers are used to enhance the graphics of an operating system.

d)

Device drivers are responsible for managing user accounts in the operating system.

19.

What is the difference between blocking and non-blocking I/O?

a)

Blocking I/O is faster than non-blocking I/O.

b)

Blocking I/O is used for network operations only.

c)

Blocking I/O waits for operations to complete; non-blocking I/O does not wait.

d)

Non-blocking I/O waits for operations to complete; blocking I/O does not wait.

20.

Explain how an operating system manages hardware devices.

a)

An operating system requires manual configuration for each hardware device.

b)

An operating system does not interact with hardware devices directly.

c)

An operating system manages hardware devices using device drivers, resource allocation, and system calls.

d)

An operating system uses only hardware interrupts to manage devices.