Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
Question 1 of 60 · Basics of operating systems · Easy
What is an operating system?
Not quite. Try another option.
Answer: System software that manages computer hardware and software resources
An operating system is system software that acts as an interface between the user and hardware, managing all resources of the computer.
Question 2 of 60 · Basics of operating systems · Easy
Which of the following is an example of an operating system?
Not quite. Try another option.
Answer: Windows
Windows is an operating system, while Word, Chrome, and Photoshop are application software that run on top of an OS.
Question 3 of 60 · Basics of operating systems · Easy
The operating system is classified as which type of software?
Not quite. Try another option.
Answer: System software
An operating system is a category of system software that controls and coordinates the use of hardware among applications.
Question 4 of 60 · Basics of operating systems · Easy
When you turn on a computer, the process of loading the operating system into memory is called:
Not quite. Try another option.
Answer: Booting
Booting is the process of starting a computer and loading the operating system into main memory so it is ready to use.
Question 5 of 60 · Purpose of operating systems · Easy
Which of the following is a primary function of an operating system?
Not quite. Try another option.
Answer: Managing memory
Memory management is a core OS function. Editing photos, writing emails, and creating spreadsheets are tasks done by application software.
Question 6 of 60 · Purpose of operating systems · Easy
The part of the operating system that manages which program uses the CPU and when is called:
Not quite. Try another option.
Answer: Process management
Process management handles the scheduling and execution of programs, deciding which process gets the CPU and for how long.
Question 7 of 60 · Purpose of operating systems · Easy
The operating system function that organizes and keeps track of files and folders on storage is known as:
Not quite. Try another option.
Answer: File management
File management is the OS function responsible for creating, storing, retrieving, and organizing files and directories.
Question 8 of 60 · Purpose of operating systems · Easy
Which of the following is NOT a purpose of an operating system?
Not quite. Try another option.
Answer: Designing computer hardware circuits
Designing hardware circuits is not an OS task. The OS manages devices, memory, and provides a user interface to interact with the computer.
Question 9 of 60 · Purpose of operating systems · Easy
The operating system acts as an interface between the user and the:
Not quite. Try another option.
Answer: Computer hardware
A key purpose of the OS is to act as a bridge between the user and the underlying computer hardware.
Question 10 of 60 · Providing a user interface · Easy
What does GUI stand for?
Not quite. Try another option.
Answer: Graphical User Interface
GUI stands for Graphical User Interface, which lets users interact with a computer using icons, windows, and menus.
Question 11 of 60 · Providing a user interface · Easy
In a Graphical User Interface, users typically interact with the computer using:
Not quite. Try another option.
Answer: Icons and a mouse
A GUI allows interaction through visual elements like icons, buttons, and windows, usually controlled with a mouse.
Question 12 of 60 · Providing a user interface · Easy
A user interface where commands are typed as text is called a:
Not quite. Try another option.
Answer: Command-line interface
A command-line interface (CLI) requires users to type text commands to communicate with the operating system.
Question 13 of 60 · Providing a user interface · Easy
Which of the following is an example of a command-line interface?
Not quite. Try another option.
Answer: Command Prompt
Command Prompt is a command-line interface where users type text commands. The others are visual elements of a GUI.
Question 14 of 60 · Providing a user interface · Easy
The main screen you see after the operating system starts, containing icons and a taskbar, is called the:
Not quite. Try another option.
Answer: Desktop
The desktop is the main working area of a GUI-based OS, displaying icons, shortcuts, and the taskbar.
Question 15 of 60 · Types of operating systems · Easy
An operating system that allows only one user to work on the computer at a time is called a:
Not quite. Try another option.
Answer: Single-user operating system
A single-user operating system is designed to support only one user at a time, such as a typical home desktop OS.
Question 16 of 60 · Types of operating systems · Easy
An operating system that lets several users access the computer at the same time is called a:
Not quite. Try another option.
Answer: Multi-user operating system
A multi-user operating system allows multiple users to use the system resources simultaneously, often through terminals.
Question 17 of 60 · Types of operating systems · Easy
Which type of operating system is designed to run more than one program at a time?
Not quite. Try another option.
Answer: Multitasking operating system
A multitasking operating system can run several programs or tasks at the same time by sharing system resources.
Question 18 of 60 · Types of operating systems · Easy
Which of the following is an example of a mobile operating system?
Not quite. Try another option.
Answer: Android
Android is an operating system designed for mobile devices such as smartphones and tablets.
Question 19 of 60 · Enhancing an OS with utility software · Easy
What is the main role of utility software?
Not quite. Try another option.
Answer: To help maintain and optimize computer performance
Utility software performs maintenance tasks that help keep the computer running smoothly, working alongside the OS.
Question 20 of 60 · Enhancing an OS with utility software · Easy
Which of the following is an example of utility software?
Not quite. Try another option.
Answer: Antivirus program
An antivirus is utility software that protects and maintains the system. The others are application software used for specific tasks.
Question 21 of 60 · Basics of operating systems · Medium
A user launches three applications at once on a single-CPU computer, yet all appear to run simultaneously. Which OS function makes this possible?
Not quite. Try another option.
Answer: Process scheduling that rapidly switches CPU time between tasks
The OS uses scheduling to allocate short slices of CPU time to each process in quick succession, creating the illusion that programs run at the same time on one CPU.
Question 22 of 60 · Basics of operating systems · Medium
Which statement best explains why the operating system is called system software rather than application software?
Not quite. Try another option.
Answer: It manages hardware and provides services that other programs rely on
System software like the OS controls hardware resources and offers a platform on which application software runs, unlike applications that perform user-facing tasks.
Question 23 of 60 · Basics of operating systems · Medium
When you save a file, you specify only a name and folder, not the exact disk sectors used. Which OS role does this demonstrate?
Not quite. Try another option.
Answer: Abstraction of hardware details through file management
The OS hides low-level storage details and lets users work with logical files and folders, an example of hardware abstraction.
Question 24 of 60 · Purpose of operating systems · Medium
Two programs try to write to the printer at the same moment. Which OS responsibility prevents their output from being mixed?
Not quite. Try another option.
Answer: Resource management through spooling and allocation
The OS manages shared resources like printers, often using spooling to queue jobs so outputs do not overlap.
Question 25 of 60 · Purpose of operating systems · Medium
A program tries to access a memory area belonging to another program and is stopped. Which OS purpose is being served?
Not quite. Try another option.
Answer: Memory protection to isolate processes from one another
The OS enforces memory protection so one process cannot corrupt the memory space of another, improving stability and security.
Question 26 of 60 · Purpose of operating systems · Medium
Which scenario best illustrates the OS acting as an intermediary between the user and hardware?
Not quite. Try another option.
Answer: A user presses a key and the OS translates it into a character the program receives
The OS mediates between user actions and hardware, interpreting input signals and delivering them to applications in usable form.
Question 27 of 60 · Purpose of operating systems · Medium
A running application requests more memory than is physically available, yet it continues to function. Which OS technique makes this possible?
Not quite. Try another option.
Answer: Virtual memory that uses disk space to extend RAM
Virtual memory lets the OS use part of the disk as an extension of RAM, so programs can run even when physical memory is insufficient.
Question 28 of 60 · Providing a user interface · Medium
A network administrator writes a script to rename 500 files at once. Which type of interface is most efficient for this task?
Not quite. Try another option.
Answer: A command-line interface (CLI)
CLIs allow commands and scripts to automate repetitive batch operations quickly, which is far more efficient than manual GUI actions.
Question 29 of 60 · Providing a user interface · Medium
Which feature is a defining characteristic of a graphical user interface (GUI) compared to a command-line interface?
Not quite. Try another option.
Answer: Interaction through icons, windows, and pointers
GUIs rely on visual elements such as icons, windows, menus, and pointers, making them more intuitive than text-only command interfaces.
Question 30 of 60 · Providing a user interface · Medium
A new user finds it difficult to remember typed commands and prefers clicking visible options. Which interface best suits this user, and why?
Not quite. Try another option.
Answer: GUI, because it presents options visually and lowers the memory burden
A GUI displays choices as clickable icons and menus, so users need not memorize commands, making it well suited for beginners.
Question 31 of 60 · Providing a user interface · Medium
Why can a command-line interface sometimes give an experienced user more control than a GUI?
Not quite. Try another option.
Answer: It exposes precise commands and options that may be hidden in a GUI
CLIs allow detailed command parameters and combinations, giving power users fine-grained control that GUIs often abstract away.
Question 32 of 60 · Types of operating systems · Medium
An airline booking system must respond to flight-control sensor data within strict time limits or fail. Which OS type is required?
Not quite. Try another option.
Answer: Real-time operating system
Real-time operating systems guarantee responses within fixed deadlines, which is essential for time-critical control applications.
Question 33 of 60 · Types of operating systems · Medium
A university mainframe lets 50 students edit code simultaneously, giving each a small slice of CPU time. Which OS type is this?
Not quite. Try another option.
Answer: Time-sharing (multi-user) operating system
Time-sharing systems rapidly divide CPU time among many users, allowing multiple people to work interactively at once.
Question 34 of 60 · Types of operating systems · Medium
A payroll department collects transactions all day and processes them together overnight without user interaction. Which OS type fits this workflow?
Not quite. Try another option.
Answer: Batch processing operating system
Batch systems group similar jobs and process them together without user interaction during execution, ideal for scheduled bulk tasks.
Question 35 of 60 · Types of operating systems · Medium
A smart thermostat runs software fixed at the factory that only controls temperature. Which OS type does it most likely use?
Not quite. Try another option.
Answer: Embedded operating system
Embedded operating systems are built into dedicated devices to perform specific functions with limited, fixed resources.
Question 36 of 60 · Types of operating systems · Medium
Which characteristic best distinguishes a multitasking OS from a single-tasking OS?
Not quite. Try another option.
Answer: It can keep several programs active in memory concurrently
Multitasking operating systems manage multiple active programs at once, while single-tasking systems run only one program at a time.
Question 37 of 60 · Types of operating systems · Medium
A company links many separate computers so they share resources and appear as one system to users. Which OS type supports this?
Not quite. Try another option.
Answer: Distributed operating system
A distributed operating system coordinates multiple networked computers so they function together as a single unified system.
Question 38 of 60 · Enhancing an OS with utility software · Medium
Over time, a hard disk drive stores file fragments scattered across it, slowing access. Which utility program addresses this?
Not quite. Try another option.
Answer: Disk defragmenter
A disk defragmenter reorganizes scattered file fragments into contiguous blocks, improving read performance on magnetic drives.
Question 39 of 60 · Enhancing an OS with utility software · Medium
A user wants to email several large documents but the total size exceeds the attachment limit. Which utility helps most?
Not quite. Try another option.
Answer: File compression utility
A compression utility reduces file size by encoding data more efficiently, allowing large files to fit within size limits.
Question 40 of 60 · Enhancing an OS with utility software · Medium
Which statement correctly describes the relationship between utility software and the operating system?
Not quite. Try another option.
Answer: Utility software supports and maintains the system but is not part of the core OS
Utility programs perform maintenance and optimization tasks that complement the OS; they enhance it rather than form its core.
Question 41 of 60 · Basics of operating systems · Hard
A system call transitions the CPU from user mode to kernel mode. Which of the following best explains why this privilege boundary is fundamental to OS design rather than merely a performance optimization?
Not quite. Try another option.
Answer: It prevents user applications from directly executing privileged instructions that could compromise system integrity
The dual-mode operation exists to protect the system: privileged instructions (I/O, memory management, halting) can only run in kernel mode, so a faulty or malicious user process cannot directly damage hardware or other processes. It is a protection mechanism, not a speed feature.
Question 42 of 60 · Purpose of operating systems · Hard
Two processes each hold one resource and request the resource held by the other, and neither will release until it acquires the second. Which OS responsibility is most directly implicated, and what condition describes this scenario?
Not quite. Try another option.
Answer: Resource management; deadlock
This is a classic deadlock: circular wait with hold-and-wait, mutual exclusion, and no preemption. Managing shared resources to prevent or resolve such conditions is a core OS resource-management responsibility.
Question 43 of 60 · Types of operating systems · Hard
An air-traffic collision-avoidance system must guarantee that a response is produced within a strict deadline, and missing that deadline is considered a total system failure. Which OS type is required?
Not quite. Try another option.
Answer: Hard real-time operating system
When a missed deadline causes catastrophic failure, a hard real-time OS is mandatory because it guarantees deterministic response within absolute time limits. A soft real-time OS tolerates occasional deadline misses with degraded quality.
Question 44 of 60 · Providing a user interface · Hard
A developer must automate a repetitive multi-step deployment across 200 servers. Why is a command-line interface (CLI) generally superior to a graphical user interface (GUI) for this task?
Not quite. Try another option.
Answer: CLI commands can be scripted and batched for repeatable, unattended execution
The CLI's key advantage for automation is scriptability: commands can be stored, parameterized, and executed non-interactively across many machines. GUIs require manual interaction, making them impractical for bulk automation.
Question 45 of 60 · Enhancing an OS with utility software · Hard
A user runs a disk defragmentation utility on a solid-state drive (SSD) hoping to improve performance. What is the most accurate assessment of this action?
Not quite. Try another option.
Answer: It provides little benefit and may reduce SSD lifespan due to unnecessary write cycles
SSDs have no moving read/write heads, so physical fragmentation does not affect access time. Defragmentation causes extra writes that consume the drive's limited write endurance, offering no real performance gain.
Question 46 of 60 · Types of operating systems · Hard
A batch operating system and a time-sharing operating system differ fundamentally in how jobs are handled. Which statement correctly captures this distinction?
Not quite. Try another option.
Answer: Batch systems process grouped jobs without user interaction, while time-sharing systems switch rapidly among interactive users
Batch systems collect similar jobs and execute them without user intervention, optimizing throughput. Time-sharing systems allocate CPU time slices to switch quickly between interactive users, giving each the illusion of dedicated access.
Question 47 of 60 · Purpose of operating systems · Hard
In a multiprogramming environment, the OS keeps several jobs in memory simultaneously. What is the primary benefit this provides that a uniprogramming system cannot?
Not quite. Try another option.
Answer: It maximizes CPU utilization by switching to another job when the current job waits for I/O
Multiprogramming improves CPU utilization: when one job blocks on I/O, the CPU switches to another ready job instead of idling. Individual job completion is not necessarily faster, and memory protection becomes more critical, not less.
Question 48 of 60 · Basics of operating systems · Hard
Consider the difference between a monolithic kernel and a microkernel. Which trade-off most accurately describes the microkernel approach?
Not quite. Try another option.
Answer: Greater stability and modularity at the cost of performance overhead from message passing
A microkernel moves services like drivers and file systems to user space, improving isolation and stability. The cost is added overhead from inter-process message passing, unlike a monolithic kernel where services run together in kernel space with fewer transitions.
Question 49 of 60 · Providing a user interface · Hard
The kernel does not directly contain the GUI in most operating systems. What is the architectural reason for keeping the graphical shell separate from the kernel?
Not quite. Try another option.
Answer: It preserves modularity and system stability, so a shell crash does not bring down the kernel
Separating the user interface from the kernel is a modular design choice: the shell (CLI or GUI) runs as a higher-level component, so a UI failure need not crash the core OS. The kernel handles low-level control; the interface layer requests services through it.
Question 50 of 60 · Enhancing an OS with utility software · Hard
A file compression utility reduces a 100 MB text file to 20 MB, but a 100 MB already-compressed JPEG archive shrinks only to 99 MB. Which principle best explains this difference?
Not quite. Try another option.
Answer: Compression exploits redundancy, which is high in text but already minimized in JPEGs
Compression utilities work by removing statistical redundancy. Text has substantial redundancy, so it compresses well. JPEGs are already compressed, leaving little redundancy for a general-purpose compressor to remove.
Question 51 of 60 · Types of operating systems · Hard
A distributed operating system and a network operating system both involve multiple machines. Which characteristic uniquely distinguishes a true distributed OS?
Not quite. Try another option.
Answer: It presents multiple networked computers as a single coherent system to the user
A distributed OS abstracts multiple machines into one unified system with transparent resource sharing. A network OS keeps each machine's OS independent, offering explicit services like remote login and file sharing without full transparency.
Question 52 of 60 · Purpose of operating systems · Hard
A process repeatedly gets bypassed by higher-priority processes and never receives CPU time. The OS design must address this. What is the condition, and one common remedy?
Not quite. Try another option.
Answer: Starvation; aging, which gradually raises a waiting process's priority
Indefinite postponement of a low-priority process is starvation. Aging remedies it by incrementally increasing the priority of processes that have waited a long time, guaranteeing they eventually run.
Question 53 of 60 · Basics of operating systems · Hard
During boot, the bootstrap program loads the kernel into memory. Where is this initial bootstrap program typically stored, and why is that location chosen?
Not quite. Try another option.
Answer: In firmware/ROM, because it must be available and unchangeable before any OS is loaded
The bootstrap loader resides in non-volatile firmware/ROM so it is present immediately at power-on, before any OS exists in RAM. RAM is volatile and empty at boot, so it cannot hold the initial startup code.
Question 54 of 60 · Providing a user interface · Hard
A user issues a command in the shell. Which sequence correctly describes how the request reaches the hardware?
Not quite. Try another option.
Answer: Shell interprets the command, invokes a system call, kernel executes the privileged operation on hardware
The shell parses user input and requests services via system calls. The kernel, running in privileged mode, is the only component that actually performs hardware operations. Direct hardware access from user space is prevented by design.
Question 55 of 60 · Enhancing an OS with utility software · Hard
An antivirus utility uses both signature-based and heuristic detection. Why is heuristic detection essential despite being more prone to false positives?
Not quite. Try another option.
Answer: It can identify previously unknown malware by analyzing suspicious behavior rather than known signatures
Signature-based detection only catches known threats. Heuristic detection examines behavior and code patterns, enabling detection of new or modified malware (zero-day threats) at the cost of occasional false positives.
Question 56 of 60 · Types of operating systems · Hard
A high-performance computing task is split across thousands of CPU cores in a single machine using a symmetric multiprocessing (SMP) OS. Which statement about SMP is correct?
Not quite. Try another option.
Answer: All processors share a common memory and are treated as peers by a single OS instance
In symmetric multiprocessing, all CPUs are equal peers sharing memory and controlled by one OS, which can schedule any process on any processor. The master-slave model describes asymmetric multiprocessing instead.
Question 57 of 60 · Purpose of operating systems · Hard
A system with limited RAM begins spending most of its time swapping pages between memory and disk, and CPU utilization drops sharply. What is this phenomenon called, and what is a direct cause?
Not quite. Try another option.
Answer: Thrashing; the degree of multiprogramming exceeds available physical memory
Thrashing occurs when too many processes compete for insufficient physical memory, causing constant paging. The CPU spends more time servicing page faults than executing, so utilization collapses. Reducing multiprogramming degree relieves it.
Question 58 of 60 · Basics of operating systems · Hard
An embedded operating system in a microwave oven and a desktop OS differ in design priorities. Which pairing of priorities is most accurate?
Not quite. Try another option.
Answer: Embedded OS: minimal footprint and reliability; desktop OS: flexibility and rich user interaction
Embedded operating systems are optimized for a fixed function with small memory footprint and high reliability, often running on constrained hardware. Desktop operating systems prioritize general-purpose flexibility and rich, interactive user interfaces.
Question 59 of 60 · Enhancing an OS with utility software · Hard
A backup utility offers incremental backups. Compared to a full backup performed daily, what is the key trade-off of daily incremental backups?
Not quite. Try another option.
Answer: Faster backup and less storage, but slower and more complex restoration
Incremental backups store only data changed since the last backup, so they are fast and space-efficient. Restoration is slower and more complex because it requires the last full backup plus every incremental in sequence.
Question 60 of 60 · Providing a user interface · Hard
A designer argues that a GUI is always more efficient than a CLI. Under which scenario is this claim most clearly false?
Not quite. Try another option.
Answer: When performing complex, repeatable batch operations that benefit from scripting and precise flags
GUIs excel at discoverability and visual tasks for less-experienced users. But for complex, repeatable, automatable operations, a CLI is more efficient due to scripting, precise parameter control, and speed of expert input.
That's unit 4
Answer a few questions and your score shows up here.
Nearly through. Did unit 4 of CAP1007 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 4 of CAP1007 save you a night before the exam?
Then you can help keep it free for the next batch. 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.