C.A type of application software for editing documents
D.System software that manages hardware and software resources
Correct Answer: System software that manages hardware and software resources
Explanation:
An operating system is system software that manages a computer's hardware and software resources and provides services for programs.
Incorrect! Try again.
2Which of the following is an example of an operating system?
Operating system basics
Easy
A.Microsoft Word
B.Adobe Photoshop
C.Windows
D.Google Chrome
Correct Answer: Windows
Explanation:
Windows is an operating system. Word, Chrome, and Photoshop are application programs that run on top of an OS.
Incorrect! Try again.
3The operating system is loaded into memory during which process?
Operating system basics
Easy
A.Booting
B.Debugging
C.Formatting
D.Compiling
Correct Answer: Booting
Explanation:
Booting is the process of starting the computer and loading the operating system into memory.
Incorrect! Try again.
4What is one of the main purposes of an operating system?
Purpose of the operating system
Easy
A.To manufacture computer hardware
B.To provide internet connectivity by itself
C.To design the physical circuits of the CPU
D.To act as an interface between the user and the hardware
Correct Answer: To act as an interface between the user and the hardware
Explanation:
A key purpose of the OS is to serve as an interface between the user and the computer hardware.
Incorrect! Try again.
5Which of the following is NOT a purpose of an operating system?
Purpose of the operating system
Easy
A.Editing photos
B.Running programs
C.Managing memory
D.Managing files
Correct Answer: Editing photos
Explanation:
Editing photos is done by application software. Managing memory, running programs, and files are OS functions.
Incorrect! Try again.
6The operating system helps in the efficient use of which resource?
Purpose of the operating system
Easy
A.Office furniture
B.Printed paper documents
C.Computer memory and CPU
D.Electric wiring in the building
Correct Answer: Computer memory and CPU
Explanation:
The OS manages and allocates system resources such as memory and CPU time for efficient use.
Incorrect! Try again.
7An operating system that allows multiple users to access the computer at the same time is called a?
Types of operating system
Easy
A.Embedded OS
B.Multi-user OS
C.Batch OS
D.Single-user OS
Correct Answer: Multi-user OS
Explanation:
A multi-user operating system lets more than one user work on the system simultaneously.
Incorrect! Try again.
8Which type of operating system processes jobs in groups without user interaction during execution?
Types of operating system
Easy
A.Batch operating system
B.Time-sharing OS
C.Real-time OS
D.Distributed OS
Correct Answer: Batch operating system
Explanation:
A batch operating system groups similar jobs together and processes them without direct user interaction.
Incorrect! Try again.
9An operating system used in devices that require immediate response, like medical or industrial systems, is a?
Types of operating system
Easy
A.Real-time operating system
B.Network operating system
C.Single-user operating system
D.Batch operating system
Correct Answer: Real-time operating system
Explanation:
A real-time operating system responds to inputs instantly and is used where timing is critical.
Incorrect! Try again.
10Which type of OS allows a single user to run multiple programs at the same time?
Types of operating system
Easy
A.Batch OS
B.Single-user single-tasking OS
C.Read-only OS
D.Single-user multitasking OS
Correct Answer: Single-user multitasking OS
Explanation:
A single-user multitasking OS lets one user run several programs simultaneously, such as browsing while playing music.
Incorrect! Try again.
11A user interface that uses icons, windows, and a mouse is called a?
Providing a user interface
Easy
A.Graphical user interface
B.Menu-driven text interface
C.Command-line interface
D.Voice-only interface
Correct Answer: Graphical user interface
Explanation:
A graphical user interface (GUI) uses visual elements like icons, windows, and a pointer for interaction.
Incorrect! Try again.
12In which type of interface does the user type text commands to interact with the computer?
Providing a user interface
Easy
A.Command-line interface
B.Graphical user interface
C.Icon-based interface
D.Touch interface
Correct Answer: Command-line interface
Explanation:
A command-line interface (CLI) requires the user to type text-based commands to perform tasks.
Incorrect! Try again.
13What does GUI stand for?
Providing a user interface
Easy
A.General User Instruction
B.Global Update Installer
C.Guided Utility Interface
D.Graphical User Interface
Correct Answer: Graphical User Interface
Explanation:
GUI stands for Graphical User Interface, which lets users interact using graphics rather than only text.
Incorrect! Try again.
14When you open an application, the operating system loads it into which part of the computer to run it?
Running Programs
Easy
A.Main memory (RAM)
B.The hard disk permanently
C.The printer buffer
D.The monitor screen
Correct Answer: Main memory (RAM)
Explanation:
To run a program, the OS loads it from storage into main memory (RAM) where the CPU can execute it.
Incorrect! Try again.
15A program that is currently running or being executed is known as a?
Running Programs
Easy
A.Process
B.File
C.Folder
D.Driver
Correct Answer: Process
Explanation:
A process is a program in execution. The OS manages processes to run programs correctly.
Incorrect! Try again.
16The ability of an operating system to run several programs at once is called?
Running Programs
Easy
A.Formatting
B.Encryption
C.Booting
D.Multitasking
Correct Answer: Multitasking
Explanation:
Multitasking is the OS capability that allows multiple programs to run at the same time.
Incorrect! Try again.
17The feature that lets you move data between programs by copying from one and pasting into another is supported by the?
Sharing Information
Easy
A.Disk formatter
B.Printer driver
C.Operating system's clipboard
D.Screen saver
Correct Answer: Operating system's clipboard
Explanation:
The OS provides a clipboard that temporarily holds copied data so it can be shared between programs.
Incorrect! Try again.
18Which OS feature allows different users on a network to access the same files?
Sharing Information
Easy
A.Text editing
B.File sharing
C.Screen locking
D.Disk cleanup
Correct Answer: File sharing
Explanation:
File sharing is an OS feature that lets multiple users access the same files over a network.
Incorrect! Try again.
19A small program that lets the operating system communicate with a hardware device is called a?
Managing Hardware
Easy
A.Spreadsheet
B.Search engine
C.Device driver
D.Web browser
Correct Answer: Device driver
Explanation:
A device driver is software that allows the operating system to communicate with and control a hardware device.
Incorrect! Try again.
20Which of the following is an example of utility software?
Enhancing an OS with utility software
Easy
A.Video game
B.Antivirus program
C.Word processor
D.Web browser
Correct Answer: Antivirus program
Explanation:
Antivirus is utility software that helps maintain and protect the system, enhancing the OS.
Incorrect! Try again.
21A user turns on a computer and notices that programs, hardware, and files all become accessible through a single coordinating layer of software. Which characteristic of an operating system does this best illustrate?
Operating system basics
Medium
A.It acts as an intermediary between the user and the computer hardware
B.It replaces the need for application software
C.It compiles high-level source code into machine code
D.It permanently stores all user documents in ROM
Correct Answer: It acts as an intermediary between the user and the computer hardware
Explanation:
The OS sits between users/applications and hardware, coordinating access to resources. It does not store documents in ROM, replace applications, or act as a compiler.
Incorrect! Try again.
22Two applications request to use the printer at the same time. The OS queues one request while the other prints. Which core purpose of an operating system is demonstrated here?
Purpose of the operating system
Medium
A.Source code compilation
B.Data encryption
C.Web page rendering
D.Resource management
Correct Answer: Resource management
Explanation:
Managing shared resources like the printer among competing programs is a core OS purpose. Compilation, encryption, and rendering are handled by other software.
Incorrect! Try again.
23An airline ticketing system must respond to input within strict, guaranteed time limits or the process fails. Which type of operating system is most appropriate?
Types of operating system
Medium
A.Single-user single-tasking system
B.Distributed backup system
C.Batch operating system
D.Real-time operating system
Correct Answer: Real-time operating system
Explanation:
Real-time operating systems guarantee responses within fixed deadlines, making them suitable for time-critical tasks. Batch systems process jobs without immediate response requirements.
Incorrect! Try again.
24A company runs payroll by collecting all employee data and processing it together overnight without user interaction. Which type of OS matches this workflow?
Types of operating system
Medium
A.Batch operating system
B.Embedded operating system
C.Time-sharing interactive system
D.Real-time operating system
Correct Answer: Batch operating system
Explanation:
Batch systems group similar jobs and process them together without user interaction, ideal for scheduled bulk tasks like overnight payroll.
Incorrect! Try again.
25A network administrator prefers typing commands to configure servers quickly rather than clicking through windows. Which type of user interface is the administrator using?
Providing a user interface
Medium
A.Touch-based interface
B.Graphical user interface (GUI)
C.Voice interface
D.Command-line interface (CLI)
Correct Answer: Command-line interface (CLI)
Explanation:
A CLI accepts typed text commands and is often faster for experienced users performing configuration tasks. A GUI relies on visual elements like windows and icons.
Incorrect! Try again.
26In a graphical user interface, a user drags a file icon onto a folder icon to move it. This interaction style is best described as which of the following?
Providing a user interface
Medium
A.Sequential command entry
B.Kernel-level interrupt handling
C.Batch job submission
D.Direct manipulation of on-screen objects
Correct Answer: Direct manipulation of on-screen objects
Explanation:
GUIs use direct manipulation, where users interact with visual objects like icons through actions such as dragging. This differs from typing commands or submitting batch jobs.
Incorrect! Try again.
27When you double-click an application, the OS loads its instructions from disk into main memory before execution begins. What is this activity primarily called?
Running Programs
Medium
A.Compiling the program
B.Formatting the storage
C.Loading a program into memory
D.Defragmenting the disk
Correct Answer: Loading a program into memory
Explanation:
Before a program runs, the OS must load it from storage into RAM. Compiling, defragmenting, and formatting are unrelated to launching an existing executable.
Incorrect! Try again.
28A user runs a web browser, a music player, and a word processor at once on a modern OS, and all appear to run simultaneously on a single CPU. Which OS capability makes this possible?
Running Programs
Medium
A.Cold booting
B.Disk formatting
C.Single-tasking
D.Multitasking
Correct Answer: Multitasking
Explanation:
Multitasking lets the OS rapidly switch the CPU among several programs so they appear to run at the same time. Single-tasking allows only one program at a time.
Incorrect! Try again.
29A program stops responding, and the user opens a system tool to force it to close without restarting the computer. Which OS function is being used?
Running Programs
Medium
A.Memory formatting
B.Process management (terminating a process)
C.File compression
D.BIOS updating
Correct Answer: Process management (terminating a process)
Explanation:
The OS manages running programs as processes and can terminate an unresponsive one. This is part of process management, not formatting, BIOS updates, or compression.
Incorrect! Try again.
30A user copies text from a spreadsheet and pastes it into a word processor. Which OS feature enables this transfer of data between applications?
Sharing Information
Medium
A.The registry
B.The page file
C.The clipboard
D.The boot loader
Correct Answer: The clipboard
Explanation:
The OS clipboard temporarily holds data during copy-and-paste, allowing information to move between programs. The registry and boot loader serve other system functions.
Incorrect! Try again.
31Several users on a network need to access the same folder of documents stored on one server. Which OS feature makes this controlled shared access possible?
Sharing Information
Medium
A.File sharing with access permissions
B.Disk defragmentation
C.CPU overclocking
D.Screen resolution scaling
Correct Answer: File sharing with access permissions
Explanation:
Network operating systems provide file sharing controlled by permissions so multiple users can access the same files safely. The other options do not relate to shared access.
Incorrect! Try again.
32After installing a new printer, the OS needs a small piece of software to communicate correctly with it. What is this software called?
Managing Hardware
Medium
A.A web cookie
B.A device driver
C.A compiler
D.A spreadsheet macro
Correct Answer: A device driver
Explanation:
A device driver translates OS instructions into commands a specific hardware device understands. Without the correct driver, the OS cannot properly control the device.
Incorrect! Try again.
33A running program has more data than fits in RAM, so the OS temporarily moves some data to disk to free up memory. What is this technique called?
Managing Hardware
Medium
A.Disk formatting
B.Virtual memory (paging)
C.Clock speed boosting
D.Cache clearing
Correct Answer: Virtual memory (paging)
Explanation:
Virtual memory uses disk space to extend available RAM by paging data in and out. This lets programs use more memory than is physically installed.
Incorrect! Try again.
34When a keyboard key is pressed, the hardware signals the CPU, which pauses its current task to handle the input. What mechanism is the OS using here?
Managing Hardware
Medium
A.Data compression
B.File indexing
C.Batch scheduling
D.Interrupt handling
Correct Answer: Interrupt handling
Explanation:
Hardware devices use interrupts to notify the CPU that they need attention. The OS handles these interrupts so devices like keyboards get timely service.
Incorrect! Try again.
35A hard drive has become slow because files are scattered in noncontiguous pieces. Which utility program would most directly improve performance?
Enhancing an OS with utility software
Medium
A.Antivirus scanner
B.Disk defragmenter
C.Media player
D.Text editor
Correct Answer: Disk defragmenter
Explanation:
A defragmenter reorganizes fragmented files into contiguous blocks, improving access speed on magnetic drives. The other utilities do not address fragmentation.
Incorrect! Try again.
36A user wants to reduce the size of a large folder before emailing it. Which type of utility software is most appropriate?
Enhancing an OS with utility software
Medium
A.Screen saver
B.Registry viewer
C.File compression utility
D.Disk partitioning tool
Correct Answer: File compression utility
Explanation:
Compression utilities shrink file or folder size to save space and ease transfer. Partitioning and registry tools serve unrelated system purposes.
Incorrect! Try again.
37A company wants automatic protection that detects and removes malicious software before it damages files. Which utility should they install?
Enhancing an OS with utility software
Medium
A.Font manager
B.Backup scheduler
C.Antivirus software
D.Disk defragmenter
Correct Answer: Antivirus software
Explanation:
Antivirus utilities detect, quarantine, and remove malware to protect the system. Defragmenters and backup tools serve maintenance and recovery, not threat removal.
Incorrect! Try again.
38A smartwatch runs a compact OS built into the device with limited resources dedicated to specific functions. Which type of operating system is this?
Types of operating system
Medium
A.Embedded operating system
B.Multi-user server system
C.Batch operating system
D.Distributed operating system
Correct Answer: Embedded operating system
Explanation:
Embedded operating systems run on dedicated devices with limited resources and fixed functions, such as smartwatches and appliances.
Incorrect! Try again.
39A user relies on the OS to organize files into folders, name them, and control where they are saved on disk. Which OS purpose does this describe?
Purpose of the operating system
Medium
A.Program compilation
B.Interrupt generation
C.Screen calibration
D.File management
Correct Answer: File management
Explanation:
The OS provides file management to create, organize, name, and store files in a structured directory system. This is distinct from compiling or calibration.
Incorrect! Try again.
40When a computer is switched on, a small program loads the core of the operating system into memory so the machine becomes usable. This start-up process is best known as which of the following?
Operating system basics
Medium
A.Booting
B.Encrypting
C.Debugging
D.Rendering
Correct Answer: Booting
Explanation:
Booting is the start-up process where the system loads the OS kernel into memory. Debugging, encrypting, and rendering are unrelated to system start-up.
Incorrect! Try again.
41A system boots and the bootloader loads the kernel into memory. Which sequence correctly describes what must happen before user applications can be launched?
Operating system basics
Hard
A.First user-space process starts, then the kernel loads device drivers on demand from that process
B.Applications load first and request kernel services, which are initialized lazily
C.The bootloader mounts the file system and starts applications, then hands control to the kernel
D.Kernel initializes hardware and device drivers, mounts the root file system, then starts the first user-space process
Correct Answer: Kernel initializes hardware and device drivers, mounts the root file system, then starts the first user-space process
Explanation:
After the bootloader loads it, the kernel initializes hardware and drivers, mounts the root file system, and only then spawns the first user-space process (e.g., init/systemd), which brings up remaining services and allows applications to run.
Incorrect! Try again.
42Two applications simultaneously request the printer. The OS queues one and lets the other proceed. This behavior most directly demonstrates which core purpose of the OS?
Purpose of the operating system
Hard
A.Encrypting the data sent to the printer
B.Acting as a resource manager that arbitrates contention for shared devices
C.Compiling application code into machine instructions
D.Providing a graphical user interface for both applications
Correct Answer: Acting as a resource manager that arbitrates contention for shared devices
Explanation:
A central purpose of the OS is resource management. When multiple programs contend for one device, the OS arbitrates access (here via a print queue) so the resource is shared safely and orderly.
Incorrect! Try again.
43An air-traffic collision-avoidance system must guarantee that a response is produced within a strict deadline, and missing that deadline is considered a system failure. Which OS type is required?
Types of operating system
Hard
A.Time-sharing operating system
B.Batch operating system
C.Soft real-time operating system
D.Hard real-time operating system
Correct Answer: Hard real-time operating system
Explanation:
A hard real-time OS guarantees deadlines are met; a missed deadline is a failure. Soft real-time only degrades quality on misses, and time-sharing/batch systems make no timing guarantees at all.
Incorrect! Try again.
44A process makes a system call to read from disk and is moved off the CPU while the I/O completes. Which state transition best describes this?
Running Programs
Hard
A.Running → Ready
B.Ready → Running
C.Blocked → Terminated
D.Running → Blocked (waiting)
Correct Answer: Running → Blocked (waiting)
Explanation:
When a running process issues a blocking I/O request, it cannot continue until data arrives, so it transitions to the Blocked/waiting state. It returns to Ready (not directly to Running) once the I/O completes.
Incorrect! Try again.
45Why does modern hardware provide two CPU privilege modes (user mode and kernel mode) rather than running everything in one mode?
Managing Hardware
Hard
A.To prevent user programs from directly executing privileged instructions that could corrupt the system
B.To let device drivers bypass the operating system entirely
C.To make user programs run faster by skipping kernel checks
D.To allow the CPU to switch between 32-bit and 64-bit addressing
Correct Answer: To prevent user programs from directly executing privileged instructions that could corrupt the system
Explanation:
Dual-mode operation protects the system: privileged instructions (I/O, memory-management setup) run only in kernel mode. User programs must request such operations through system calls, which the kernel validates, preventing accidental or malicious corruption.
Incorrect! Try again.
46A power user automates a nightly backup that must run without human presence and adapt using conditional logic. Which interface characteristic makes a command-line/shell interface preferable to a GUI here?
Providing a user interface
Hard
A.The CLI encrypts commands automatically
B.The CLI uses less disk space to store files
C.Commands can be scripted and executed non-interactively with programmable control flow
D.The CLI renders graphics faster than a GUI
Correct Answer: Commands can be scripted and executed non-interactively with programmable control flow
Explanation:
CLIs support scripting: commands, loops, and conditionals can be saved and run unattended on a schedule. GUIs are optimized for interactive point-and-click use and are hard to automate reliably.
Incorrect! Try again.
47Two cooperating processes exchange data through a shared memory region. What must the OS or the programmer additionally provide to prevent inconsistent reads and writes?
Sharing Information
Hard
A.A dedicated graphics driver
B.A larger swap file on disk
C.A synchronization mechanism such as semaphores or mutexes
D.A separate file for each process
Correct Answer: A synchronization mechanism such as semaphores or mutexes
Explanation:
Shared memory is the fastest IPC method but offers no built-in coordination. Without synchronization primitives (semaphores, mutexes), concurrent access creates race conditions and inconsistent data.
Incorrect! Try again.
48A program references a virtual address whose page is not currently in RAM. What mechanism does the OS use to handle this so the program continues correctly?
Managing Hardware
Hard
A.The CPU ignores the reference and returns zero
B.A page fault triggers the OS to load the required page from disk into a frame
C.The OS terminates the process because the address is invalid
D.The program is recompiled to remove the reference
Correct Answer: A page fault triggers the OS to load the required page from disk into a frame
Explanation:
In virtual memory, referencing an absent page raises a page fault. The OS pauses the process, loads the page from backing store into a physical frame, updates the page table, and resumes execution transparently.
Incorrect! Try again.
49A cluster of networked computers presents itself to users as a single coherent machine, coordinating processes across nodes transparently. This best describes which type of OS?
Types of operating system
Hard
A.Embedded operating system
B.Distributed operating system
C.Multiprogramming batch operating system
D.Single-user single-tasking operating system
Correct Answer: Distributed operating system
Explanation:
A distributed OS manages a collection of independent networked computers and makes them appear to users as one system, coordinating resources and processes across nodes transparently.
Incorrect! Try again.
50After long use, a mechanical hard disk shows slower file access because files are stored in non-contiguous blocks. Which utility directly addresses this, and why is it unnecessary on SSDs?
Enhancing an OS with utility software
Hard
A.A backup utility; SSDs cannot lose data
B.A disk-cleanup tool; SSDs never store temporary files
C.A defragmenter; SSDs have no moving read/write head so contiguous layout gives no seek benefit
Correct Answer: A defragmenter; SSDs have no moving read/write head so contiguous layout gives no seek benefit
Explanation:
Defragmentation reorders fragmented files into contiguous blocks to reduce mechanical seek time. SSDs access any block in roughly constant time, so defragmenting gives no speed gain and only adds unnecessary writes.
Incorrect! Try again.
51Under a preemptive scheduler, a process with a lower priority is repeatedly bypassed by higher-priority processes and never gets CPU time. What is this condition called, and what technique commonly resolves it?
Running Programs
Hard
A.Thrashing; resolved by adding more RAM
B.Starvation; resolved by aging that gradually raises a waiting process's priority
C.Deadlock; resolved by killing all processes
D.Fragmentation; resolved by compaction
Correct Answer: Starvation; resolved by aging that gradually raises a waiting process's priority
Explanation:
Indefinite postponement of a low-priority process is starvation. Aging combats it by incrementally increasing the priority of a process the longer it waits, so it eventually runs.
Incorrect! Try again.
52Compared with polling, why do modern operating systems prefer interrupt-driven I/O for handling device events?
Managing Hardware
Hard
A.Interrupts transfer data without ever involving the CPU
B.Polling cannot detect when a device is ready
C.Interrupts remove the need for device drivers
D.The CPU can do useful work and is notified only when the device needs attention
Correct Answer: The CPU can do useful work and is notified only when the device needs attention
Explanation:
Polling wastes CPU cycles by continuously checking device status. Interrupts let the CPU perform other work and respond only when the device signals readiness, greatly improving efficiency.
Incorrect! Try again.
53An OS exposes a consistent open()/read()/write() interface so a program can access a file the same way regardless of whether it lives on an SSD, USB drive, or network share. This illustrates which OS role?
Purpose of the operating system
Hard
A.Providing abstraction that hides hardware differences behind a uniform interface
B.Providing preemptive CPU scheduling
C.Providing memory protection between processes
D.Providing a graphical desktop environment
Correct Answer: Providing abstraction that hides hardware differences behind a uniform interface
Explanation:
The OS abstracts diverse hardware behind uniform interfaces (like the file API). Programs use the same calls regardless of the underlying device, with device drivers translating to hardware specifics.
Incorrect! Try again.
54A single-core CPU appears to run many programs "at the same time." What is actually happening at the hardware level?
Running Programs
Hard
A.The CPU physically executes all processes in parallel
B.The OS rapidly time-slices the CPU among processes via context switching (concurrency)
C.The programs are merged into one process before execution
D.Each program is copied to a separate core automatically
Correct Answer: The OS rapidly time-slices the CPU among processes via context switching (concurrency)
Explanation:
On a single core there is no true parallelism. The scheduler interleaves processes by switching contexts quickly, creating the illusion of simultaneous execution. This is concurrency, not parallelism.
Incorrect! Try again.
55A web server process and a logging process on the same machine must exchange a continuous stream of bytes, where the writer may run faster than the reader. Which IPC mechanism naturally provides buffered, unidirectional streaming with flow control?
Sharing Information
Hard
A.A signal
B.An environment variable
C.A shared read-only file opened once
D.A pipe
Correct Answer: A pipe
Explanation:
A pipe provides a buffered, unidirectional byte stream between processes. The kernel blocks the writer when the buffer is full and the reader when it is empty, giving built-in flow control ideal for producer-consumer streaming.
Incorrect! Try again.
56A mainframe collects large numbers of jobs, groups similar ones, and executes them without user interaction to maximize throughput. Which OS type is this, and what is its main user-experience drawback?
Types of operating system
Hard
A.Distributed OS; network partition failures
B.Real-time OS; unpredictable deadlines
C.Batch OS; long turnaround time with no interactivity
Correct Answer: Batch OS; long turnaround time with no interactivity
Explanation:
A batch OS runs grouped jobs without user interaction to maximize throughput. Because a user cannot interact with a job once submitted and must wait for results, turnaround time is long.
Incorrect! Try again.
57Four processes each hold one resource and each waits for a resource held by another, forming a cycle. No process can proceed. Which set of conditions is fully present here?
Managing Hardware
Hard
A.Only mutual exclusion and starvation
B.Only circular wait and aging
C.Mutual exclusion, hold-and-wait, no preemption, and circular wait
D.Preemption, paging, and fragmentation
Correct Answer: Mutual exclusion, hold-and-wait, no preemption, and circular wait
Explanation:
This is a deadlock. All four Coffman conditions must hold simultaneously: mutual exclusion, hold-and-wait, no preemption, and circular wait. Breaking any one prevents deadlock.
Incorrect! Try again.
58A user notices constant disk activity and severe slowdown while many applications are open, though the CPU is mostly idle waiting on I/O. Which OS-level phenomenon does a system-monitor utility most likely reveal?
Enhancing an OS with utility software
Hard
A.A fragmented registry
B.A corrupted boot sector
C.Thrashing caused by excessive paging between RAM and disk
D.An out-of-date device driver
Correct Answer: Thrashing caused by excessive paging between RAM and disk
Explanation:
When demand for memory exceeds available RAM, the OS spends most of its time swapping pages in and out rather than executing processes. This is thrashing: heavy disk I/O, high paging, and an idle CPU.
Incorrect! Try again.
59In a typical modern OS, why is the GUI implemented largely in user space rather than entirely inside the kernel?
Providing a user interface
Hard
A.Because GUIs must be written in interpreted languages
B.Because user space runs in kernel mode for speed
C.To keep the kernel smaller and more stable so a GUI crash does not take down the whole system
D.Because the kernel cannot draw pixels to the screen
Correct Answer: To keep the kernel smaller and more stable so a GUI crash does not take down the whole system
Explanation:
Keeping the GUI in user space improves reliability and security: a failure in the interface does not crash the kernel. It also keeps the kernel modular. Core graphics access still goes through kernel-managed drivers.
Incorrect! Try again.
60Consider the claim: "A microkernel is inherently faster than a monolithic kernel." Why is this generally false?
Operating system basics
Hard
A.Microkernels move services to user space, so extra message passing and mode switches add overhead
B.Monolithic kernels never use system calls
C.Microkernels run entirely in user mode with no kernel
D.Microkernels cannot support device drivers at all
Correct Answer: Microkernels move services to user space, so extra message passing and mode switches add overhead
Explanation:
Microkernels keep only essentials in kernel space and run services (drivers, file systems) as user-space processes. This improves modularity and reliability but the added inter-process message passing and mode switches typically make them slower than monolithic kernels for many workloads.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →