💻 120+ Questions • Updated 2026

Operating System Multiple Choice Questions

Master Operating Systems with 120+ curated MCQs covering process management, memory management, file systems, scheduling, and more. Perfect for GATE, interviews, and university exams.

📚16 Topics
120+ Questions
🎯Exam Ready

📚Explore OS Topics

📝Operating System MCQs(120 questions)

1

What is an Operating System?

  • A

    Software that manages computer hardware and software resources

  • B

    A programming language

  • C

    A type of application software

  • D

    A hardware component

Show Answer
A. Software that manages computer hardware and software resources
2

Which of the following is NOT an operating system?

  • A

    Windows

  • B

    Linux

  • C

    macOS

  • D

    Microsoft Office

Show Answer
D. Microsoft Office
3

What is the kernel of an operating system?

  • A

    The core component that manages system resources

  • B

    A user interface

  • C

    A file system

  • D

    A device driver

Show Answer
A. The core component that manages system resources
4

What is the difference between a monolithic and microkernel architecture?

  • A

    Monolithic has all services in kernel, microkernel has minimal kernel

  • B

    Microkernel has all services in kernel, monolithic has minimal kernel

  • C

    Both have all services in kernel

  • D

    Both have minimal kernel

Show Answer
A. Monolithic has all services in kernel, microkernel has minimal kernel
5

What is the purpose of system calls in an OS?

  • A

    To allow user programs to request services from the kernel

  • B

    To manage memory allocation

  • C

    To handle file operations

  • D

    To manage processes

Show Answer
A. To allow user programs to request services from the kernel
6

What is the bootstrap program in an OS?

  • A

    The program that initializes the OS at system startup

  • B

    A program that manages files

  • C

    A program that manages memory

  • D

    A program that handles errors

Show Answer
A. The program that initializes the OS at system startup
7

What is a process in an operating system?

  • A

    A program in execution

  • B

    A program stored on disk

  • C

    A file

  • D

    A device driver

Show Answer
A. A program in execution
8

What is the difference between a process and a thread?

  • A

    Processes are independent, threads share resources

  • B

    Threads are independent, processes share resources

  • C

    Both are independent

  • D

    Both share resources

Show Answer
A. Processes are independent, threads share resources
9

What are the states of a process?

  • A

    New, Running, Waiting, Ready, Terminated

  • B

    Start, Run, Stop, Pause

  • C

    Active, Inactive, Suspended

  • D

    Open, Closed, Pending

Show Answer
A. New, Running, Waiting, Ready, Terminated
10

What is a context switch?

  • A

    Switching the CPU from one process to another

  • B

    Switching between threads

  • C

    Switching between programs

  • D

    Switching between operating systems

Show Answer
A. Switching the CPU from one process to another
11

What is a process control block (PCB)?

  • A

    A data structure containing process information

  • B

    A hardware component

  • C

    A type of memory

  • D

    A file system

Show Answer
A. A data structure containing process information
12

What is the purpose of scheduling in an OS?

  • A

    To allocate CPU time to processes

  • B

    To allocate memory to processes

  • C

    To allocate I/O to processes

  • D

    To allocate files to processes

Show Answer
A. To allocate CPU time to processes
13

What is the FCFS scheduling algorithm?

  • A

    First Come First Served

  • B

    First Come First Scheduled

  • C

    Fast CPU First Served

  • D

    First CPU First Served

Show Answer
A. First Come First Served
14

What is the SJF scheduling algorithm?

  • A

    Shortest Job First

  • B

    Shortest Job Fast

  • C

    Simple Job First

  • D

    Standard Job First

Show Answer
A. Shortest Job First
15

What is the Round Robin scheduling algorithm?

  • A

    Each process gets a fixed time quantum

  • B

    Processes run until completion

  • C

    Shortest process runs first

  • D

    Priority-based scheduling

Show Answer
A. Each process gets a fixed time quantum
16

What is the difference between preemptive and non-preemptive scheduling?

  • A

    Preemptive allows process interruption, non-preemptive doesn't

  • B

    Non-preemptive allows process interruption, preemptive doesn't

  • C

    Both allow interruption

  • D

    Neither allows interruption

Show Answer
A. Preemptive allows process interruption, non-preemptive doesn't
17

What is the priority scheduling algorithm?

  • A

    Processes with higher priority run first

  • B

    Processes with lower priority run first

  • C

    All processes run equally

  • D

    Random process selection

Show Answer
A. Processes with higher priority run first
18

What is the purpose of multilevel queue scheduling?

  • A

    To have multiple queues for different process types

  • B

    To have a single queue for all processes

  • C

    To prioritize all processes equally

  • D

    To randomize process selection

Show Answer
A. To have multiple queues for different process types
19

What is a critical section?

  • A

    A segment of code that accesses shared resources

  • B

    A segment of code that doesn't access shared resources

  • C

    A segment of code that runs only once

  • D

    A segment of code that runs forever

Show Answer
A. A segment of code that accesses shared resources
20

What is a semaphore?

  • A

    A synchronization tool for process coordination

  • B

    A type of memory

  • C

    A type of file

  • D

    A type of process

Show Answer
A. A synchronization tool for process coordination
21

What is the difference between mutex and semaphore?

  • A

    Mutex is a binary semaphore, semaphore can be counting

  • B

    Semaphore is a binary mutex, mutex can be counting

  • C

    Both are the same

  • D

    Neither is used for synchronization

Show Answer
A. Mutex is a binary semaphore, semaphore can be counting
22

What is a deadlock?

  • A

    Two or more processes waiting for each other to release resources

  • B

    A process waiting for its own resource

  • C

    A process terminating normally

  • D

    A process running indefinitely

Show Answer
A. Two or more processes waiting for each other to release resources
23

What are the conditions for deadlock?

  • A

    Mutual Exclusion, Hold and Wait, No Preemption, Circular Wait

  • B

    Parallel Processing, Shared Memory, Priority Inversion

  • C

    Resource Allocation, Process Scheduling, Memory Management

  • D

    CPU Management, I/O Management, File Management

Show Answer
A. Mutual Exclusion, Hold and Wait, No Preemption, Circular Wait
24

What is the Banker's algorithm used for?

  • A

    To prevent deadlock

  • B

    To detect deadlock

  • C

    To recover from deadlock

  • D

    To ignore deadlock

Show Answer
A. To prevent deadlock
25

What is the purpose of memory management in an OS?

  • A

    To manage allocation and deallocation of memory

  • B

    To manage CPU scheduling

  • C

    To manage I/O operations

  • D

    To manage file systems

Show Answer
A. To manage allocation and deallocation of memory
26

What is the difference between physical and logical address space?

  • A

    Physical is hardware address, logical is program address

  • B

    Logical is hardware address, physical is program address

  • C

    Both are hardware addresses

  • D

    Both are program addresses

Show Answer
A. Physical is hardware address, logical is program address
27

What is paging in memory management?

  • A

    Dividing physical memory into fixed-size blocks called frames

  • B

    Dividing memory into variable-size blocks

  • C

    Moving processes between memory and disk

  • D

    Allocating contiguous memory to processes

Show Answer
A. Dividing physical memory into fixed-size blocks called frames
28

What is the difference between segmentation and paging?

  • A

    Segmentation divides by logical units, paging divides by fixed size

  • B

    Paging divides by logical units, segmentation divides by fixed size

  • C

    Both divide by logical units

  • D

    Both divide by fixed size

Show Answer
A. Segmentation divides by logical units, paging divides by fixed size
29

What is virtual memory?

  • A

    Memory that appears to be larger than physical memory

  • B

    Memory that is always physically available

  • C

    Memory that cannot be accessed

  • D

    Memory that is only used for the OS

Show Answer
A. Memory that appears to be larger than physical memory
30

What is page fault in virtual memory?

  • A

    Accessing a page that is not in memory

  • B

    Accessing a page that is in memory

  • C

    A page that is corrupted

  • D

    A page that is protected

Show Answer
A. Accessing a page that is not in memory
31

What is the FIFO page replacement algorithm?

  • A

    Replaces the oldest page in memory

  • B

    Replaces the least recently used page

  • C

    Replaces the most recently used page

  • D

    Replaces a random page

Show Answer
A. Replaces the oldest page in memory
32

What is the LRU page replacement algorithm?

  • A

    Replaces the least recently used page

  • B

    Replaces the most recently used page

  • C

    Replaces the oldest page

  • D

    Replaces the newest page

Show Answer
A. Replaces the least recently used page
33

What is the Optimal page replacement algorithm?

  • A

    Replaces the page that will not be used for the longest time

  • B

    Replaces the least recently used page

  • C

    Replaces the oldest page

  • D

    Replaces a random page

Show Answer
A. Replaces the page that will not be used for the longest time
34

What is the clock page replacement algorithm?

  • A

    A circular buffer approach to page replacement

  • B

    A stack-based approach to page replacement

  • C

    A queue-based approach to page replacement

  • D

    A tree-based approach to page replacement

Show Answer
A. A circular buffer approach to page replacement
35

What is the purpose of the reference bit in page replacement?

  • A

    To track if a page has been accessed

  • B

    To track if a page has been modified

  • C

    To track the page location

  • D

    To track the page size

Show Answer
A. To track if a page has been accessed
36

What is thrashing in virtual memory?

  • A

    Excessive page fault activity reducing performance

  • B

    Page faults being handled efficiently

  • C

    Memory being used optimally

  • D

    Pages being replaced optimally

Show Answer
A. Excessive page fault activity reducing performance
37

What is a file system?

  • A

    A method of organizing and storing files on storage devices

  • B

    A type of memory

  • C

    A type of process

  • D

    A type of scheduling

Show Answer
A. A method of organizing and storing files on storage devices
38

What is the difference between a file and a directory?

  • A

    A file stores data, a directory stores files and directories

  • B

    A directory stores data, a file stores other files

  • C

    Both store data

  • D

    Both store directories

Show Answer
A. A file stores data, a directory stores files and directories
39

What is the purpose of file allocation tables?

  • A

    To track where files are stored on disk

  • B

    To track which files are open

  • C

    To track file permissions

  • D

    To track file sizes

Show Answer
A. To track where files are stored on disk
40

What are the common file allocation methods?

  • A

    Contiguous, Linked, Indexed

  • B

    Sequential, Random, Direct

  • C

    FAT, NTFS, ext4

  • D

    Primary, Secondary, Tertiary

Show Answer
A. Contiguous, Linked, Indexed
41

What is the purpose of file permissions?

  • A

    To control access to files

  • B

    To control file size

  • C

    To control file location

  • D

    To control file type

Show Answer
A. To control access to files
42

What is the difference between FAT, NTFS, and ext4?

  • A

    Different file systems with different features and capabilities

  • B

    Same file system with different names

  • C

    Different operating systems

  • D

    Different types of memory

Show Answer
A. Different file systems with different features and capabilities
43

What is the purpose of I/O management in an OS?

  • A

    To manage input and output devices

  • B

    To manage memory

  • C

    To manage processes

  • D

    To manage files

Show Answer
A. To manage input and output devices
44

What is a device driver?

  • A

    Software that controls a specific I/O device

  • B

    A hardware component

  • C

    A type of file

  • D

    A type of memory

Show Answer
A. Software that controls a specific I/O device
45

What is the difference between polling and interrupts?

  • A

    Polling checks device status, interrupts are triggered by device

  • B

    Interrupts check device status, polling is triggered by device

  • C

    Both check device status

  • D

    Both are triggered by device

Show Answer
A. Polling checks device status, interrupts are triggered by device
46

What is DMA (Direct Memory Access)?

  • A

    Allowing I/O devices to access memory without CPU intervention

  • B

    Direct CPU access to memory

  • C

    Memory access through the CPU

  • D

    Memory access through the OS

Show Answer
A. Allowing I/O devices to access memory without CPU intervention
47

What is the purpose of buffering in I/O?

  • A

    To temporarily store data during I/O operations

  • B

    To permanently store data

  • C

    To delete data

  • D

    To compress data

Show Answer
A. To temporarily store data during I/O operations
48

What is the purpose of spooling in I/O?

  • A

    To queue jobs for output devices

  • B

    To delete jobs

  • C

    To prioritize jobs

  • D

    To cancel jobs

Show Answer
A. To queue jobs for output devices
49

What is the difference between a hard disk and SSD?

  • A

    HDD uses mechanical parts, SSD uses flash memory

  • B

    SSD uses mechanical parts, HDD uses flash memory

  • C

    Both use mechanical parts

  • D

    Both use flash memory

Show Answer
A. HDD uses mechanical parts, SSD uses flash memory
50

What is disk scheduling?

  • A

    The process of ordering disk requests to optimize performance

  • B

    The process of formatting disks

  • C

    The process of partitioning disks

  • D

    The process of defragmenting disks

Show Answer
A. The process of ordering disk requests to optimize performance
51

What is the FCFS disk scheduling algorithm?

  • A

    First Come First Served

  • B

    First Cylinder First Served

  • C

    Fast Cylinder First Served

  • D

    File Cylinder First Served

Show Answer
A. First Come First Served
52

What is the SCAN disk scheduling algorithm?

  • A

    Moves disk arm in one direction, then reverses

  • B

    Moves disk arm in a circular pattern

  • C

    Moves disk arm to nearest request

  • D

    Moves disk arm to farthest request

Show Answer
A. Moves disk arm in one direction, then reverses
53

What is the purpose of disk formatting?

  • A

    To prepare the disk for storing data

  • B

    To delete all data

  • C

    To optimize disk performance

  • D

    To check for errors

Show Answer
A. To prepare the disk for storing data
54

What is RAID?

  • A

    Redundant Array of Independent Disks

  • B

    Random Access Independent Disks

  • C

    Redundant Access Independent Disks

  • D

    Random Array of Independent Disks

Show Answer
A. Redundant Array of Independent Disks
55

What is the purpose of OS security?

  • A

    To protect system resources and data from unauthorized access

  • B

    To improve system performance

  • C

    To manage memory

  • D

    To manage processes

Show Answer
A. To protect system resources and data from unauthorized access
56

What is the difference between a virus and a worm?

  • A

    Virus needs host program, worm is self-replicating

  • B

    Worm needs host program, virus is self-replicating

  • C

    Both need host programs

  • D

    Both are self-replicating

Show Answer
A. Virus needs host program, worm is self-replicating
57

What is the purpose of user authentication?

  • A

    To verify the identity of a user

  • B

    To provide user interface

  • C

    To manage user files

  • D

    To schedule user tasks

Show Answer
A. To verify the identity of a user
58

What is the difference between authorization and authentication?

  • A

    Authentication verifies identity, authorization grants permissions

  • B

    Authorization verifies identity, authentication grants permissions

  • C

    Both verify identity

  • D

    Both grant permissions

Show Answer
A. Authentication verifies identity, authorization grants permissions
59

What is a firewall in an OS?

  • A

    A system that monitors and controls network traffic

  • B

    A system that manages memory

  • C

    A system that manages processes

  • D

    A system that manages files

Show Answer
A. A system that monitors and controls network traffic
60

What is the principle of least privilege in OS security?

  • A

    Users should have only the minimum privileges needed

  • B

    Users should have all privileges

  • C

    Users should have no privileges

  • D

    Users should have random privileges

Show Answer
A. Users should have only the minimum privileges needed
61

What is a distributed operating system?

  • A

    An OS that runs on multiple interconnected computers

  • B

    An OS that runs on a single computer

  • C

    An OS that runs on mobile devices

  • D

    An OS that runs on embedded systems

Show Answer
A. An OS that runs on multiple interconnected computers
62

What is the difference between a distributed and a network OS?

  • A

    Distributed OS presents a single system image, network OS doesn't

  • B

    Network OS presents a single system image, distributed OS doesn't

  • C

    Both present a single system image

  • D

    Neither presents a single system image

Show Answer
A. Distributed OS presents a single system image, network OS doesn't
63

What is the purpose of process migration in distributed systems?

  • A

    To move processes between systems for load balancing

  • B

    To terminate processes

  • C

    To create new processes

  • D

    To schedule processes

Show Answer
A. To move processes between systems for load balancing
64

What is a distributed file system?

  • A

    A file system that spans multiple computers

  • B

    A file system on a single computer

  • C

    A file system on a mobile device

  • D

    A file system on a cloud server

Show Answer
A. A file system that spans multiple computers
65

What is the purpose of remote procedure calls (RPC) in distributed systems?

  • A

    To allow programs to execute procedures on remote systems

  • B

    To allow programs to execute locally

  • C

    To manage memory remotely

  • D

    To manage files remotely

Show Answer
A. To allow programs to execute procedures on remote systems
66

What is the difference between RPC and RMI?

  • A

    RPC is for procedural languages, RMI is for object-oriented languages

  • B

    RMI is for procedural languages, RPC is for object-oriented languages

  • C

    Both are for procedural languages

  • D

    Both are for object-oriented languages

Show Answer
A. RPC is for procedural languages, RMI is for object-oriented languages
67

What is a real-time operating system?

  • A

    An OS designed for applications with strict timing requirements

  • B

    An OS that runs in real time

  • C

    An OS that runs slowly

  • D

    An OS that runs on mobile devices

Show Answer
A. An OS designed for applications with strict timing requirements
68

What is the difference between hard and soft real-time systems?

  • A

    Hard RTOS must meet deadlines, soft RTOS can miss deadlines occasionally

  • B

    Soft RTOS must meet deadlines, hard RTOS can miss deadlines occasionally

  • C

    Both must meet deadlines

  • D

    Both can miss deadlines

Show Answer
A. Hard RTOS must meet deadlines, soft RTOS can miss deadlines occasionally
69

What is the purpose of task scheduling in RTOS?

  • A

    To ensure timely execution of tasks

  • B

    To execute tasks randomly

  • C

    To execute tasks slowly

  • D

    To execute tasks sequentially

Show Answer
A. To ensure timely execution of tasks
70

What is the difference between preemptive and non-preemptive scheduling in RTOS?

  • A

    Preemptive allows higher priority tasks to interrupt, non-preemptive doesn't

  • B

    Non-preemptive allows higher priority tasks to interrupt, preemptive doesn't

  • C

    Both allow interruptions

  • D

    Neither allows interruptions

Show Answer
A. Preemptive allows higher priority tasks to interrupt, non-preemptive doesn't
71

What is priority inversion in RTOS?

  • A

    A lower priority task holding a resource needed by a higher priority task

  • B

    A higher priority task holding a resource needed by a lower priority task

  • C

    Tasks having equal priority

  • D

    Tasks having random priority

Show Answer
A. A lower priority task holding a resource needed by a higher priority task
72

What is the purpose of priority inheritance in RTOS?

  • A

    To temporarily increase priority of a task holding a resource

  • B

    To temporarily decrease priority of a task holding a resource

  • C

    To permanently increase priority

  • D

    To permanently decrease priority

Show Answer
A. To temporarily increase priority of a task holding a resource
73

Who created the Linux kernel?

  • A

    Linus Torvalds

  • B

    Richard Stallman

  • C

    Bill Gates

  • D

    Steve Jobs

Show Answer
A. Linus Torvalds
74

What is the GNU Project?

  • A

    A project to create a free Unix-like operating system

  • B

    A project to create Windows

  • C

    A project to create macOS

  • D

    A project to create Android

Show Answer
A. A project to create a free Unix-like operating system
75

What is the shell in Linux?

  • A

    A command-line interface to interact with the OS

  • B

    A graphical user interface

  • C

    A file system

  • D

    A type of memory

Show Answer
A. A command-line interface to interact with the OS
76

What is the difference between Linux and Unix?

  • A

    Linux is a free version of Unix

  • B

    Unix is a free version of Linux

  • C

    Both are the same

  • D

    Neither is related

Show Answer
A. Linux is a free version of Unix
77

What is the purpose of the /etc directory in Linux?

  • A

    To store system configuration files

  • B

    To store user files

  • C

    To store device files

  • D

    To store temporary files

Show Answer
A. To store system configuration files
78

What is the purpose of the /dev directory in Linux?

  • A

    To store device files

  • B

    To store system configuration files

  • C

    To store user files

  • D

    To store temporary files

Show Answer
A. To store device files
79

What is the Windows NT architecture?

  • A

    A microkernel-based architecture

  • B

    A monolithic architecture

  • C

    A hybrid architecture

  • D

    A layered architecture

Show Answer
C. A hybrid architecture
80

What is the Registry in Windows?

  • A

    A database for system configuration

  • B

    A file system

  • C

    A memory management system

  • D

    A process management system

Show Answer
A. A database for system configuration
81

What is the purpose of the Windows Kernel?

  • A

    To manage system resources

  • B

    To provide user interface

  • C

    To manage files

  • D

    To manage networks

Show Answer
A. To manage system resources
82

What is the difference between Windows 10 and Windows 11?

  • A

    Windows 11 has updated UI, better performance, and new features

  • B

    Windows 10 has updated UI, Windows 11 has better performance

  • C

    Both are the same

  • D

    Windows 11 is discontinued

Show Answer
A. Windows 11 has updated UI, better performance, and new features
83

What is the purpose of the Windows Update service?

  • A

    To provide security patches and feature updates

  • B

    To uninstall applications

  • C

    To manage files

  • D

    To manage devices

Show Answer
A. To provide security patches and feature updates
84

What is the difference between Windows Subsystem for Linux (WSL) and running Linux on a VM?

  • A

    WSL uses less resources and provides better integration with Windows

  • B

    VM uses less resources than WSL

  • C

    Both are the same

  • D

    WSL cannot run Linux applications

Show Answer
A. WSL uses less resources and provides better integration with Windows
85

Who developed the Android operating system?

  • A

    Google

  • B

    Apple

  • C

    Microsoft

  • D

    Linux Foundation

Show Answer
A. Google
86

What is the Android kernel based on?

  • A

    Linux kernel

  • B

    Windows kernel

  • C

    macOS kernel

  • D

    Unix kernel

Show Answer
A. Linux kernel
87

What is the purpose of the Android runtime (ART)?

  • A

    To execute Android applications

  • B

    To manage files

  • C

    To manage devices

  • D

    To manage networks

Show Answer
A. To execute Android applications
88

What is the difference between Android and iOS?

  • A

    Android is open source, iOS is proprietary

  • B

    iOS is open source, Android is proprietary

  • C

    Both are open source

  • D

    Both are proprietary

Show Answer
A. Android is open source, iOS is proprietary
89

What is an APK file in Android?

  • A

    Android Package file for app installation

  • B

    Android Kernel file

  • C

    Android Configuration file

  • D

    Android Resource file

Show Answer
A. Android Package file for app installation
90

What is the purpose of Android permissions?

  • A

    To control app access to system resources

  • B

    To control app installation

  • C

    To control app deletion

  • D

    To control app updates

Show Answer
A. To control app access to system resources
91

What is virtualization in computing?

  • A

    Creating virtual versions of computing resources

  • B

    Creating physical versions of computing resources

  • C

    Deleting computing resources

  • D

    Modifying computing resources

Show Answer
A. Creating virtual versions of computing resources
92

What is the difference between Type 1 and Type 2 hypervisors?

  • A

    Type 1 runs on bare metal, Type 2 runs on host OS

  • B

    Type 2 runs on bare metal, Type 1 runs on host OS

  • C

    Both run on bare metal

  • D

    Both run on host OS

Show Answer
A. Type 1 runs on bare metal, Type 2 runs on host OS
93

What is the purpose of containerization (Docker)?

  • A

    To package applications with their dependencies

  • B

    To create virtual machines

  • C

    To manage networks

  • D

    To manage storage

Show Answer
A. To package applications with their dependencies
94

What is the difference between virtual machines and containers?

  • A

    VMs include an entire OS, containers share the host OS

  • B

    Containers include an entire OS, VMs share the host OS

  • C

    Both include an entire OS

  • D

    Both share the host OS

Show Answer
A. VMs include an entire OS, containers share the host OS
95

What is the purpose of the hypervisor?

  • A

    To manage virtual machines

  • B

    To manage physical machines

  • C

    To manage networks

  • D

    To manage storage

Show Answer
A. To manage virtual machines
96

What is the purpose of cloud computing?

  • A

    To provide on-demand computing resources over the internet

  • B

    To provide local computing resources

  • C

    To delete computing resources

  • D

    To slow down computing resources

Show Answer
A. To provide on-demand computing resources over the internet
97

What is the difference between 32-bit and 64-bit operating systems?

  • A

    64-bit can address more memory and has better performance

  • B

    32-bit can address more memory than 64-bit

  • C

    Both can address the same memory

  • D

    64-bit is slower than 32-bit

Show Answer
A. 64-bit can address more memory and has better performance
98

What is a daemon process?

  • A

    A background process that provides system services

  • B

    A user interface process

  • C

    A file management process

  • D

    A memory management process

Show Answer
A. A background process that provides system services
99

What is the purpose of multi-level feedback queue scheduling?

  • A

    To allow processes to move between queues based on behavior

  • B

    To keep all processes in one queue

  • C

    To randomize process selection

  • D

    To prioritize all processes equally

Show Answer
A. To allow processes to move between queues based on behavior
100

What is a monitor in process synchronization?

  • A

    A high-level synchronization construct

  • B

    A low-level synchronization construct

  • C

    A type of memory

  • D

    A type of process

Show Answer
A. A high-level synchronization construct
101

What is the purpose of the memory management unit (MMU)?

  • A

    To translate virtual to physical addresses

  • B

    To manage CPU scheduling

  • C

    To manage I/O operations

  • D

    To manage file systems

Show Answer
A. To translate virtual to physical addresses
102

What is the purpose of the modified bit in page tables?

  • A

    To track if a page has been modified

  • B

    To track if a page has been accessed

  • C

    To track the page location

  • D

    To track the page size

Show Answer
A. To track if a page has been modified
103

What is the purpose of file system journaling?

  • A

    To maintain a log of file system changes for recovery

  • B

    To speed up file access

  • C

    To compress files

  • D

    To encrypt files

Show Answer
A. To maintain a log of file system changes for recovery
104

What is the difference between synchronous and asynchronous I/O?

  • A

    Synchronous I/O blocks until complete, asynchronous I/O doesn't

  • B

    Asynchronous I/O blocks until complete, synchronous I/O doesn't

  • C

    Both block until complete

  • D

    Neither blocks until complete

Show Answer
A. Synchronous I/O blocks until complete, asynchronous I/O doesn't
105

What is the purpose of disk defragmentation?

  • A

    To reorganize files for better performance

  • B

    To delete files

  • C

    To compress files

  • D

    To encrypt files

Show Answer
A. To reorganize files for better performance
106

What is a Trojan horse in OS security?

  • A

    Malicious software disguised as legitimate software

  • B

    A virus that replicates itself

  • C

    A self-replicating worm

  • D

    A harmless program

Show Answer
A. Malicious software disguised as legitimate software
107

What is the purpose of distributed consensus algorithms?

  • A

    To ensure agreement among distributed systems

  • B

    To increase performance

  • C

    To decrease latency

  • D

    To improve security

Show Answer
A. To ensure agreement among distributed systems
108

What is the purpose of the rate-monotonic scheduling algorithm?

  • A

    To schedule periodic tasks based on their periods

  • B

    To schedule tasks randomly

  • C

    To schedule tasks based on priority

  • D

    To schedule tasks based on size

Show Answer
A. To schedule periodic tasks based on their periods
109

What is the purpose of the 'ls' command in Linux?

  • A

    To list directory contents

  • B

    To list processes

  • C

    To list files

  • D

    To list directories

Show Answer
A. To list directory contents
110

What is the purpose of the Task Manager in Windows?

  • A

    To manage processes and system performance

  • B

    To manage files

  • C

    To manage networks

  • D

    To manage devices

Show Answer
A. To manage processes and system performance
111

What is the purpose of the Android application lifecycle?

  • A

    To manage app states during execution

  • B

    To manage app installation

  • C

    To manage app deletion

  • D

    To manage app updates

Show Answer
A. To manage app states during execution
112

What is the difference between virtualization and emulation?

  • A

    Virtualization is faster, emulation simulates hardware

  • B

    Emulation is faster, virtualization simulates hardware

  • C

    Both are the same

  • D

    Neither is used in modern computing

Show Answer
A. Virtualization is faster, emulation simulates hardware
113

What is the purpose of the boot loader?

  • A

    To load the operating system into memory

  • B

    To manage files

  • C

    To manage processes

  • D

    To manage memory

Show Answer
A. To load the operating system into memory
114

What is the purpose of the 'fork' system call in Unix/Linux?

  • A

    To create a new process

  • B

    To create a new file

  • C

    To create a new directory

  • D

    To create a new thread

Show Answer
A. To create a new process
115

What is the purpose of the TLB (Translation Lookaside Buffer)?

  • A

    To cache page table entries

  • B

    To manage file system

  • C

    To manage I/O

  • D

    To manage processes

Show Answer
A. To cache page table entries
116

What is the purpose of encryption in OS security?

  • A

    To protect data from unauthorized access

  • B

    To protect data from corruption

  • C

    To protect data from deletion

  • D

    To protect data from compression

Show Answer
A. To protect data from unauthorized access
117

What is the CAP theorem in distributed systems?

  • A

    Consistency, Availability, Partition tolerance

  • B

    Consistency, Availability, Performance

  • C

    Consistency, Availability, Security

  • D

    Consistency, Availability, Scalability

Show Answer
A. Consistency, Availability, Partition tolerance
118

What is the purpose of the 'chmod' command in Linux?

  • A

    To change file permissions

  • B

    To change file owner

  • C

    To change file content

  • D

    To change file location

Show Answer
A. To change file permissions
119

What is the purpose of the Control Panel in Windows?

  • A

    To manage system settings

  • B

    To manage files

  • C

    To manage networks

  • D

    To manage devices

Show Answer
A. To manage system settings
120

What is the difference between IaaS, PaaS, and SaaS?

  • A

    IaaS provides infrastructure, PaaS provides platform, SaaS provides software

  • B

    PaaS provides infrastructure, IaaS provides platform, SaaS provides software

  • C

    SaaS provides infrastructure, IaaS provides platform, PaaS provides software

  • D

    All provide the same service

Show Answer
A. IaaS provides infrastructure, PaaS provides platform, SaaS provides software

Frequently Asked Questions

What is an Operating System?
An Operating System (OS) is system software that manages computer hardware and software resources and provides common services for computer programs. It acts as an intermediary between the user and the computer hardware.
What are the main functions of an OS?
The main functions include process management, memory management, file system management, I/O management, security, and providing a user interface. It also handles resource allocation and scheduling.
What is the difference between a process and a thread?
A process is a program in execution with its own memory space. A thread is a lightweight unit of execution within a process that shares the process's memory space. Threads are more efficient for communication than processes.
What is virtual memory?
Virtual memory is a memory management technique that provides an illusion of a larger memory space than physical memory. It uses disk space as an extension of RAM and allows programs to run that require more memory than physically available.
What is the difference between Linux and Windows?
Linux is open-source and free, while Windows is proprietary and requires a license. Linux is highly customizable and popular for servers, while Windows is more user-friendly and widely used on desktop computers.
What are the latest trends in OS development?
Current trends include lightweight containers (Docker), microkernel architectures, cloud-native operating systems, AI-powered system management, improved security features, and enhanced support for IoT and edge devices.