1What is the primary definition of an Operating System?
A.A program that performs specific tasks like photo editing
B.A device driver for printers
C.An interface between the user and the computer hardware
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.Memory Management
D.Processor 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.Kernel
B.Bootloader
C.Compiler
D.Shell
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.A program that interprets user commands
B.The memory management unit
C.The hard outer casing of the CPU
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.Batch Processing OS
C.Real-time 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 is designed only for single-tasking
B.It processes data in large batches
C.It requires strict adherence to time constraints for processing
D.It focuses on a beautiful user interface
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.Hybrid Kernel
B.Monolithic Kernel
C.Microkernel
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 offers better system stability and security by running services in user space
C.It includes all device drivers in the kernel space
D.It is larger in size
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.Assembler
C.Bootloader
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.Booting
B.Debugging
C.Compiling
D.Linking
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.Leaf directory
B.Branch directory
C.Stem directory
D.Root 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.Tree Structure
C.Linear List
D.Circular Queue
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.Binary digits (0s and 1s)
B.English-like sentences
C.Mnemonics
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.Assembly language
B.Scripting language
C.Machine language
D.High-level 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.Object code
C.Binary code
D.Source 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.Assembler
B.Interpreter
C.Compiler
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 translate the entire source code into machine code at once
B.To load the program into memory
C.To execute the program line by line
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 is faster than a compiler
C.It translates code line-by-line and executes immediately
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.Python
B.Binary
C.Assembly
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.Debugger
B.Editor
C.Loader
D.Linker
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 debug syntax errors
B.To load the executable code from disk into memory for execution
C.To compile source code
D.To write the 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.Hardware error
B.Runtime error
C.Logical error
D.Syntax 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.Real-time OS
B.Time-sharing OS
C.Distributed OS
D.Batch Processing 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 a single computer
B.Being used only for calculators
C.Running on multiple independent computers that appear as a single system
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.Algorithm
B.Source Code
C.Object 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.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 is very small in size
B.The code can be carried on a USB drive
C.The code can run on different types of hardware with minimal changes
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.Assembler
B.Editor
C.Interpreter
D.Compiler
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.Home 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 type of virus
B.A hardware error signal
C.A phone call made via the computer
D.A mechanism for an application to request a service from the kernel
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.Security Management
B.Device Management
C.Memory Management
D.File 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.Basic Internal Operating System
B.Binary Internal Output System
C.Basic Input Output System
D.Binary 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.Assembly language
B.High-level 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.Debugging
B.Loading
C.Compiling
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.Text Editor
B.Bootloader
C.Compiler
D.I/O Manager / Device Driver
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.A hardware cable
B.A suffix at the end of a filename indicating the file type
C.A type of directory
D.The physical length of the file on disk
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.