Operating Systems MCQs

Computer

Operating Systems MCQs

Practice Operating System MCQs covering Windows, Linux, Android, booting, multitasking and multiprocessing concepts with answers and explanations.

510
Total Questions

Practice Questions

Page 6 of 26
Question #101
What is the primary role of the 'Android Manifest' file inside an Android application bundle?
A. To act as an internal local relational database.
B. To compile application Java code into DEX bytecode files.
C. To store the graphical application skin structures.
D. To declare essential structural information about the app (components, required permissions, and hardware targets) to the OS.

Correct Answer: Option D


Explanation:
The AndroidManifest.xml file defines application components, target SDKs, structure mappings, and hardware/security permissions for the Android system.

This question belongs to: Computer Operating Systems
Question #102
In operating systems, what is the 'Working Set' of a process?
A. The set of memory pages frequently referenced by the process during its current execution phase.
B. The list of peripheral device drivers used by the application.
C. The entire collection of data files ever opened by the process.
D. The structural priority tier assigned by the CPU scheduler.

Correct Answer: Option A


Explanation:
The working set represents the specific collection of virtual memory pages that a process actively utilizes during a given time slice.

This question belongs to: Computer Operating Systems
Question #103
Which Linux utility command can be used to display system disk space utilization across all mounted partitions?
A. top
B. df
C. du
D. free

Correct Answer: Option B


Explanation:
The 'df' (disk free) command displays the amount of available and used disk space on file systems mounted to the Linux machine.

This question belongs to: Computer Operating Systems
Question #104
What mechanism allows a user to interact with an operating system through a sequential text-entry environment instead of graphical elements?
A. Graphical User Interface (GUI)
B. Touch Interface
C. Virtual Reality Interface (VRI)
D. Command Line Interface (CLI)

Correct Answer: Option D


Explanation:
A Command Line Interface (CLI) relies strictly on text commands entered via a terminal shell to execute applications and configure parameters.

This question belongs to: Computer Operating Systems
Question #105
Which Windows diagnostic boot mode loads the operating system with a minimal set of core drivers and services to facilitate troubleshooting?
A. Debugging Terminal
B. Safe Mode
C. Normal Mode
D. Recovery Console

Correct Answer: Option B


Explanation:
Safe Mode isolates operating system configuration bugs by loading only a minimal set of generic device drivers and structural services.

This question belongs to: Computer Operating Systems
Question #106
Which of the following represents the correct order of the standard process lifecycle states?
A. New -> Ready -> Running -> Terminated
B. Blocked -> Ready -> Terminated -> New
C. Running -> New -> Blocked -> Terminated
D. Ready -> Terminated -> Running -> New

Correct Answer: Option A


Explanation:
A normal process lifecycle generally progresses from its creation (New), placement in queue (Ready), actual execution (Running), to completion (Terminated).

This question belongs to: Computer Operating Systems
Question #107
What type of program is 'systemd' in modern Linux operating systems?
A. A high-performance text editor library.
B. An open-source web browser package.
C. An initialization system and service manager that bootstraps user space and manages system daemons.
D. The primary sound card device driver.

Correct Answer: Option C


Explanation:
systemd is the modern standard init framework and system manager used in Linux to bootstrap user components and control services.

This question belongs to: Computer Operating Systems
Question #108
In the context of Inter-Process Communication (IPC), what does a 'pipe' do?
A. It routes the standard output of one process directly into the standard input of another process.
B. It amplifies audio outputs to peripheral speakers.
C. It blocks unauthorized external network incoming data packets.
D. It defragments the master storage drive blocks.

Correct Answer: Option A


Explanation:
A pipe is an IPC mechanism that channels the data output sequence of one system process into the data input stream of another process.

This question belongs to: Computer Operating Systems
Question #109
Which utility in Android handles the composition of various display layers (windows, status bars, applications) onto a single framebuffer for rendering?
A. Zygote
B. SurfaceFlinger
C. ActivityManager
D. PackageManager

Correct Answer: Option B


Explanation:
SurfaceFlinger is the system-wide graphics compositor in Android that accepts surface buffers from multiple sources and combines them for the display.

This question belongs to: Computer Operating Systems
Question #110
What is the default command prompt interpreter application executable file in modern Windows?
A. bash.exe
B. cmd.exe
C. command.com
D. terminal.sys

Correct Answer: Option B


Explanation:
The default command prompt interpreter application file for modern Windows systems is 'cmd.exe'.

This question belongs to: Computer Operating Systems
Question #111
Which memory management scheme breaks physical memory into fixed-sized blocks called 'frames' and logical memory into blocks of the same size called 'pages'?
A. Segmentation
B. Continuous Allocation
C. Dynamic Swapping
D. Paging

Correct Answer: Option D


Explanation:
Paging splits physical memory into fixed-size chunks called frames and logical process space into pages of equal dimension, avoiding external fragmentation.

This question belongs to: Computer Operating Systems
Question #112
Which command-line tool in Linux displays the current amount of free and used physical memory (RAM) and swap space within the system?
A. free
B. top -s
C. meminfo
D. df

Correct Answer: Option A


Explanation:
The 'free' command parses system configuration details to quickly display total, used, and available physical memory along with swap parameters.

This question belongs to: Computer Operating Systems
Question #113
What is a 'SemaPhore' in the context of operating system synchronization?
A. A specialized hardware cable connecting monitors.
B. An encrypted password file.
C. An integer variable used to control access to a shared resource by multiple processes.
D. A data transmission protocol over wireless channels.

Correct Answer: Option C


Explanation:
A semaphore is a protected variable or abstract data type used to synchronize concurrent process threads accessing common system resources.

This question belongs to: Computer Operating Systems
Question #114
Which file system option developed by Microsoft is explicitly optimized for flash memory storage drives like USB thumb drives and SD cards?
A. exFAT
B. ext2
C. NTFS
D. FAT12

Correct Answer: Option A


Explanation:
exFAT (Extended File Allocation Table) was introduced to bridge the gap between FAT32 and NTFS, specifically optimized for portable flash storage units.

This question belongs to: Computer Operating Systems
Question #115
Which structural process management tool in Windows shows all active applications, running background tasks, and current CPU/RAM utilization metrics?
A. File Explorer
B. Task Manager
C. Control Panel
D. System Restore

Correct Answer: Option B


Explanation:
Windows Task Manager provides clear, detailed system statistics alongside process management tools to control app execution.

This question belongs to: Computer Operating Systems
Question #116
What is the primary difference between a process and a thread?
A. A process is a program in execution with its own isolated address space, while a thread is a smaller execution unit within a process.
B. Threads have larger memory spaces than processes.
C. An operating system contains multiple threads but only one master process.
D. Processes can run concurrently, whereas threads can only run sequentially.

Correct Answer: Option A


Explanation:
Processes run inside distinct, isolated memory spaces managed by the OS, whereas threads represent execution pathways sharing the resources of their parent process.

This question belongs to: Computer Operating Systems
Question #117
Which Linux terminal command is used to display the lines of a file that match a specified keyword or regular expression?
A. grep
B. cat
C. echo
D. find

Correct Answer: Option A


Explanation:
The 'grep' command stands for global regular expression print, designed to quickly filter out specific data strings from files or text feeds.

This question belongs to: Computer Operating Systems
Question #118
What does the term 'Monolithic Kernel' refer to?
A. An operating system configuration requiring manual magnetic tapes.
B. A small experimental kernel containing only micro-level drivers.
C. A kernel that runs entirely on cloud server nodes.
D. An architecture where all core OS services run in a single privileged address space for maximum execution speed.

Correct Answer: Option D


Explanation:
Monolithic kernels pack core schedules, memory modules, file handlers, and drivers into a unified binary executing inside privileged space.

This question belongs to: Computer Operating Systems
Question #119
Which of the following components acts as the primary layout engine and application foundation for the Android runtime interface?
A. DirectX Interface
B. Java API Framework
C. MS-DOS Prompt
D. Windows Installer Subsystem

Correct Answer: Option B


Explanation:
The Java API Framework exposes the core capabilities of the Android operating system through standard classes and high-level programming interfaces.

This question belongs to: Computer Operating Systems
Question #120
In Windows Operating Systems, what does the 'System Restore' utility do?
A. It upgrades the processor clock speeds automatically.
B. It deletes all user photos and media files permanently to save storage space.
C. It reformats the motherboard BIOS chip.
D. It rolls back system files, registry configurations, and driver installations to a previous safe state without affecting personal data.

Correct Answer: Option D


Explanation:
System Restore creates system snapshots (restore points) allowing users to revert critical operational registry or OS files to fix configuration corruption.

This question belongs to: Computer Operating Systems