1What is the primary definition of an Operating System?
A.A hardware component that stores data
B.An interface between the user and the computer hardware
C.A program that performs specific tasks like photo editing
D.A device driver for printers
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.Memory Management
B.Processor Management
C.Website Design
D.File 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.Shell
B.Kernel
C.Compiler
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 hard outer casing of the CPU
B.A program that interprets user commands
C.The memory management unit
D.The lowest level of the kernel
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.Single-user OS
B.Multi-user OS
C.Batch Processing OS
D.Real-time 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 processes data in large batches
B.It focuses on a beautiful user interface
C.It requires strict adherence to time constraints for processing
D.It is designed only for single-tasking
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.Microkernel
B.Monolithic Kernel
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 offers better system stability and security by running services in user space
D.It includes all device drivers in the kernel 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.Compiler
B.Bootloader
C.Assembler
D.Linker
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.Compiling
B.Booting
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.Stem directory
B.Branch directory
C.Root 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.Linear List
B.Tree Structure
C.Circular Queue
D.Stack
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.English-like sentences
B.Mnemonics
C.Binary digits (0s and 1s)
D.Mathematical formulas
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.High-level language
B.Machine language
C.Assembly language
D.Scripting 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.Object code
B.Source code
C.Machine code
D.Binary 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.Compiler
B.Interpreter
C.Assembler
D.Linker
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 edit the text of the program
D.To load the program into memory
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 translates code line-by-line and executes immediately
B.It is faster than a compiler
C.It produces an object code file
D.It is used only for Assembly language
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.Binary
B.Assembly
C.Python
D.Microcode
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.Loader
B.Linker
C.Debugger
D.Editor
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 write the code
B.To debug syntax errors
C.To load the executable code from disk into memory for execution
D.To compile source code
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.Logical error
B.Runtime error
C.Syntax error
D.Hardware 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.Distributed OS
B.Batch Processing OS
C.Time-sharing 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 files between users
B.Sharing the CPU time among multiple users/processes
C.Sharing the keyboard between users
D.Sharing the hard drive space
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 a single computer
B.Running on multiple independent computers that appear as a single system
C.Being used only for calculators
D.Having no network connection
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.Source Code
B.Object Code
C.Mnemonics
D.Algorithm
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.Execute -> Compile -> Edit -> Link
B.Edit -> Compile -> Link -> Execute
C.Link -> Edit -> Compile -> Execute
D.Compile -> Execute -> Edit -> Link
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 can run on different types of hardware with minimal changes
B.The code can be carried on a USB drive
C.The code is very small in size
D.The code executes extremely fast
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.Interpreter
C.Assembler
D.Editor
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.Current directory
B.Parent directory
C.Root directory
D.Home 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 phone call made via the computer
B.A mechanism for an application to request a service from the kernel
C.A hardware error signal
D.A type of virus
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.File Management
B.Memory Management
C.Device Management
D.Security 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.Basic Input Output System
C.Basic Internal Operating System
D.Binary Internal 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.Linking
C.Debugging
D.Loading
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.I/O Manager / Device Driver
B.Compiler
C.Text Editor
D.Bootloader
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 is difficult to write and understand for humans
C.It requires a translator
D.It cannot access hardware directly
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.The physical length of the file on disk
B.A suffix at the end of a filename indicating the file type
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.
Explanation: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.Hard Disk
B.CPU (Central Processing Unit)
C.Monitor
D.Mouse
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.Portability
C.Reliability
D.Security
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 physical cable connecting devices
B.The route/location of a file or directory in the file system
C.The speed of the processor
D.The booting sequence
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.Machine Language
B.Assembly Language
C.High-Level Language
D.Binary Code
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 last sector of the hard disk
B.The first 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 program in execution
B.A static file on the hard drive
C.A hardware component
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.CLI (Command Line Interface)
B.GUI (Graphical User Interface)
C.Assembly Interface
D.Punch Card 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.Assembler and Linker
B.Compiler and Interpreter
C.Loader and Debugger
D.Editor and Shell
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 is machine-independent
B.It is a high-level language
C.It is machine-dependent
D.It does not require a translator
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.Restarting a computer that is already on
B.Starting a computer from a powered-off state
C.Cooling down the CPU
D.Installing a new OS
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.Different types of keyboards
B.Privilege levels for executing instructions
C.Screen brightness settings
D.Internet connection speeds
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.
Give Feedback
Help us improve by sharing your thoughts or reporting issues.