System software and Operating system _ DPP 01
System software and Operating system _ DPP 01
System software and Operating system _ DPP 01
Q1 Which of the following statements is not correct for Q6 Which of the following is/are a purpose of an
the process OS as user interface involved? operating system (OS)?
(A) It directly interacts with hardware components I. Providing a user interface
(B) It Serves as an intermediary between the user and II. Managing hardware resources
the hardware III. Increasing software complexity
(C) It provides a graphical user interface (GUI) for IV. Ensuring system security
user interaction (A) II, and III only
(D) It Manages system resources and scheduling tasks (B) I, II, and IV only
(C) I, II, and III only
Q2 Which of the following is NOT a function of an
(D) III and IV only
operating system?
(A) Memory Management Q7 How does the operating system facilitate data transfer
(B) File Management between secondary storage and main memory?
(C) Process Management (A) By increasing CPU speed
(D) Execution of arithmetic and logical operation (B) Through device drivers
(C) By expanding RAM
Q3 What is the full name of the DSM?
(D) By improving cache efficiency
(A) Direct system module
(B) Direct system memory Q8 What triggers a mode switch from user mode to kernel
(C) Demoralized system memory mode?
(D) Distributed shared memory (A) Page faults
(B) System calls
Q4 What does "bootstrap" refer to in computing?
(C) Process termination
(A) Loading a computer program into memory using a
(D) None of the above
smaller initial program
(B) Enhancing the performance of a computer's Q9 Context Switching is part of ____.
operating system (A) Memory management
(C) Creating a backup of important system files (B) Process management
(D) Installing new hardware components into a (C) File system management
computer (D) Device driver management
Q5 An I/O bound program will typically have Q10 Which statement best describes context switching in
____________ the context of operating system performance?
(A) a few very short CPU bursts (A) Context switching involves saving the state of a
(B) many very short I/O bursts process and loading the state of another process,
(C) many very short CPU bursts which is essential for multitasking.
(D) a few very short I/O bursts (B)
Context switching is primarily responsible for Context switching is only necessary for handling
managing memory allocation and deallocation interrupt requests from peripheral devices.
efficiently. (D) Context switching occurs automatically without
(C) any impact on system performance.
Answer Key
Q1 (A) Q6 (B)
Q2 (D) Q7 (B)
Q3 (D) Q8 (B)
Q4 (A) Q9 (B)
often performed using backup software or built-in So option B is the correct answer.
backup utilities provided by the operating system. Q7 Text Solution:
Option D, Installing new hardware components into a Option A) By increasing CPU speed-CPU speed
computer, involves physically adding new hardware affects how quickly computations are performed
devices such as a graphics card, memory modules, Option B) Through device drivers- Device drivers are
hard drives, or network cards to a computer system. software components that allow the operating system
This process typically requires opening the computer to communicate with hardware devices, including
case, inserting the new hardware component into the secondary storage devices like hard disks, SSDs, and
appropriate slot or connector on the motherboard, and
optical drives. They provide a standardized interface
ensuring proper installation and configuration of
for the OS to issue commands, manage data transfers,
drivers and settings to enable the new hardware to
and handle I/O operations efficiently.
function correctly with the operating system.
Option C) By expanding RAM- Expanding RAM
So option A is the correct answer.
(main memory) increases the amount of data and
Q5 Text Solution: programs that can be held in memory simultaneously.
A task or program is I/O bound if its execution is Option D) By improving cache efficiency- CPU
dependent on the input-output system and its caches (L1, L2, L3 caches) are small, fast storage
resources, such as disk drives and peripheral devices. locations that temporarily hold data and instructions
In executing an I/O bound task, the computing device that are likely to be accessed frequently by the CPU.
spends its time performing input-output operations, Improving cache efficiency speeds up access to data
and other resources, such as the central processing within the CPU itself.
unit, are used less frequently or not at all. The input- So option B is the correct answer.
output system refers to the input-output component of Q8 Text Solution:
an operating system. I/O-bound operations are User mode-Programs that execute in the user
characterized by many and very short CPU bursts protection domain are user processes.
during execution. CPU-bound operations tend to have Kernel mode-Programs that execute in the kernel
few and long CPU bursts. So option C is the correct protection domain include interrupt handlers,
answer. kernel processes, the base kernel, and kernel
Q6 Text Solution: extensions (device driver, system calls and file
I. Providing a user interface: Operating systems systems).
provide interfaces (command-line, graphical, etc.) that Mode switches-The use of a system call by a user-
allow users to interact with the system and run mode process allows a kernel function to be called
applications. from user mode. Access to functions that directly
II. Managing hardware resources: OSs manage and or indirectly invoke system calls is typically
allocate hardware resources (CPU, memory, provided by programming libraries, which provide
peripherals) to ensure efficient operation of programs. access to operating system functions.
IV. Ensuring system security: OSs implement security Option A. Page faults: Page faults occur when a
measures to protect the system and user data from program accesses a memory page that is currently not
unauthorized access and malicious activities. mapped in physical memory (RAM) but instead
III. (Increasing software complexity) is not a primary resides in secondary storage (like a hard disk). Handle
purpose of an operating system. Instead, OSs memory access exceptions but do not directly trigger
generally aim to hide hardware complexity from users mode switches.
and applications, simplify interactions, and manage Option B. System calls: When a user-mode process
resources effectively to support software operations. needs to perform a privileged operation (e.g., opening
a file, allocating memory), it makes a system call that and directories on storage devices, not directly related
trigger mode switches from user mode to kernel mode to the context switching mechanism.
for privileged operations. Option D: Device Driver Management: Device drivers
Option C. Process termination: Process termination are software components that enable communication
involves ending the execution of a process that is between hardware devices and the operating system.
managed entirely in kernel mode without requiring a Context switching is not directly related to the
mode switch triggered by user actions. management of device drivers.
So option B is the correct answer. So option B is the correct answer.