Which of the following is an application software?
✓ Correct answer: MS Word
Full explanation
MS Word. MS Word is an application software, while Windows, Linux and Android are operating systems.
Operating systems, the way the papers ask them — what an operating system is, the types, the kernel and the shell, processes and threads, CPU scheduling, memory management, file systems, deadlocks and security, with the Windows and Linux facts the one-paper exams repeat.
This topic is operating systems the way the one-paper exams ask them: not theory for its own sake, but the facts that decide which option is right. There are 180 practice questions on this page: 148 from the bank and 37 new ones written to fill the gaps the bank leaves — most of them in memory management, scheduling, deadlocks and security, which the bank covers thinly. The order below is the order to learn in. Start with what an operating system is and what it does, because every later section is one of its jobs. Then the types, then how it is built — the kernel, the shell and booting — then processes and threads, then CPU scheduling, then memory management, then file systems, then deadlocks, then security, and finally Windows and Linux in practice. Past papers — PPSC, FPSC, NTS, BPSC, KPPSC, STS and ETEA — ask the same core facts again and again: which system is which, what the kernel does, which scheduling algorithm gives the shortest wait, what paging divides memory into, and which four conditions a deadlock needs. Learn each fact once, then practise it in the questions until the right option feels obvious. Two boundary rules for this page: physical memory and devices belong to the Hardware topic, so the two cache-memory questions in the bank were moved out there; and viruses and malware belong to the Computer Security & Viruses topic, so security here means what the operating system itself does — user accounts, permissions and authentication.
An operating system is the program that manages the computer's hardware and lets other programs run. It is system software, not application software: MS Word, MS Excel and Photoshop are applications that run on it, while Windows, Linux, macOS and Android are operating systems. Its jobs are file management, task management, memory management and input/output management — it organises and stores files, runs programs, shares the processor and the memory between them, and talks to the hardware through device drivers. The first operating system used for real work was GM-NAA I/O, built by General Motors for the IBM 704 in 1956; it ran jobs one after another automatically, which was batch processing. Unix began at Bell Labs in 1969, written by Ken Thompson and Dennis Ritchie, and it shaped almost everything after it: Linux, which Linus Torvalds began in 1991, and macOS both descend from Unix ideas, and Android runs on the Linux kernel. Microsoft released Windows 1.0 in 1985, and Windows is still the operating system on most desktop computers in the world.
Operating systems are sorted by how many users and jobs they handle, and by how strictly they must answer on time. A batch operating system collects jobs together and runs them as a group without user interaction while they run — that is how GM-NAA I/O worked in 1956. A time-sharing system lets many users share one computer by giving each a short time slice in turn, which is why a time-sharing system can also be called a multitasking one. A real-time operating system guarantees that tasks finish within strict time limits: in a hard real-time system missing a deadline is a failure of the whole system, as in aircraft controls or a pacemaker, while in a soft real-time system a missed deadline only makes the service worse, as in video streaming. VxWorks is a real-time operating system. An embedded operating system has a small footprint, does one specific job, and has a very limited user interface. MS-DOS was a single-user, single-task operating system with a command-line interface. Four words that the papers love to mix up: multiprogramming keeps several programs in memory at the same time; multitasking lets several programs run at the same time by sharing the processor in rapid turns; multiprocessing uses two or more processors to run programs in parallel; multithreading lets one process run several threads at the same time.
The kernel is the core of the operating system: it runs in privileged mode, controls the hardware directly, and manages the CPU, the memory and the devices. Around it sits the shell, the program that gives the user a command-line interface — the user types commands, and the shell passes them to the kernel. A program never touches the hardware itself; it asks the kernel through a system call, such as a request to read a file or create a process. The hardware keeps the two apart with dual-mode operation: user programs run in user mode, and only a system call switches the processor into kernel mode. A device driver is the software that lets the operating system communicate with one particular piece of hardware, such as a printer or a graphics card. In a monolithic kernel, like Linux, all operating system services run in kernel space as one large program; in a microkernel only the basic services run in kernel space and the rest run as ordinary programs in user space. When the computer is switched on, the BIOS — firmware that runs first — checks the hardware and starts the boot process; UEFI is the modern replacement for BIOS. The bootstrap loader then loads the operating system into memory, which is why starting a computer is called booting. Without an operating system to load, a computer cannot boot at all. An interrupt is the signal that tells the processor to pause its current work temporarily to handle an event, such as a key press.
A process is a program in execution — a program loaded into memory and running, with its own resources and state. A program sitting on the disk is not a process until it is loaded; loading is the process of bringing it from disk into memory. A thread is the smallest unit of execution inside a process: a single lightweight sequence of instructions that shares the process's memory, so one process can run several threads at the same time. A process can be in the running, ready or waiting state: ready means it is waiting for the CPU, running means it has the CPU, and waiting means it is waiting for something else, such as input or a file. The Process Control Block (PCB) stores everything the operating system needs to know about a process — its state, its program counter and its registers. Context switching is the operation of saving one process's state and loading another's, so the CPU can switch between them. Spooling holds jobs for a slow device, such as a printer, in a queue on disk, so the CPU can carry on with other work while the printer works through them. Two processes that share data need synchronisation, or the result depends on the order they run in — a race condition. The part of a program that touches the shared resource is its critical section, and only one process may be in it at a time. A semaphore synchronises processes and controls access to a shared resource; a mutex is a lock that allows only one thread to access a resource at a time. In Unix, the fork system call creates a new process. A zombie process has finished running but its entry stays in the process table until its parent reads its exit status; an orphan process is one whose parent has finished first, so the init process adopts it.
CPU scheduling decides which ready process gets the processor next, and in which order. First-Come, First-Served (FCFS) serves processes strictly in the order they arrive, like a queue: no process can starve, because every process is eventually reached, but a long process at the front holds up every short process behind it — the convoy effect. Shortest Job First (SJF) runs the process with the shortest burst time first, and it gives the minimum average waiting time of the standard algorithms; its price is starvation, because a long job can wait indefinitely while shorter jobs keep arriving. Round Robin gives each process a fixed time slice, called a time quantum, in turn, cycling through them repeatedly, so every process gets a fair share and no process starves. Priority scheduling runs the process with the highest priority first, which can also starve a low-priority process. Three times to keep apart: waiting time is the time a job spends in the ready queue waiting for the CPU; turnaround time is the time from submission to completion; response time is the time from submission to the first response. Starvation is when a low-priority process waits indefinitely because higher-priority processes keep arriving; it is different from a deadlock, in which nobody can proceed at all. A multilevel feedback queue keeps several ready queues and moves a process between them according to how it behaves, so short interactive jobs stay near the top.
Memory management decides where programs live in RAM and what happens when RAM runs out. Paging divides memory into fixed-size blocks called pages, and the disk into same-size blocks called frames; a page table maps each page to a frame. Segmentation divides a program into variable-size segments based on its logical parts, such as code, data and stack. Virtual memory lets a computer run programs larger than its physical RAM by using disk space as an extension of RAM: the area on disk that holds pages not currently in RAM is the swap space. When a program tries to access a page that is not currently in main memory, a page fault occurs and the page must be loaded from disk. Demand paging loads a page only when it is actually needed. When memory is full, a page replacement algorithm chooses which page to throw out: FIFO throws out the page loaded longest ago, LRU throws out the page not used for the longest time, and Optimal throws out the page that will not be used for the longest time in the future — Optimal gives the fewest faults but cannot be used in practice, because the future cannot be known. FIFO can show Belady's anomaly, where giving a process more frames actually increases the number of page faults; LRU and Optimal never do. Thrashing is what happens when the system spends most of its time swapping pages in and out instead of doing useful work, because memory is overcommitted; the cure is to give each process its working set — the pages it is actively using — or to run fewer processes. Internal fragmentation is wasted space inside an allocated block, when the block is larger than the process that uses it; external fragmentation is free memory split into many small gaps that are each too small to use.
A file is a named collection of data stored on a disk, and a file system is the method the operating system uses to organise files on a disk — it keeps track of where each file is stored, and a file manager is the program that lets the user find, open, copy, move and delete them. A directory, or folder, is a container that holds files and other folders; the topmost directory on a disk is the root directory. A file extension is the part of a file name that shows the file type: .txt is a plain text file, .jpg is a picture, .mp4 is a video, and .exe is an executable program in Windows. NTFS is the default file system of modern Windows, and it is also the file system Windows 7 uses; the File Allocation Table (FAT) is the table in the FAT file system that records where each part of a file is stored. APFS is the default file system on macOS, and ext4 is the file system most Linux systems use. In Linux, an inode stores a file's metadata — its size, owner and permissions and the addresses of its blocks — while the name lives in the directory. Files are laid out on disk in one of three ways: contiguous allocation stores a file in consecutive blocks, which is fast to read but hard to fit as the disk fragments; linked allocation chains blocks together; indexed allocation keeps an index block holding the addresses of all the blocks of a file, so any block can be reached directly. Files are usually read by sequential access, one record after another in order; direct access jumps straight to any record.
A deadlock is a state in which two or more processes wait forever for resources held by each other, so none of them can proceed. It is not a crash and not a slowdown: a program that stops working is a hung program, and a process that waits indefinitely while others proceed is starving, not deadlocked. A deadlock can only happen when all four of the Coffman conditions hold at the same time — they were set out by Coffman and his co-authors in 1971. Mutual exclusion means a resource can be held by only one process at a time. Hold and wait means a process holds one resource while waiting for another. No preemption means a resource cannot be taken away by force; only its holder releases it. Circular wait means there is a cycle: process one waits for process two, which waits for process one. Break any one of the four and a deadlock becomes impossible, which is exactly what deadlock prevention does: make processes ask for all their resources at once to break hold and wait, or number every resource and always take them in increasing order to break circular wait — lock ordering is the prevention used most in real code. Deadlock avoidance lets all four conditions exist but refuses any grant that could lead to a deadlock: Dijkstra's Banker's algorithm grants a request only if the system stays in a safe state, meaning there is some order in which every process can get what it still needs and finish. Note carefully: the Banker's algorithm is avoidance, not detection. Detection draws a resource allocation graph — processes as circles, resources as squares — and looks for a cycle. Recovery then kills one of the deadlocked processes or preempts a resource from one and gives it to another. Checkpoints, which save the state of the system so work can be restored, are used for recovery.
The operating system is the first line of defence for the computer, and it protects it in three ways: it checks who you are, it controls what you may do, and it keeps users apart from each other. Authentication is the check that a user is who they claim to be, usually with a username and password; authorisation is the separate step that decides what that user is allowed to do once they are in. Every user has an account: the administrator account has full control over the computer — it can change system settings, install software and manage other accounts — while a standard account can only use the programs already installed. File permissions control who can read, write or execute a file: on Linux and Unix every file carries read, write and execute permissions for its owner, its group and everyone else, and the chmod command changes them. Checkpoints save the state of the system so that work can be restored after a failure, which is recovery, not security — but it is the operating system's way of making sure a crash does not lose everything. Viruses, malware, firewalls and passwords as a subject belong to the Computer Security & Viruses topic; here, security means the controls the operating system itself provides.
Most of the Windows questions in the papers are about the tools you can see on the screen. File Explorer is the program used to manage files and folders in Windows, and the Taskbar gives access to the Start menu, pinned programs and the system tray with the volume controls. The Task Manager, opened with Ctrl + Shift + Esc, is used to view and manage running programs and processes and to close one that has stopped responding. The Control Panel is used to change system settings, such as display, sound, network and user accounts. The Windows Registry is the database that stores configuration settings for Windows and the programs installed on it; in early Windows those settings were recorded in WIN.INI. Disk Cleanup is the pre-installed program used for disk cleanup, and Notepad is the default text editor of Windows. Deleted files are first moved to the Recycle Bin, which Windows sets to about a tenth of the size of the hard disk; the wallpaper is the picture on the desktop background. Windows 10 needs a minimum of 32 GB of storage to install. On Linux, the commands to know are the short ones: ls lists files in a directory, cd changes the current directory, pwd shows the directory you are in, mkdir creates a new directory, cp copies a file, rm removes a file, and chmod changes a file's permissions. Ubuntu is a Linux distribution. In DOS, a file name could have at most 8 characters, the 8.3 format. The Run dialog opens programs by their executable name: powerpnt.exe opens PowerPoint. Useful Windows shortcuts the papers ask about: F2 renames a file or folder, Shift + Delete deletes a file permanently instead of sending it to the Recycle Bin, Win + Home minimises all windows except the active one, and Win + F or F3 searches for a file or folder.
Operating Systems turns up in almost every Computer Science paper — PPSC, FPSC, NTS, BPSC, KPPSC, STS and ETEA all ask which system is which, what the kernel does, which scheduling algorithm does what, and what a deadlock is. The facts are fixed: NTFS is Windows, ext4 is Linux, SJF gives the shortest wait, and the four deadlock conditions never change — so every fact learned here is a mark in the paper, and the same facts come back in paper after paper.
Learn in the order of the sections, because each one builds on the one before it: what the operating system is, then the types, then the kernel and booting, then processes, then scheduling, then memory, then files, then deadlocks and security. Learn each table as one picture — the algorithms, the file systems, the four Coffman conditions, the Linux commands — then do the questions for that section and read the explanation of every one you miss. Come back after a day and do them again; that second visit is what moves a fact from short memory into long memory.
180 practice MCQs on this topic, with answers and full explanations. Tap an option to check your answer. Showing 10 per page — use the page buttons below to see them all.
✓ Correct answer: MS Word
MS Word. MS Word is an application software, while Windows, Linux and Android are operating systems.
✓ Correct answer: Operating system
Linux is an example of an operating system. The correct answer is Operating system.
✓ Correct answer: MS Excel
MS Excel is not an operating system; it is application software.
✓ Correct answer: General Motors
The first operating system, GM-NAA I/O, was developed by General Motors in 1956.
✓ Correct answer: macOS
The desktop operating system here is macOS. It runs on Apple desktop and laptop computers. Why the others are wrong: Android — Android is a mobile operating system for phones and tablets. iOS — iOS is a mobile operating system for Apple iPhones. Chrome browser — Chrome is a web browser, not an operating system.
✓ Correct answer: iOS
The operating system used in Apple iPhones is iOS. Why the others are wrong: Android — Android is the operating system used in most non-Apple phones. Windows — Windows is an operating system for computers, not for iPhones. Linux — Linux is an open-source operating system, not the one used in iPhones.
✓ Correct answer: Managing files and folders
Managing files and folders. Managing files and folders. An operating system organises, stores and finds files on a computer. Why the others are wrong: Writing a novel — Writing a novel is done by a person using a word processor, not by the operating system itself. Drawing a picture — Drawing a picture is done by a person using a drawing program, not by the operating system itself. Making a phone call — Making a phone call is done by a phone app, not by the operating system itself.
✓ Correct answer: Windows 11.
Windows 11. Windows 11 is an operating system made for desktop computers. Why the others are wrong: Android. — Android is a mobile operating system, not a desktop one. iOS. — iOS is a mobile operating system for iPhones, not a desktop one. WhatsApp. — WhatsApp is a messaging app, not an operating system.
✓ Correct answer: Windows.
The correct answer is Windows. Windows runs on most desktop computers in homes and offices around the world. Why the others are wrong: Android. — Android is an operating system for mobile phones and tablets, not for most desktop computers. iOS. — iOS is the operating system for Apple iPhones, not for most desktop computers. macOS. — macOS runs only on Apple computers, which are a small share of desktop computers.
✓ Correct answer: macOS
macOS. Apple Mac computers run on macOS, the operating system made by Apple for its computers. Why the others are wrong: Windows — Windows is the operating system made by Microsoft, not the one used on Mac computers.. Android — Android is an operating system for mobile phones, not for Mac computers.. Linux — Linux is a different operating system, not the one used on Mac computers..
✓ Correct answer: MS Word.
MS Word. is not an operating system; it is a word processing program that runs on an operating system. Why the others are wrong: Windows. — Windows is an operating system. Linux. — Linux is an operating system. macOS. — macOS is an operating system.
✓ Correct answer: Windows 11
Windows 11 is a program that manages a computer's hardware directly, as it is an operating system.
✓ Correct answer: System software
Windows 10 is an example of system software. The correct answer is System software.
✓ Correct answer: Apple.
macOS is the operating system developed by Apple for its Mac computers. The correct answer is Apple.
✓ Correct answer: Windows
Windows. Windows is an operating system.
✓ Correct answer: Apple
Apple developed the iOS operating system.
✓ Correct answer: Linux
Linux is an example of an operating system.
✓ Correct answer: Oracle
Oracle is a database system rather than an operating system.
✓ Correct answer: All of these
All of these. An operating system manages hardware and software resources, uses hardware efficiently and runs application software.
✓ Correct answer: Text editing
Text editing. OS functions: booting, process management, memory management Booting = starting the computer system I/O management = handling input and output devices Text editing = done by MS Word, Notepad OS acts as an interface between user and hardware
✓ Correct answer: MS Windows
MS Windows. MS Windows is an operating system; Photoshop is an image editor and MS Word is a word processor.
✓ Correct answer: Windows
Windows. Windows is an operating system.
✓ Correct answer: Windows 11
Windows 11 is an operating system, while Word, Chrome and Photoshop are application programs that run on one.
✓ Correct answer: ChromeOS
ChromeOS is the operating system developed by Google for Chromebooks.
✓ Correct answer: Smartphones and tablets
Android is the operating system mainly used on smartphones and tablets.
✓ Correct answer: Microsoft Windows
Microsoft Windows is the operating system developed by Microsoft and widely used on personal computers.
✓ Correct answer: Google
Android is developed and maintained by Google, so the correct answer is Google.
✓ Correct answer: Linux
Linux is an open-source operating system, so the correct answer is Linux.
✓ Correct answer: Operating System
MAC (macOS) is an Operating System, so the correct answer is Operating System.
✓ Correct answer: Operating System
The correct answer is Operating System.
✓ Correct answer: To manage hardware and software resources
An operating system manages the computer's hardware and software, i.e. To manage hardware and software resources.
✓ Correct answer: Operating system
MS Word is an application software and a word processor, but it is not an operating system. The correct answer is Operating system.
✓ Correct answer: Embedded
An embedded operating system has a small footprint and specific device functionality.
✓ Correct answer: VxWorks
VxWorks is a real-time operating system designed for embedded systems with strict timing requirements.
✓ Correct answer: Embedded
Embedded. Embedded operating systems run on dedicated hardware for specific tasks and have a minimal or no user interface, being optimised for resource efficiency and real-time performance.
✓ Correct answer: Multitasking
Multitasking. Multitasking OS → Runs multiple tasks simultaneously ( time-sharing ) Single-tasking OS → Runs one task at a time Real-time OS → Responds instantly to inputs Batch Processing OS → Processes jobs in groups Time-sharing OS → Shared CPU time among users
✓ Correct answer: Windows 10
Windows 10. Windows 10 is a client operating system from Microsoft, unlike server editions such as Windows Server.
✓ Correct answer: Command Line Interface
Command Line Interface. MS-DOS is a command-line operating system in which the user types text commands.
✓ Correct answer: MS-DOS
MS-DOS is a single-user, single-task operating system from the early personal computer era.
✓ Correct answer: Several programs in memory at the same time
Multiprogramming means several programs in memory at the same time, so the CPU can switch between them.
✓ Correct answer: Multitasking
Multitasking is the operating system ability that allows several programs to run at the same time, sharing the processor in rapid turns.
✓ Correct answer: Batch processing
Batch processing collects jobs together and runs them as a group without user interaction while they execute.
✓ Correct answer: Real-time operating system
A real-time operating system guarantees that tasks complete within strict time limits, as required in aircraft controls and medical devices.
✓ Correct answer: Multiprocessing
Multiprocessing uses two or more CPUs to run programs in parallel.
✓ Correct answer: Time-sharing system
A Time-sharing system lets many users share one computer by giving each a short time slice.
✓ Correct answer: The part of the system that lets a person give commands and see the results
The part of the system that lets a person give commands and see the results. The user interface is the part of the operating system that a person sees and uses to give commands and see the results. Why the others are wrong: The part that stores files on the disk — storing files is the job of the file system, not the user interface. The part that cools the computer — cooling is done by fans, not by the user interface. The part that supplies power to the computer — power is supplied by the power supply unit, not by the user interface.
✓ Correct answer: It starts the computer and loads the main programs
The correct answer is It starts the computer and loads the main programs. When a computer is switched on, the operating system starts up and gets the computer ready to use. Why the others are wrong: It prints a document — printing happens only when the user asks for it. It opens the Internet — the Internet is opened by a browser, not by the operating system at start-up. It deletes old files — the operating system does not delete files when the computer starts.
✓ Correct answer: Graphical User Interface
Graphical User Interface. GUI stands for Graphical User Interface.
✓ Correct answer: Rebooting
The process of restarting a computer is called Rebooting.
✓ Correct answer: Kernel
The Kernel is the part of the operating system that directly interacts with the computer hardware.
✓ Correct answer: Starting the computer and loading the operating system
Booting is starting the computer and loading the operating system into memory.
✓ Correct answer: Core part of the operating system
The kernel is the core part of the operating system, running with full control over the hardware.
✓ Correct answer: Communicate with a hardware device
A device driver lets the operating system communicate with a hardware device, such as a printer or a graphics card.
✓ Correct answer: Graphical User Interface (GUI)
A Graphical User Interface (GUI) lets users interact with a computer through windows, icons, menus and a pointer instead of typed commands.
✓ Correct answer: Shell
A shell is the program that provides the command-line interface through which a user types commands for the operating system to execute.
✓ Correct answer: BIOS
BIOS is the firmware that runs first when a computer is switched on, checking the hardware before the operating system loads.
✓ Correct answer: Command Line Interface (CLI)
A Command Line Interface (CLI) requires the user to type text commands instead of clicking icons and menus.
✓ Correct answer: System call
A system call is the mechanism that lets a running program request a service from the operating system kernel, such as reading a file.
✓ Correct answer: Operating System
A computer cannot boot without an Operating System to load and manage it, so the correct answer is Operating System.
✓ Correct answer: CPU
A process in the ready state is waiting for the CPU to be assigned to it.
✓ Correct answer: Loading
Loading is the process when the operating system loads a program from disk into memory for execution.
✓ Correct answer: Running, ready or waiting
A process can be in the running, ready or waiting states as the operating system schedules it on the CPU.
✓ Correct answer: Information about a process such as its state and registers
The Process Control Block stores information about a process such as its state and registers, including its program counter.
✓ Correct answer: Saving one process state and loading another so the CPU can switch between them
Context switching is the process of saving one process state and loading another so the CPU can switch between them.
✓ Correct answer: Synchronising processes and controlling access to shared resources
A semaphore is used for synchronising processes and controlling access to shared resources, preventing two processes from using the same resource at once.
✓ Correct answer: Thread
Within a process, a single lightweight unit of execution that shares the process's memory is called a thread.
✓ Correct answer: Interrupt
An interrupt is the signal that tells the processor to pause its current work temporarily to handle an event such as a key press.
✓ Correct answer: Spooling
Spooling holds print jobs in a queue on disk so the processor can continue other work while the printer works through them.
✓ Correct answer: Multithreading
Multithreading lets one process run several threads at the same time, sharing the process's resources.
✓ Correct answer: A program in execution
A process is a program in execution.
✓ Correct answer: A lock that allows only one thread to access a resource at a time
A mutex is a lock that allows only one thread to access a resource at a time.
✓ Correct answer: Fork
In Unix, the Fork system call creates a new process, so the correct answer is Fork.
✓ Correct answer: Round Robin
Round Robin gives every process a time slice in turn, so it is less prone to starvation than SJF.
✓ Correct answer: SJF
Shortest Job First (SJF) scheduling gives the minimum average waiting time among the standard algorithms.
✓ Correct answer: Shortest Job Next
Shortest Job Next. Shortest Job Next favours short jobs, so a long job can wait indefinitely while shorter jobs keep arriving, which is starvation.
✓ Correct answer: Waiting time
Waiting time. The time a job waits in the ready queue for CPU selection is called waiting time.
✓ Correct answer: Time quantum
In round-robin scheduling each process receives a fixed time quantum of CPU time before the CPU moves to the next process.
✓ Correct answer: The shortest burst time
Shortest Job First scheduling gives priority to the process with the shortest burst time, which reduces average waiting time.
✓ Correct answer: First Come First Served (FCFS)
First Come First Served (FCFS) is the CPU scheduling algorithm that serves processes strictly in the order in which they arrive.
✓ Correct answer: Round Robin
Round Robin is the CPU scheduling algorithm that gives each process a fixed time slice in turn, cycling through them repeatedly.
✓ Correct answer: Priority scheduling
Priority scheduling runs the process with the highest priority first.
✓ Correct answer: Starvation
Starvation occurs when a low-priority process waits indefinitely because higher-priority processes keep arriving.
✓ Correct answer: Secondary storage
Virtual memory is implemented using secondary storage to extend main memory. The correct answer is Secondary storage.
✓ Correct answer: Disk space as an extension of RAM
Virtual memory uses disk space as an extension of RAM, so programs larger than the physical memory can still run.
✓ Correct answer: The system spends most of its time swapping pages instead of doing useful work
Thrashing occurs when the system spends most of its time swapping pages instead of doing useful work, because memory is overcommitted.
✓ Correct answer: Wasted space inside an allocated block
Internal fragmentation means wasted space inside an allocated block, when a block is larger than the process that uses it.
✓ Correct answer: Not currently in main memory
A page fault occurs when a program tries to access a page that is not currently in main memory, so it must be loaded from disk.
✓ Correct answer: Paging
Paging is the memory management technique that divides memory into fixed-size blocks called pages and loads them as needed.
✓ Correct answer: Segmentation
Segmentation is the memory management technique that divides a program into variable-size segments based on its logical parts, such as code and data.
✓ Correct answer: Fragmentation
Fragmentation is the memory problem that leaves many small, unusable gaps of free space scattered between allocated blocks.
✓ Correct answer: Swap space
Swap space is the area on disk an operating system uses to hold pages of memory that are not currently in RAM.
✓ Correct answer: A plain text file.
The '.txt' ending shows that the file is a plain text file. A plain text file. holds only simple written words with no pictures or formatting. Why the others are wrong: A picture file. — picture files end in letters such as .jpg or .png, not .txt. A video file. — video files end in letters such as .mp4, not .txt. A program file. — program files end in letters such as .exe, not .txt.
✓ Correct answer: File Explorer
The correct answer is File Explorer. File Explorer is the program in Windows used to manage files and folders. Why the others are wrong: MS Word — MS Word is used to write documents, not to manage files and folders. Control Panel — Control Panel is used to change computer settings, not to manage files and folders. Notepad — Notepad is used to write plain text notes, not to manage files and folders.
✓ Correct answer: A collection of data stored on a disk.
A collection of data stored on a disk. is what a file is in an operating system, because a file is a named collection of data, such as a document or a picture, stored on a disk. Why the others are wrong: A program that runs the computer. - that is the operating system, not a file; A list of users. - that is a user list, not a file; A part of the keyboard. - the keyboard is hardware, not a file.
✓ Correct answer: To organise and find files stored on the computer.
To organise and find files stored on the computer. is the main job of a file manager. Why the others are wrong: "To print web pages." is the job of a printer, not of a file manager. "To make phone calls." is not the job of a file manager. "To play music only." is the job of a music player, not of a file manager.
✓ Correct answer: It keeps related files together.
A folder keeps related files together in one place, so the correct answer is It keeps related files together. Why the others are wrong: It runs programs. — a folder does not run programs, a program file does. It connects to the internet. — a folder does not connect to the internet. It prints documents. — printing is the job of a printer, not a folder.
✓ Correct answer: 8
8. In DOS, a filename could have at most 8 characters (the 8.3 format).
✓ Correct answer: NTFS
NTFS. NTFS is the file system supported by Windows 7 for its drives.
✓ Correct answer: Root
Root. The root directory is the topmost directory in a directory structure.
✓ Correct answer: NTFS
NTFS is the default file system used by modern versions of Microsoft Windows.
✓ Correct answer: File Allocation Table (FAT)
The File Allocation Table (FAT) records where each part of a file is stored on the disk in the FAT file system.
✓ Correct answer: Directory
In a file system, a container that holds files and other folders is called a directory.
✓ Correct answer: File system
The File system organises files and directories on storage and tracks where each file's data is kept.
✓ Correct answer: File extension
The File extension is the part of a file name that indicates the file type, such as .txt or .jpg.
✓ Correct answer: APFS
APFS is the file system used by default on macOS.
✓ Correct answer: ext4
ext4 is the file system commonly used on Linux systems.
✓ Correct answer: Mutual exclusion
Mutual exclusion is one of the four necessary conditions for deadlock: a resource can be held by only one process at a time.
✓ Correct answer: All of them
All of them. Deadlock requires all four Coffman conditions: mutual exclusion, hold and wait, no preemption and circular wait.
✓ Correct answer: Preemption
Preemption. The four necessary conditions for deadlock are mutual exclusion, hold and wait, no preemption and circular wait, so preemption itself is not a necessary condition; in fact, allowing preemption can prevent or resolve a deadlock.
✓ Correct answer: None of these
Banker's Algorithm. The Banker's algorithm tests whether granting a resource request leaves the system in a safe state, which is how deadlocks are avoided (and unsafe states detected); it is the only deadlock-related option here. Note: strictly, it is an avoidance algorithm rather than a pure detection algorithm.
✓ Correct answer: Deadlock
Deadlock occurs when two or more processes each wait forever for a resource held by the other, so none of them can proceed.
✓ Correct answer: Circular Wait
All four conditions are necessary for deadlock, but the cycle closes when each process waits for a resource held by the next, so the keyed cause is Circular Wait.
✓ Correct answer: Notepad
Notepad. The question asks which is the default text editor for Microsoft Windows, and the correct answer is Notepad. The other options do not answer the question correctly.
✓ Correct answer: Disk Cleanup
Disk Cleanup. Disk Cleanup is the pre-installed Windows program commonly used for disk cleanup.
✓ Correct answer: Ubuntu
Ubuntu. Ubuntu is a Linux distribution.
✓ Correct answer: Taskbar
Taskbar. The Taskbar gives access to the Start menu, pinned programs and the system tray with volume controls.
✓ Correct answer: 32 GB
32 GB. Windows 10 requires minimum 32 GB storage for installation. Earlier versions required less, but updates increased the requirement. This space is needed for system files and updates. More storage is recommended for smooth performance. It is a widely used operating system globally.
✓ Correct answer: Both A and B
Both A and B. Both Windows + F and the F3 key can be used to search for a file or folder, so the answer is “Both A and B”.
✓ Correct answer: 10 percent
10 percent. Windows configures the Recycle Bin by default to hold files equal to 10 percent of the hard disk size.
✓ Correct answer: Wallpaper
Wallpaper. The graphical pattern on the Windows desktop is called wallpaper.
✓ Correct answer: Recycle Bin
In Windows, deleted files are first moved to the Recycle Bin, from where they can be restored or permanently deleted.
✓ Correct answer: View and manage running programs and processes
In Windows, the Task Manager is used to view and manage running programs and processes, and to close a program that has stopped responding.
✓ Correct answer: Change system settings
In Windows, the Control Panel is used to change system settings, such as display, sound, network and user accounts.
✓ Correct answer: Windows Registry
The Windows Registry is the database in Microsoft Windows that stores configuration settings for the operating system and installed applications.
✓ Correct answer: .exe
The file extension used for an executable program file in Windows is .exe.
✓ Correct answer: Linux kernel
Google's Android mobile operating system uses the Linux kernel.
✓ Correct answer: Unix
Unix is the multi-user operating system, developed at Bell Labs in the 1970s, that influenced Linux and macOS.
✓ Correct answer: Linux kernel
The Linux kernel was created by Linus Torvalds in 1991 and is the core of the Linux operating system.
✓ Correct answer: A modern replacement for BIOS that starts the computer
UEFI is a modern replacement for BIOS that starts the computer.
✓ Correct answer: ls
The ls command lists files in a directory in Linux.
✓ Correct answer: cd
The cd command changes the current directory in Linux.
✓ Correct answer: mkdir
The mkdir command creates a new directory in Linux.
✓ Correct answer: rm
The rm command removes a file in Linux.
✓ Correct answer: cp
The cp command copies a file in Linux.
✓ Correct answer: Web
Web. ‘Web’ is not a tab in the Control Panel program in the Start menu.
✓ Correct answer: Use Recommended Settings
Use Recommended Settings. Windows Update's recommended settings let Windows handle updates automatically for a smooth update.
✓ Correct answer: USB Drive
A USB Drive is a valid backup destination in Windows 10, so the keyed answer is USB Drive. Note: cloud, network and internal drives can also serve as backup destinations; USB Drive is the paper's keyed answer.
✓ Correct answer: Recovery process
Checkpoints save system state so work can be restored, so they are used for the Recovery process, and the correct answer is Recovery process.
✓ Correct answer: Progress Bar
The correct answer is Progress Bar.
✓ Correct answer: WIN.INI
In early Windows, settings were recorded in WIN.INI.
✓ Correct answer: Less
A hard real-time operating system has Less latency than a soft real-time operating system, as it must meet strict deadlines.
✓ Correct answer: Process and resource management
Windows Task Manager is used to monitor running processes, performance, and manage system resources. The correct answer is Process and resource management.
✓ Correct answer: powerpnt.exe
Executing the command powerpnt.exe in the Windows Run dialog directly opens Microsoft PowerPoint. powerpnt.exe.
✓ Correct answer: Distributed operating system
A distributed operating system manages a group of separate computers connected by a network so that they work together as one system, sharing resources and spreading the work between them.
✓ Correct answer: Network operating system
A network operating system manages resources over a network and provides services such as file sharing, printing and user accounts to the other computers on the network.
✓ Correct answer: Hard real-time system
In a hard real-time system missing a deadline is a failure of the system, as in aircraft controls or a pacemaker. In a soft real-time system a missed deadline only makes the service worse, as in video streaming.
✓ Correct answer: Monolithic kernel
In a monolithic kernel all operating system services, such as file systems and device drivers, run in kernel space as one large program. Linux is the best-known example.
✓ Correct answer: Microkernel
In a microkernel only the basic services, such as passing messages between programs, run in kernel space. File systems and drivers run as ordinary programs in user space, so a fault in one of them cannot crash the whole kernel.
✓ Correct answer: Dual-mode operation
Dual-mode operation is the hardware feature that separates user mode from kernel mode. A user program runs in user mode and can only touch the hardware through a system call, which switches the processor into kernel mode.
✓ Correct answer: Bootstrap loader
The bootstrap loader is the small program that runs when the computer starts and loads the operating system kernel into memory. It is why starting a computer is called booting, short for bootstrapping.
✓ Correct answer: Race condition
A race condition is when the result depends on the timing or order in which processes run, because they share data without synchronisation. Semaphores and mutexes exist to prevent it.
✓ Correct answer: Critical section
The critical section is the part of a program that accesses a shared resource. Only one process may be in its critical section for that resource at a time, which is what mutual exclusion guarantees.
✓ Correct answer: Zombie process
A zombie process has finished running, but its entry stays in the process table until its parent reads its exit status. It holds no memory or CPU, only the table entry.
✓ Correct answer: Orphan process
An orphan process is one whose parent has finished before it has. The init process adopts it, so it keeps running normally instead of being left without a parent.
✓ Correct answer: Turnaround time
Turnaround time is the time from submission of a job to its completion. It includes the waiting time and the time the job actually runs.
✓ Correct answer: Response time
Response time is the time from submission until the first response. It matters most in interactive systems, where the user must see something happen quickly.
✓ Correct answer: Preemptive scheduling
In preemptive scheduling the operating system can take the CPU away from a running process, for example when its time quantum ends or a higher-priority process arrives. Round Robin is preemptive; FCFS is not.
✓ Correct answer: Convoy effect
The convoy effect is what happens in FCFS when short processes queue up behind one long process, like cars stuck behind a slow truck. It is why FCFS can give a poor average waiting time even though no process starves.
✓ Correct answer: Multilevel feedback queue
A multilevel feedback queue keeps several ready queues, usually with different time quanta, and moves a process down to a lower queue if it uses up its whole quantum, so short interactive jobs stay near the top and long CPU-bound jobs sink.
✓ Correct answer: Least Recently Used (LRU)
Least Recently Used (LRU) removes the page that has not been used for the longest time, on the idea that pages used recently are likely to be needed again.
✓ Correct answer: First In First Out (FIFO)
FIFO can show Belady's anomaly: for some reference strings more frames mean more page faults. LRU and Optimal never do this.
✓ Correct answer: External fragmentation
External fragmentation is free memory split into many small blocks scattered between allocated blocks, so no single block is big enough even though the total free space is enough.
✓ Correct answer: Demand paging
Demand paging loads a page into memory only when it is needed, so a program can start before all of its pages are in memory.
✓ Correct answer: Working set
The working set is the set of pages a process has used in the recent past. If the whole working set is in memory, the process runs without page faults; if it is not, the system thrashes.
✓ Correct answer: Optimal
The Optimal algorithm removes the page that will not be used for the longest time in the future. It gives the fewest page faults possible, but it cannot be used in practice because the future cannot be known; it is the yardstick the other algorithms are judged against.
✓ Correct answer: Contiguous allocation
In contiguous allocation a file is stored in consecutive blocks, so reading it is fast because the disk head hardly moves, but finding a long enough free stretch becomes hard as files are deleted and the disk fragments.
✓ Correct answer: Indexed allocation
In indexed allocation an index block holds the addresses of all the blocks of a file, so any block can be reached directly without following a chain. This is how direct access to any part of a file is done.
✓ Correct answer: Sequential access
Sequential access reads records one after another in order, from the start of the file. It is the natural way to read a file on tape, and the way most files are read when the whole file is needed.
✓ Correct answer: Inode
An inode stores the metadata of a file in Linux and Unix: its size, owner, permissions and the addresses of its blocks. The file name itself lives in the directory, not in the inode.
✓ Correct answer: exFAT
exFAT is the successor to FAT32 for flash drives and memory cards: it works on Windows, macOS and Linux, and unlike FAT32 it supports files larger than 4 GB.
✓ Correct answer: Deadlock prevention
Deadlock prevention designs the system so that at least one Coffman condition can never hold, for example by making processes ask for all their resources at once (breaking hold and wait) or by taking resources in a fixed order (breaking circular wait).
✓ Correct answer: Safe state
A state is safe if there is some order in which every process can get its remaining need and finish. The Banker's algorithm grants a request only if the state afterwards is still safe; an unsafe state is not yet a deadlock, but a deadlock becomes possible from it.
✓ Correct answer: Resource allocation graph
A resource allocation graph draws processes as circles and resources as squares, with arrows for requests and allocations. When each resource has a single instance, a cycle in this graph means a deadlock.
✓ Correct answer: Resource preemption
Resource preemption recovers from a deadlock by taking a resource away from one process and giving it to another, which breaks the no-preemption condition. The other common recovery is to kill one of the deadlocked processes.
✓ Correct answer: Circular wait
Taking resources in a fixed increasing order breaks circular wait, because a cycle would need a process to take a lower-numbered resource after a higher-numbered one. This lock ordering is the prevention method used most in real code.
✓ Correct answer: Authentication
Authentication is the process by which the operating system checks that a user is who they claim to be, usually with a username and password. Authorisation, which is a separate step, then decides what that user is allowed to do.
✓ Correct answer: File permissions
File permissions control who can read, write or execute a file. On Linux and Unix every file carries read, write and execute permissions for its owner, its group and everyone else.
✓ Correct answer: Administrator account
The administrator account has full control over the computer: it can change system settings, install software and manage other user accounts. A standard account can only use the programs already installed.
✓ Correct answer: chmod
The chmod command changes the permissions of a file in Linux, for example chmod 755 gives the owner full rights and everyone else read and execute rights.
✓ Correct answer: pwd
The pwd command (print working directory) shows the full path of the directory you are currently in.