1What is the primary definition of an Operating System?
A.An interface between the user and the computer hardware
B.A program that performs specific tasks like photo editing
C.A device driver for printers
D.A hardware component that stores data
Correct Answer: An interface between the user and the computer hardware
Explanation:
An Operating System serves as a bridge or interface between the user/applications and the underlying computer hardware.
Incorrect! Try again.
2Which of the following is NOT a primary function of an Operating System?
A.Website Design
B.File Management
C.Processor Management
D.Memory Management
Correct Answer: Website Design
Explanation:
Website design is an application-level task, whereas memory, processor, and file management are core system-level functions of an OS.
Incorrect! Try again.
3The core component of an Operating System that interacts directly with the hardware is called the:
A.Compiler
B.Kernel
C.Shell
D.Bootloader
Correct Answer: Kernel
Explanation:
The kernel is the central part of an OS that manages system resources and communication between software and hardware.
Incorrect! Try again.
4In the context of Operating System architecture, what is the 'Shell'?
A.The lowest level of the kernel
B.The hard outer casing of the CPU
C.The memory management unit
D.A program that interprets user commands
Correct Answer: A program that interprets user commands
Explanation:
The shell is a user interface (often CLI) that takes commands from the user and converts them into system calls for the kernel.
Incorrect! Try again.
5Which type of Operating System allows multiple users to access the system concurrently?
A.Batch Processing OS
B.Real-time OS
C.Single-user OS
D.Multi-user OS
Correct Answer: Multi-user OS
Explanation:
A Multi-user OS (like Unix or Linux) allows multiple users to access the computer's resources simultaneously.
Incorrect! Try again.
6What characterizes a Real-Time Operating System (RTOS)?
A.It focuses on a beautiful user interface
B.It requires strict adherence to time constraints for processing
C.It is designed only for single-tasking
D.It processes data in large batches
Correct Answer: It requires strict adherence to time constraints for processing
Explanation:
RTOS is designed for systems where processing results must be produced within a specific, often very short, time constraint (e.g., air traffic control).
Incorrect! Try again.
7Which architecture places typically all operating system services in the kernel space?
A.Monolithic Kernel
B.Microkernel
C.Hybrid Kernel
D.Exokernel
Correct Answer: Monolithic Kernel
Explanation:
A Monolithic Kernel places all essential services (file system, memory management, drivers) into the same memory space to improve performance.
Incorrect! Try again.
8What is the main advantage of a Microkernel architecture?
A.It is faster than a Monolithic kernel
B.It is larger in size
C.It includes all device drivers in the kernel space
D.It offers better system stability and security by running services in user space
Correct Answer: It offers better system stability and security by running services in user space
Explanation:
In a Microkernel, if a service (like a file server) crashes, it doesn't crash the entire system because it runs in user space, not kernel space.
Incorrect! Try again.
9Which program is responsible for loading the Operating System into memory when the computer is turned on?
A.Assembler
B.Linker
C.Compiler
D.Bootloader
Correct Answer: Bootloader
Explanation:
The bootloader is a small program stored in ROM or the Master Boot Record that loads the main OS kernel into RAM during startup.
Incorrect! Try again.
10The process of starting a computer and loading the operating system is known as:
A.Booting
B.Compiling
C.Linking
D.Debugging
Correct Answer: Booting
Explanation:
Booting (or bootstrapping) is the initialization process that starts the OS.
Incorrect! Try again.
11In a directory hierarchy, what is the topmost directory called?
A.Branch directory
B.Root directory
C.Stem directory
D.Leaf directory
Correct Answer: Root directory
Explanation:
The root directory is the starting point of the file system hierarchy, typically denoted by '/' in Unix/Linux or a drive letter in Windows.
Incorrect! Try again.
12Which structure best represents the arrangement of directories and subdirectories in an OS?
A.Stack
B.Linear List
C.Circular Queue
D.Tree Structure
Correct Answer: Tree Structure
Explanation:
The directory system is organized as an inverted tree, starting from the root and branching out into subdirectories.
Incorrect! Try again.
13Machine language is composed of:
A.Mathematical formulas
B.Mnemonics
C.English-like sentences
D.Binary digits (0s and 1s)
Correct Answer: Binary digits (0s and 1s)
Explanation:
Machine language is the lowest-level language consisting of binary code that the hardware can execute directly.
Incorrect! Try again.
14Which language uses mnemonics (like ADD, SUB, MOV) to represent instructions?
A.Machine language
B.High-level language
C.Scripting language
D.Assembly language
Correct Answer: Assembly language
Explanation:
Assembly language uses symbolic codes called mnemonics to replace raw binary machine codes, making it slightly more readable.
Incorrect! Try again.
15A program written in a high-level language is known as:
A.Machine code
B.Source code
C.Binary code
D.Object code
Correct Answer: Source code
Explanation:
The human-readable code written by a programmer in languages like C++ or Python is called source code.
Incorrect! Try again.
16Which tool translates Assembly language into Machine language?
A.Linker
B.Interpreter
C.Compiler
D.Assembler
Correct Answer: Assembler
Explanation:
An Assembler is a specific translator that converts assembly language mnemonics into machine code.
Incorrect! Try again.
17What is the primary function of a Compiler?
A.To execute the program line by line
B.To translate the entire source code into machine code at once
C.To load the program into memory
D.To edit the text of the program
Correct Answer: To translate the entire source code into machine code at once
Explanation:
A compiler takes the whole source code, analyzes it, and produces an executable object code file.
Incorrect! Try again.
18How does an Interpreter differ from a Compiler?
A.It produces an object code file
B.It translates code line-by-line and executes immediately
C.It is used only for Assembly language
D.It is faster than a compiler
Correct Answer: It translates code line-by-line and executes immediately
Explanation:
Interpreters translate and execute instructions one line at a time, stopping if an error is found, without creating a standalone executable file.
Incorrect! Try again.
19Which of the following is an example of a High-Level Language?
A.Python
B.Assembly
C.Microcode
D.Binary
Correct Answer: Python
Explanation:
Python is a high-level language designed to be easy for humans to read and write, abstracting away hardware details.
Incorrect! Try again.
20Which system software combines multiple object files into a single executable file?
A.Linker
B.Debugger
C.Editor
D.Loader
Correct Answer: Linker
Explanation:
The Linker connects the object code generated by the compiler with library files to create a final executable.
Incorrect! Try again.
21What is the role of the 'Loader'?
A.To load the executable code from disk into memory for execution
B.To compile source code
C.To write the code
D.To debug syntax errors
Correct Answer: To load the executable code from disk into memory for execution
Explanation:
The Loader is part of the OS that places programs into RAM and prepares them for execution by the CPU.
Incorrect! Try again.
22Which type of error is detected during the compilation phase?
A.Hardware error
B.Syntax error
C.Runtime error
D.Logical error
Correct Answer: Syntax error
Explanation:
Syntax errors occur when the code violates the grammatical rules of the programming language and are caught by the compiler.
Incorrect! Try again.
23Which operating system type processes jobs in groups without user interaction?
A.Batch Processing OS
B.Time-sharing OS
C.Distributed OS
D.Real-time OS
Correct Answer: Batch Processing OS
Explanation:
Batch processing involves collecting programs and data together in a 'batch' and processing them sequentially without user intervention.
Incorrect! Try again.
24What is 'Time-Sharing' in an Operating System?
A.Sharing the hard drive space
B.Sharing files between users
C.Sharing the keyboard between users
D.Sharing the CPU time among multiple users/processes
Correct Answer: Sharing the CPU time among multiple users/processes
Explanation:
Time-sharing divides CPU time into small slots, switching rapidly between tasks so that each user feels they have sole use of the system.
Incorrect! Try again.
25A distributed operating system is characterized by:
A.Running on multiple independent computers that appear as a single system
B.Having no network connection
C.Being used only for calculators
D.Running on a single computer
Correct Answer: Running on multiple independent computers that appear as a single system
Explanation:
Distributed OS manages a group of distinct computers and makes them appear to be a single computer to the user.
Incorrect! Try again.
26The output of a compiler is typically called:
A.Algorithm
B.Object Code
C.Source Code
D.Mnemonics
Correct Answer: Object Code
Explanation:
After a compiler processes source code, it generates machine-readable instructions known as object code.
Incorrect! Try again.
27Which of the following is a sequence of program development?
A.Edit -> Compile -> Link -> Execute
B.Compile -> Execute -> Edit -> Link
C.Execute -> Compile -> Edit -> Link
D.Link -> Edit -> Compile -> Execute
Correct Answer: Edit -> Compile -> Link -> Execute
Explanation:
Standard development flow: Write code (Edit), translate it (Compile), join libraries (Link), and run it (Execute).
Incorrect! Try again.
28What does portability mean in the context of High-Level Languages?
A.The code is very small in size
B.The code can run on different types of hardware with minimal changes
C.The code executes extremely fast
D.The code can be carried on a USB drive
Correct Answer: The code can run on different types of hardware with minimal changes
Explanation:
Portability allows high-level code to be compiled and run on various computer architectures (e.g., running C code on both Windows and Linux).
Incorrect! Try again.
29Which of the following is NOT a language processor/translator?
A.Compiler
B.Assembler
C.Editor
D.Interpreter
Correct Answer: Editor
Explanation:
An Editor is a tool for writing text/code, not for translating it into machine language.
Incorrect! Try again.
30In a path name, what does the '..' symbol typically represent?
A.Parent directory
B.Home directory
C.Current directory
D.Root directory
Correct Answer: Parent directory
Explanation:
In hierarchical file systems, '..' refers to the directory immediately above the current one.
Incorrect! Try again.
31What is a System Call?
A.A mechanism for an application to request a service from the kernel
B.A phone call made via the computer
C.A type of virus
D.A hardware error signal
Correct Answer: A mechanism for an application to request a service from the kernel
Explanation:
System calls provide the interface between a running program and the Operating System kernel.
Incorrect! Try again.
32Which OS function manages the allocation and deallocation of RAM?
A.Memory Management
B.File Management
C.Security Management
D.Device Management
Correct Answer: Memory Management
Explanation:
Memory Management keeps track of each byte in a computer's memory and manages allocation to processes.
Incorrect! Try again.
33BIOS stands for:
A.Binary Input Output System
B.Binary Internal Output System
C.Basic Internal Operating System
D.Basic Input Output System
Correct Answer: Basic Input Output System
Explanation:
BIOS is firmware used to perform hardware initialization during the booting process.
Incorrect! Try again.
34Which type of language is closest to the hardware?
A.High-level language
B.Assembly language
C.Machine language
D.Query language
Correct Answer: Machine language
Explanation:
Machine language is the native language of the CPU, consisting of binary instructions.
Incorrect! Try again.
35The process of finding and fixing errors in a program is called:
A.Compiling
B.Loading
C.Debugging
D.Linking
Correct Answer: Debugging
Explanation:
Debugging is the methodical process of finding and resolving bugs or defects in software.
Incorrect! Try again.
36Which component acts as a traffic controller for Input/Output devices?
A.Compiler
B.Bootloader
C.I/O Manager / Device Driver
D.Text Editor
Correct Answer: I/O Manager / Device Driver
Explanation:
The I/O manager and specific device drivers control the flow of data between the OS and peripheral devices.
Incorrect! Try again.
37Which of the following is a disadvantage of Machine Language?
A.It is slow to execute
B.It requires a translator
C.It cannot access hardware directly
D.It is difficult to write and understand for humans
Correct Answer: It is difficult to write and understand for humans
Explanation:
Machine language consists of streams of numbers (binary), making it extremely tedious and error-prone for humans to program.
Incorrect! Try again.
38In the context of files, what is an 'Extension'?
A.A suffix at the end of a filename indicating the file type
B.The physical length of the file on disk
C.A hardware cable
D.A type of directory
Correct Answer: A suffix at the end of a filename indicating the file type
Explanation:
Extensions (like .txt, .exe) tell the OS which application should be used to open the file.
Multitasking is the ability of the OS to execute more than one task (process) at the same time (or seemingly so via time-sharing).
Incorrect! Try again.
40Which part of the computer architecture executes the instructions provided by the OS?
A.Mouse
B.CPU (Central Processing Unit)
C.Monitor
D.Hard Disk
Correct Answer: CPU (Central Processing Unit)
Explanation:
The CPU is the hardware that actually processes the instructions managed and scheduled by the OS.
Incorrect! Try again.
41If a program works on one machine but not another due to hardware differences, it lacks:
A.Efficiency
B.Security
C.Portability
D.Reliability
Correct Answer: Portability
Explanation:
Portability is the measure of how easily software can be transferred from one computer environment to another.
Incorrect! Try again.
42A 'path' in an Operating System refers to:
A.The route/location of a file or directory in the file system
B.The booting sequence
C.The physical cable connecting devices
D.The speed of the processor
Correct Answer: The route/location of a file or directory in the file system
Explanation:
A path defines the unique location of a file or directory in the hierarchy (e.g., /home/user/docs).
Incorrect! Try again.
43Which is faster to develop software in?
A.Assembly Language
B.Binary Code
C.High-Level Language
D.Machine Language
Correct Answer: High-Level Language
Explanation:
High-level languages use English-like syntax and built-in functions, making development significantly faster than low-level languages.
Incorrect! Try again.
44The Master Boot Record (MBR) is usually located at:
A.The first sector of the hard disk
B.The last sector of the hard disk
C.In the RAM only
D.In the CD-ROM drive
Correct Answer: The first sector of the hard disk
Explanation:
The MBR is found in the very first sector of the bootable storage device and contains the partition table and bootloader code.
Incorrect! Try again.
45What is a 'Process' in OS terminology?
A.A hardware component
B.A program in execution
C.A static file on the hard drive
D.A type of compiler
Correct Answer: A program in execution
Explanation:
A process is an instance of a computer program that is being executed.
Incorrect! Try again.
46Which type of interface relies on graphical elements like icons and windows?
A.GUI (Graphical User Interface)
B.Assembly Interface
C.Punch Card Interface
D.CLI (Command Line Interface)
Correct Answer: GUI (Graphical User Interface)
Explanation:
GUI allows users to interact with electronic devices through graphical icons rather than text-based commands.
Incorrect! Try again.
47Java uses a two-step translation process involving:
A.Loader and Debugger
B.Editor and Shell
C.Compiler and Interpreter
D.Assembler and Linker
Correct Answer: Compiler and Interpreter
Explanation:
Java is compiled into Bytecode, which is then interpreted (or JIT compiled) by the Java Virtual Machine (JVM).
Incorrect! Try again.
48Which of the following is true about Assembly Language?
A.It does not require a translator
B.It is machine-dependent
C.It is a high-level language
D.It is machine-independent
Correct Answer: It is machine-dependent
Explanation:
Assembly language is specific to a computer architecture (e.g., x86 vs ARM), making it machine-dependent.
Incorrect! Try again.
49Cold Booting refers to:
A.Installing a new OS
B.Restarting a computer that is already on
C.Cooling down the CPU
D.Starting a computer from a powered-off state
Correct Answer: Starting a computer from a powered-off state
Explanation:
Cold booting is the process of starting a computer by turning on the power switch.
Incorrect! Try again.
50The 'User Mode' and 'Kernel Mode' distinguish between:
A.Screen brightness settings
B.Privilege levels for executing instructions
C.Internet connection speeds
D.Different types of keyboards
Correct Answer: Privilege levels for executing instructions
Explanation:
Modern OSs use these modes to protect critical system components; Kernel Mode allows full access to hardware, while User Mode is restricted.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →