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?
- A.System software that manages hardware and resources✓ Correct
- B.A physical component installed inside the computer
- C.A programming language for writing source code
- 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?
- A.Process management
- B.File system management
- C.Compiling user programs✓ Correct
- 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?
- A.Android mobile OS✓ Correct
- B.Ubuntu desktop OS
- C.MS-DOS legacy OS
- 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?
- A.Shutting down the computer safely
- B.Loading the OS into main memory✓ Correct
- C.Formatting the hard disk drive
- 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:
- A.Sequentially in submitted order✓ Correct
- B.Based on assigned priority
- C.Randomly without any order
- 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?
- A.Single-user OS
- B.Embedded OS
- C.Batch-job OS
- 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:
- A.The BIOS
- B.The API
- C.Shell✓ Correct
- 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?
- A.It does not support multitasking at all
- B.It only supports one single user at once
- C.It processes all jobs in large batches
- 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:
- A.IBM Corporation
- B.Apple Computer
- C.AT&T Bell Labs✓ Correct
- 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:
- A.Terminal
- B.Kernel✓ Correct
- C.Desktop
- 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?
- A.Multiprogramming uses multiple CPUs; multitasking one
- B.Multiprogramming maximizes CPU; multitasking adds sharing✓ Correct
- C.There is no meaningful difference between them
- 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?
- A.A call made from one user to another user
- B.A function call within user-level programs
- C.A programmatic interface to request OS services✓ Correct
- 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?
- A.User mode
- B.Safe mode
- C.Debug mode
- 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?
- A.To store the current instruction address
- B.To manage the CPU cache memory size
- C.To count the total CPU clock cycles
- 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:
- A.A type of interrupt handling method
- B.Overlapping I/O with CPU computation✓ Correct
- C.A type of CPU scheduling algorithm
- 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:
- A.A type of software error in code
- B.A signal needing immediate CPU attention✓ Correct
- C.A specific type of system call request
- 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?
- A.A trap is software-generated, interrupt is hardware✓ Correct
- B.There is no real difference between them
- C.A trap executes faster than an interrupt does
- 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:
- A.Speed up internal CPU processing tasks
- B.Transfer data to memory without the CPU✓ Correct
- C.Increase the processor clock speed rate
- 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:
- A.Makes independent computers appear as one system✓ Correct
- B.Runs only on a single standalone machine
- C.Cannot share resources between multiple machines
- 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?
- A.A program that manages user accounts and groups
- B.A program that handles active network connections
- C.A program that compiles other user-level programs
- 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?
- A.Better performance from fewer context switches in kernel
- B.Direct hardware access available for all system services
- C.Higher reliability since most services run in user space✓ Correct
- 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?
- A.To serve as a real-time antivirus scanning tool
- B.To create and manage virtual machines on hardware✓ Correct
- C.To increase the total RAM capacity of a system
- 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?
- A.Type 1 runs on top of host OS, Type 2 on hardware
- B.There is no real or meaningful difference between them
- C.Type 1 is inherently slower in performance than Type 2
- 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?
- A.The task priority gets increased
- B.The system gradually slows down
- C.The task is automatically retried
- 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?
- A.To hold addresses of interrupt service routines✓ Correct
- B.To schedule and dispatch CPU tasks to run
- C.To manage the overall file system structure
- 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?
- A.It separates user and kernel modes for protection✓ Correct
- B.It doubles the overall CPU processing speed rate
- C.It enables running two operating systems at once
- 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?
- A.Asymmetric has standby node; symmetric all nodes share✓ Correct
- B.Asymmetric uses different OS, symmetric uses same OS
- C.There is no meaningful difference between these approaches
- 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?
- A.Timer interrupt✓ Correct
- B.Watchdog timer
- C.Busy waiting
- 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?
- A.To increase the size of main memory
- B.To store frequent data in faster memory✓ Correct
- C.To permanently store data on disk
- 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?
- A.Preventing the processor cache from overflowing
- B.Reducing the overall processor cache miss rate
- C.Ensuring all processor caches are the same size
- 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