Unit 4: An Introduction to Operating Systems - Practice Quiz

CAP1007 — Fundamentals Of Information Technology 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is an operating system?

Basics of operating systems Easy
A. A type of application used for word processing
B. A physical component inside the CPU
C. System software that manages computer hardware and software resources
D. A device used to store data permanently

2 Which of the following is an example of an operating system?

Basics of operating systems Easy
A. Adobe Photoshop
B. Google Chrome
C. Microsoft Word
D. Windows

3 The operating system is classified as which type of software?

Basics of operating systems Easy
A. Firmware only
B. Application software
C. Utility hardware
D. System software

4 When you turn on a computer, the process of loading the operating system into memory is called:

Basics of operating systems Easy
A. Formatting
B. Booting
C. Compiling
D. Debugging

5 Which of the following is a primary function of an operating system?

Purpose of operating systems Easy
A. Editing photos
B. Creating spreadsheets
C. Managing memory
D. Writing emails

6 The part of the operating system that manages which program uses the CPU and when is called:

Purpose of operating systems Easy
A. Disk cleanup
B. Process management
C. Data encryption
D. File compression

7 The operating system function that organizes and keeps track of files and folders on storage is known as:

Purpose of operating systems Easy
A. Network browsing
B. File management
C. Power management
D. Screen rendering

8 Which of the following is NOT a purpose of an operating system?

Purpose of operating systems Easy
A. Managing input and output devices
B. Designing computer hardware circuits
C. Providing a user interface
D. Allocating memory to programs

9 The operating system acts as an interface between the user and the:

Purpose of operating systems Easy
A. Internet only
B. Computer hardware
C. Printer only
D. Power supply

10 What does GUI stand for?

Providing a user interface Easy
A. Global Utility Interface
B. Guided User Input
C. Graphical User Interface
D. General User Instruction

11 In a Graphical User Interface, users typically interact with the computer using:

Providing a user interface Easy
A. Only typed commands
B. Punch cards
C. Icons and a mouse
D. Binary code only

12 A user interface where commands are typed as text is called a:

Providing a user interface Easy
A. Graphical interface
B. Voice interface
C. Touch interface
D. Command-line interface

13 Which of the following is an example of a command-line interface?

Providing a user interface Easy
A. Recycle Bin icon
B. Start menu button
C. Desktop wallpaper
D. Command Prompt

14 The main screen you see after the operating system starts, containing icons and a taskbar, is called the:

Providing a user interface Easy
A. Motherboard
B. Desktop
C. Kernel
D. Register

15 An operating system that allows only one user to work on the computer at a time is called a:

Types of operating systems Easy
A. Distributed operating system
B. Single-user operating system
C. Network operating system
D. Multi-user operating system

16 An operating system that lets several users access the computer at the same time is called a:

Types of operating systems Easy
A. Multi-user operating system
B. Single-tasking operating system
C. Embedded operating system
D. Batch operating system

17 Which type of operating system is designed to run more than one program at a time?

Types of operating systems Easy
A. Offline operating system
B. Multitasking operating system
C. Single-tasking operating system
D. Read-only operating system

18 Which of the following is an example of a mobile operating system?

Types of operating systems Easy
A. Android
B. Linux server
C. Windows 10
D. MS-DOS

19 What is the main role of utility software?

Enhancing an OS with utility software Easy
A. To replace the operating system entirely
B. To help maintain and optimize computer performance
C. To design new hardware components
D. To provide internet connection cables

20 Which of the following is an example of utility software?

Enhancing an OS with utility software Easy
A. Web browser
B. Video game
C. Spreadsheet program
D. Antivirus program

21 A user launches three applications at once on a single-CPU computer, yet all appear to run simultaneously. Which OS function makes this possible?

Basics of operating systems Medium
A. Process scheduling that rapidly switches CPU time between tasks
B. Disabling background services to free the processor
C. Increasing the physical clock speed of the CPU on demand
D. Copying each program into read-only memory permanently

22 Which statement best explains why the operating system is called system software rather than application software?

Basics of operating systems Medium
A. It is used directly by end users to create documents
B. It is always more expensive than application software
C. It can only be written in low-level assembly language
D. It manages hardware and provides services that other programs rely on

23 When you save a file, you specify only a name and folder, not the exact disk sectors used. Which OS role does this demonstrate?

Basics of operating systems Medium
A. Manual interrupt handling by the application
B. Abstraction of hardware details through file management
C. Direct memory addressing by the user
D. Physical formatting of the storage device

24 Two programs try to write to the printer at the same moment. Which OS responsibility prevents their output from being mixed?

Purpose of operating systems Medium
A. Reducing the printer's resolution temporarily
B. Converting both files into the same format
C. Automatic deletion of one of the programs
D. Resource management through spooling and allocation

25 A program tries to access a memory area belonging to another program and is stopped. Which OS purpose is being served?

Purpose of operating systems Medium
A. Speeding up the affected program's execution
B. Compressing the memory to save space
C. Increasing total RAM installed in the system
D. Memory protection to isolate processes from one another

26 Which scenario best illustrates the OS acting as an intermediary between the user and hardware?

Purpose of operating systems Medium
A. A user solders a new chip onto the motherboard
B. A user physically replaces a hard drive in the machine
C. A user presses a key and the OS translates it into a character the program receives
D. A user unplugs the monitor cable from the computer

27 A running application requests more memory than is physically available, yet it continues to function. Which OS technique makes this possible?

Purpose of operating systems Medium
A. Overclocking the memory bus automatically
B. Deleting other applications from storage
C. Reducing the screen resolution to free RAM
D. Virtual memory that uses disk space to extend RAM

28 A network administrator writes a script to rename 500 files at once. Which type of interface is most efficient for this task?

Providing a user interface Medium
A. A command-line interface (CLI)
B. A graphical drag-and-drop interface
C. A voice-controlled assistant interface
D. A touch-based gesture interface

29 Which feature is a defining characteristic of a graphical user interface (GUI) compared to a command-line interface?

Providing a user interface Medium
A. Ability to run only one program ever
B. Interaction through icons, windows, and pointers
C. Absence of any visual output on screen
D. Requirement to memorize exact text commands

30 A new user finds it difficult to remember typed commands and prefers clicking visible options. Which interface best suits this user, and why?

Providing a user interface Medium
A. CLI, because it uses icons instead of commands
B. GUI, because it presents options visually and lowers the memory burden
C. GUI, because it always runs faster than a CLI
D. CLI, because it offers more visual menus than a GUI

31 Why can a command-line interface sometimes give an experienced user more control than a GUI?

Providing a user interface Medium
A. It requires no operating system to run
B. It uses more colorful graphics than a GUI
C. It exposes precise commands and options that may be hidden in a GUI
D. It automatically prevents all user mistakes

32 An airline booking system must respond to flight-control sensor data within strict time limits or fail. Which OS type is required?

Types of operating systems Medium
A. Batch processing operating system
B. Real-time operating system
C. Time-sharing operating system for general use
D. Single-user single-tasking operating system

33 A university mainframe lets 50 students edit code simultaneously, giving each a small slice of CPU time. Which OS type is this?

Types of operating systems Medium
A. Time-sharing (multi-user) operating system
B. Single-tasking operating system
C. Real-time operating system
D. Embedded operating system

34 A payroll department collects transactions all day and processes them together overnight without user interaction. Which OS type fits this workflow?

Types of operating systems Medium
A. Interactive multi-user operating system
B. Real-time operating system
C. Distributed operating system
D. Batch processing operating system

35 A smart thermostat runs software fixed at the factory that only controls temperature. Which OS type does it most likely use?

Types of operating systems Medium
A. Embedded operating system
B. Multi-user network operating system
C. Time-sharing operating system
D. Batch processing operating system

36 Which characteristic best distinguishes a multitasking OS from a single-tasking OS?

Types of operating systems Medium
A. It can keep several programs active in memory concurrently
B. It never uses a graphical interface
C. It can only be installed on servers
D. It supports exactly one user at a time

37 A company links many separate computers so they share resources and appear as one system to users. Which OS type supports this?

Types of operating systems Medium
A. Batch processing operating system
B. Real-time operating system
C. Single-user operating system
D. Distributed operating system

38 Over time, a hard disk drive stores file fragments scattered across it, slowing access. Which utility program addresses this?

Enhancing an OS with utility software Medium
A. Disk defragmenter
B. File compression archiver
C. Screen saver
D. Antivirus scanner

39 A user wants to email several large documents but the total size exceeds the attachment limit. Which utility helps most?

Enhancing an OS with utility software Medium
A. File compression utility
B. Backup scheduler
C. Antivirus scanner
D. Disk defragmenter

40 Which statement correctly describes the relationship between utility software and the operating system?

Enhancing an OS with utility software Medium
A. Utility software is the only way applications can run
B. Utility software replaces the OS kernel during startup
C. Utility software manages CPU scheduling for all processes
D. Utility software supports and maintains the system but is not part of the core OS

41 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?

Basics of operating systems Hard
A. It reduces the number of context switches required per second
B. It eliminates the need for virtual memory translation in kernel space
C. It prevents user applications from directly executing privileged instructions that could compromise system integrity
D. It allows the CPU clock speed to increase during kernel execution

42 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?

Purpose of operating systems Hard
A. Memory management; thrashing
B. Process scheduling; starvation
C. Resource management; deadlock
D. File management; fragmentation

43 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?

Types of operating systems Hard
A. Soft real-time operating system
B. Time-sharing operating system
C. Hard real-time operating system
D. Batch operating system

44 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?

Providing a user interface Hard
A. CLI uses less RAM than a GUI on each individual server
B. CLI commands can be scripted and batched for repeatable, unattended execution
C. CLI automatically encrypts all commands sent to the servers
D. CLI provides visual feedback that reduces operator error

45 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?

Enhancing an OS with utility software Hard
A. It is required weekly to prevent SSD data corruption
B. It provides little benefit and may reduce SSD lifespan due to unnecessary write cycles
C. It converts the SSD file system to a faster format
D. It significantly improves read speeds by relocating fragmented sectors

46 A batch operating system and a time-sharing operating system differ fundamentally in how jobs are handled. Which statement correctly captures this distinction?

Types of operating systems Hard
A. Batch systems support real-time deadlines, while time-sharing systems do not
B. Batch systems use preemptive scheduling, while time-sharing systems use non-preemptive scheduling
C. Batch systems allow direct user interaction, while time-sharing systems run jobs offline
D. Batch systems process grouped jobs without user interaction, while time-sharing systems switch rapidly among interactive users

47 In a multiprogramming environment, the OS keeps several jobs in memory simultaneously. What is the primary benefit this provides that a uniprogramming system cannot?

Purpose of operating systems Hard
A. It guarantees each job finishes faster than it would run alone
B. It eliminates the need for a scheduler entirely
C. It maximizes CPU utilization by switching to another job when the current job waits for I/O
D. It removes the need for memory protection between jobs

48 Consider the difference between a monolithic kernel and a microkernel. Which trade-off most accurately describes the microkernel approach?

Basics of operating systems Hard
A. Elimination of context switching between services
B. Greater stability and modularity at the cost of performance overhead from message passing
C. Faster execution because all services run in kernel space
D. Reduced modularity because drivers cannot be separated from the core

49 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?

Providing a user interface Hard
A. It preserves modularity and system stability, so a shell crash does not bring down the kernel
B. It allows the GUI to execute privileged instructions faster
C. It is required because kernels cannot process graphics data
D. It reduces the total number of system calls to zero

50 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?

Enhancing an OS with utility software Hard
A. Text files use less disk space per character than image files
B. JPEGs cannot be read by compression utilities
C. Compression exploits redundancy, which is high in text but already minimized in JPEGs
D. The utility only compresses files smaller than 50 MB

51 A distributed operating system and a network operating system both involve multiple machines. Which characteristic uniquely distinguishes a true distributed OS?

Types of operating systems Hard
A. It is limited to a single physical processor
B. It requires each computer to run a separate independent OS with manual resource sharing
C. It only allows file transfer between machines but no shared processing
D. It presents multiple networked computers as a single coherent system to the user

52 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?

Purpose of operating systems Hard
A. Fragmentation; compaction of memory blocks
B. Deadlock; preemption of all held resources
C. Starvation; aging, which gradually raises a waiting process's priority
D. Thrashing; increasing the page size

53 During boot, the bootstrap program loads the kernel into memory. Where is this initial bootstrap program typically stored, and why is that location chosen?

Basics of operating systems Hard
A. In cache memory, because it is closest to the CPU
B. In RAM, because it is preloaded by the previous session
C. In firmware/ROM, because it must be available and unchangeable before any OS is loaded
D. On the hard disk swap partition, because it is faster to access

54 A user issues a command in the shell. Which sequence correctly describes how the request reaches the hardware?

Providing a user interface Hard
A. Application bypasses both shell and kernel to access hardware directly
B. Kernel interprets the command first, then passes it to the shell for hardware access
C. Shell directly manipulates the hardware, then notifies the kernel afterward
D. Shell interprets the command, invokes a system call, kernel executes the privileged operation on hardware

55 An antivirus utility uses both signature-based and heuristic detection. Why is heuristic detection essential despite being more prone to false positives?

Enhancing an OS with utility software Hard
A. It only detects malware that has already been catalogued
B. It scans faster because it ignores the file contents entirely
C. It replaces the need for signature databases completely
D. It can identify previously unknown malware by analyzing suspicious behavior rather than known signatures

56 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?

Types of operating systems Hard
A. Each processor runs its own separate OS with no shared memory
B. Processors cannot execute different processes simultaneously
C. All processors share a common memory and are treated as peers by a single OS instance
D. One master processor controls all others, which act only as slaves

57 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?

Purpose of operating systems Hard
A. Fragmentation; memory is broken into non-contiguous blocks
B. Deadlock; two processes hold each other's resources
C. Thrashing; the degree of multiprogramming exceeds available physical memory
D. Starvation; a process is denied CPU indefinitely

58 An embedded operating system in a microwave oven and a desktop OS differ in design priorities. Which pairing of priorities is most accurate?

Basics of operating systems Hard
A. Embedded OS: rich multitasking GUI; desktop OS: minimal memory usage
B. Embedded OS: minimal footprint and reliability; desktop OS: flexibility and rich user interaction
C. Embedded OS: general-purpose extensibility; desktop OS: fixed single-function
D. Both prioritize identical goals with no meaningful difference

59 A backup utility offers incremental backups. Compared to a full backup performed daily, what is the key trade-off of daily incremental backups?

Enhancing an OS with utility software Hard
A. Larger storage use but no dependency on previous backups
B. Identical performance with no meaningful difference
C. Faster backup and less storage, but slower and more complex restoration
D. Slower backup but instant single-step restoration

60 A designer argues that a GUI is always more efficient than a CLI. Under which scenario is this claim most clearly false?

Providing a user interface Hard
A. When visual arrangement of windows is central to the task
B. When performing complex, repeatable batch operations that benefit from scripting and precise flags
C. When accessibility features rely on discoverable on-screen controls
D. When a novice user is exploring an application for the first time