HomeSubjectsUniversityBlogAbout

Introduction to OS

Topic in Operating Systems

210 total MCQsShowing 30 with explanations10 Easy10 Medium10 Hard

About This Topic

An operating system is system software that manages a computer's hardware and provides common services, such as memory, files and I/O, to application programs. Introductory questions check whether you can separate the kernel from user programs, tell user mode from kernel mode, and explain why system calls exist. You should also be able to compare batch, time-sharing, distributed and real-time systems, including the difference between hard and soft real-time deadlines. Other favourites include multiprogramming versus multitasking, interrupts and traps, the bootstrap process, symmetric versus asymmetric multiprocessing, NUMA memory access costs, and the role of hardware such as the Trusted Platform Module.

Below are 30 practice questions from a pool of 210 Introduction to OS MCQs, one of 12 topics in Operating Systems. Each shows the correct answer with an explanation; when you are ready, take a timed quiz to test recall under exam conditions.

Practice Questions

Each question below shows the correct answer with a full explanation. Use these to build conceptual understanding before attempting a timed quiz.

Introduction to OSEasy

Q1. What is an operating system?

  1. A.System software that manages hardware and resources✓ Correct
  2. B.A physical component installed inside the computer
  3. C.A programming language for writing source code
  4. D.An application designed for end-user productivity

Explanation

An operating system is system software that manages computer hardware and software resources and provides common services for computer programs.

Report an error in this question

Introduction to OSEasy

Q2. Which of the following is NOT a function of an operating system?

  1. A.Process management
  2. B.File system management
  3. C.Compiling user programs✓ Correct
  4. D.Memory management

Explanation

Compiling user programs is the function of a compiler, not the operating system. The OS manages memory, processes, and files.

Report an error in this question

Introduction to OSEasy

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

  1. A.Android mobile OS✓ Correct
  2. B.Ubuntu desktop OS
  3. C.MS-DOS legacy OS
  4. D.Windows Server OS

Explanation

Android is a mobile operating system developed by Google, primarily used in smartphones and tablets.

Report an error in this question

Introduction to OSEasy

Q4. What does the term 'booting' mean in the context of operating systems?

  1. A.Shutting down the computer safely
  2. B.Loading the OS into main memory✓ Correct
  3. C.Formatting the hard disk drive
  4. D.Installing new software packages

Explanation

Booting is the process of loading the operating system from secondary storage into the main memory (RAM) when the computer is started.

Report an error in this question

Introduction to OSEasy

Q5. In a batch operating system, jobs are processed:

  1. A.Sequentially in submitted order✓ Correct
  2. B.Based on assigned priority
  3. C.Randomly without any order
  4. D.Simultaneously on all cores

Explanation

In a batch operating system, similar jobs are grouped together into batches and processed sequentially without user interaction.

Report an error in this question

Introduction to OSEasy

Q6. Which type of operating system allows multiple users to use the computer simultaneously?

  1. A.Single-user OS
  2. B.Embedded OS
  3. C.Batch-job OS
  4. D.Time-sharing OS✓ Correct

Explanation

A time-sharing (multitasking) OS allows multiple users to share computer resources simultaneously by rapidly switching between tasks.

Report an error in this question

Introduction to OSEasy

Q7. The interface between the user and the operating system is called:

  1. A.The BIOS
  2. B.The API
  3. C.Shell✓ Correct
  4. D.Kernel

Explanation

The shell is the interface between the user and the operating system. It can be a command-line interface (CLI) or graphical user interface (GUI).

Report an error in this question

Introduction to OSEasy

Q8. Which of the following is a real-time operating system characteristic?

  1. A.It does not support multitasking at all
  2. B.It only supports one single user at once
  3. C.It processes all jobs in large batches
  4. D.It guarantees response within strict time✓ Correct

Explanation

A real-time operating system (RTOS) guarantees that operations are completed within strict time constraints, which is critical for systems like air traffic control.

Report an error in this question

Introduction to OSEasy

Q9. UNIX was originally developed at:

  1. A.IBM Corporation
  2. B.Apple Computer
  3. C.AT&T Bell Labs✓ Correct
  4. D.Microsoft Research

Explanation

UNIX was originally developed at AT&T Bell Labs by Ken Thompson and Dennis Ritchie in the early 1970s.

Report an error in this question

Introduction to OSEasy

Q10. The core component of an operating system is called the:

  1. A.Terminal
  2. B.Kernel✓ Correct
  3. C.Desktop
  4. D.Shell

Explanation

The kernel is the core component of an operating system that manages system resources and provides the lowest-level abstraction layer for hardware.

Report an error in this question

Introduction to OSMedium

Q11. What is the difference between multiprogramming and multitasking?

  1. A.Multiprogramming uses multiple CPUs; multitasking one
  2. B.Multiprogramming maximizes CPU; multitasking adds sharing✓ Correct
  3. C.There is no meaningful difference between them
  4. D.Multitasking is an older technique than multiprogramming

Explanation

Multiprogramming keeps multiple jobs in memory to keep the CPU busy. Multitasking extends this with time-sharing, allowing interactive user sessions by rapidly switching between tasks.

Report an error in this question

Introduction to OSMedium

Q12. What is a system call?

  1. A.A call made from one user to another user
  2. B.A function call within user-level programs
  3. C.A programmatic interface to request OS services✓ Correct
  4. D.A type of hardware interrupt signal to CPU

Explanation

A system call is a programmatic way for a process to request a service from the operating system's kernel, acting as the interface between user programs and the OS.

Report an error in this question

Introduction to OSMedium

Q13. Which mode of CPU operation has unrestricted access to all hardware resources?

  1. A.User mode
  2. B.Safe mode
  3. C.Debug mode
  4. D.Kernel mode✓ Correct

Explanation

Kernel mode (also called supervisor or privileged mode) has unrestricted access to all hardware resources. User mode has limited access for protection.

Report an error in this question

Introduction to OSMedium

Q14. What is the purpose of the mode bit in the CPU?

  1. A.To store the current instruction address
  2. B.To manage the CPU cache memory size
  3. C.To count the total CPU clock cycles
  4. D.To distinguish user mode from kernel mode✓ Correct

Explanation

The mode bit is used to distinguish between user mode (mode bit = 1) and kernel mode (mode bit = 0) to ensure proper protection of system resources.

Report an error in this question

Introduction to OSMedium

Q15. Spooling in operating systems refers to:

  1. A.A type of interrupt handling method
  2. B.Overlapping I/O with CPU computation✓ Correct
  3. C.A type of CPU scheduling algorithm
  4. D.A memory management technique used

Explanation

SPOOL (Simultaneous Peripheral Operations On-Line) is a technique where data is temporarily held in a buffer to be used by a slower device, overlapping I/O with computation.

Report an error in this question

Introduction to OSMedium

Q16. An interrupt is:

  1. A.A type of software error in code
  2. B.A signal needing immediate CPU attention✓ Correct
  3. C.A specific type of system call request
  4. D.A process scheduling technique in OS

Explanation

An interrupt is a signal to the processor indicating that an event needs immediate attention, causing the CPU to pause current execution and handle the interrupt.

Report an error in this question

Introduction to OSMedium

Q17. What is the difference between a trap and an interrupt?

  1. A.A trap is software-generated, interrupt is hardware✓ Correct
  2. B.There is no real difference between them
  3. C.A trap executes faster than an interrupt does
  4. D.A trap is hardware-generated, interrupt is software

Explanation

A trap (or exception) is a software-generated interrupt caused by an error or a user program request, while an interrupt is typically generated by hardware devices.

Report an error in this question

Introduction to OSMedium

Q18. DMA (Direct Memory Access) is used to:

  1. A.Speed up internal CPU processing tasks
  2. B.Transfer data to memory without the CPU✓ Correct
  3. C.Increase the processor clock speed rate
  4. D.Manage virtual memory paging on disk

Explanation

DMA allows certain hardware subsystems to access main system memory independently of the CPU, freeing the CPU from handling every byte of data transfer.

Report an error in this question

Introduction to OSMedium

Q19. A distributed operating system:

  1. A.Makes independent computers appear as one system✓ Correct
  2. B.Runs only on a single standalone machine
  3. C.Cannot share resources between multiple machines
  4. D.Is the same as a standard network operating system

Explanation

A distributed OS manages a group of distinct computers and makes them appear to be a single computer, enabling resource sharing and load distribution.

Report an error in this question

Introduction to OSMedium

Q20. What is the bootstrap program?

  1. A.A program that manages user accounts and groups
  2. B.A program that handles active network connections
  3. C.A program that compiles other user-level programs
  4. D.The first program run at power-on to load the OS✓ Correct

Explanation

The bootstrap program (stored in ROM/firmware) is the first program to run when a computer is powered on. It initializes hardware and loads the operating system kernel into memory.

Report an error in this question

Introduction to OSHard

Q21. In the context of OS design, what is the key advantage of a microkernel architecture over a monolithic kernel?

  1. A.Better performance from fewer context switches in kernel
  2. B.Direct hardware access available for all system services
  3. C.Higher reliability since most services run in user space✓ Correct
  4. D.Simpler implementation compared to other kernel designs

Explanation

Microkernels run most OS services in user space, which improves reliability (a service crash doesn't crash the kernel) and extensibility, though at the cost of some performance overhead.

Report an error in this question

Introduction to OSHard

Q22. What is the purpose of a hypervisor in virtualization?

  1. A.To serve as a real-time antivirus scanning tool
  2. B.To create and manage virtual machines on hardware✓ Correct
  3. C.To increase the total RAM capacity of a system
  4. D.To compile user programs at a much faster speed

Explanation

A hypervisor (Virtual Machine Monitor) creates and manages virtual machines, providing an abstraction layer that allows multiple guest operating systems to share physical hardware.

Report an error in this question

Introduction to OSHard

Q23. What distinguishes a Type 1 hypervisor from a Type 2 hypervisor?

  1. A.Type 1 runs on top of host OS, Type 2 on hardware
  2. B.There is no real or meaningful difference between them
  3. C.Type 1 is inherently slower in performance than Type 2
  4. D.Type 1 runs directly on hardware, Type 2 on host OS✓ Correct

Explanation

A Type 1 (bare-metal) hypervisor runs directly on hardware (e.g., VMware ESXi), while a Type 2 (hosted) hypervisor runs on top of a conventional host OS (e.g., VirtualBox).

Report an error in this question

Introduction to OSHard

Q24. In a hard real-time system, what happens when a deadline is missed?

  1. A.The task priority gets increased
  2. B.The system gradually slows down
  3. C.The task is automatically retried
  4. D.The result is a total system failure✓ Correct

Explanation

In a hard real-time system, missing a deadline is considered a total system failure. These systems guarantee that critical real-time tasks complete on time (e.g., airbag deployment systems).

Report an error in this question

Introduction to OSHard

Q25. What is the main purpose of the interrupt vector table?

  1. A.To hold addresses of interrupt service routines✓ Correct
  2. B.To schedule and dispatch CPU tasks to run
  3. C.To manage the overall file system structure
  4. D.To permanently store user programs on disk

Explanation

The interrupt vector table contains the addresses of interrupt service routines (ISR). When an interrupt occurs, the CPU uses this table to find and execute the appropriate handler.

Report an error in this question

Introduction to OSHard

Q26. What is the concept of 'dual-mode operation' in operating systems and why is it essential?

  1. A.It separates user and kernel modes for protection✓ Correct
  2. B.It doubles the overall CPU processing speed rate
  3. C.It enables running two operating systems at once
  4. D.It allows two users to work at the same time

Explanation

Dual-mode operation separates user mode and kernel mode execution, preventing user programs from directly accessing hardware or OS data structures, which is essential for system protection and stability.

Report an error in this question

Introduction to OSHard

Q27. In clustered systems, what is the difference between asymmetric clustering and symmetric clustering?

  1. A.Asymmetric has standby node; symmetric all nodes share✓ Correct
  2. B.Asymmetric uses different OS, symmetric uses same OS
  3. C.There is no meaningful difference between these approaches
  4. D.Asymmetric clustering is inherently faster than symmetric

Explanation

In asymmetric clustering, one machine is on hot-standby mode monitoring the active server. In symmetric clustering, all nodes run applications and monitor each other, providing better resource utilization.

Report an error in this question

Introduction to OSHard

Q28. What mechanism does the OS use to prevent a user program from running indefinitely and never returning control?

  1. A.Timer interrupt✓ Correct
  2. B.Watchdog timer
  3. C.Busy waiting
  4. D.Device polling

Explanation

The OS uses a timer interrupt that fires after a set interval to ensure that no user program can monopolize the CPU. When the timer expires, control returns to the OS for scheduling decisions.

Report an error in this question

Introduction to OSHard

Q29. What is the purpose of caching in the memory hierarchy of an operating system?

  1. A.To increase the size of main memory
  2. B.To store frequent data in faster memory✓ Correct
  3. C.To permanently store data on disk
  4. D.To compress data for efficient storage

Explanation

Caching stores copies of frequently accessed data in faster storage (like CPU cache or RAM) to reduce the average time to access data, exploiting the principle of locality.

Report an error in this question

Introduction to OSHard

Q30. What problem does cache coherency address in multiprocessor systems?

  1. A.Preventing the processor cache from overflowing
  2. B.Reducing the overall processor cache miss rate
  3. C.Ensuring all processor caches are the same size
  4. D.Ensuring shared data updates reflect in all caches✓ Correct

Explanation

Cache coherency ensures that when one processor updates data in its local cache, the change is propagated to all other caches holding copies of that data, maintaining data consistency across processors.

Report an error in this question

Ready to test yourself on Introduction to OS?

Take a timed quiz drawn from 210+ questions on this topic. No signup required — your progress saves in your browser.

Start Introduction to OS Quiz