1What is the primary definition of an Operating System?
A.A device driver for printers
B.A hardware component that stores data
C.A program that performs specific tasks like photo editing
D.An interface between the user and the computer hardware
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.Processor Management
B.Memory Management
C.File Management
D.Website Design
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.Shell
C.Bootloader
D.Compiler
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.The memory management unit
C.A program that interprets user commands
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.Multi-user OS
B.Single-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 focuses on a beautiful user interface
B.It is designed only for single-tasking
C.It processes data in large batches
D.It requires strict adherence to time constraints for processing
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.Hybrid Kernel
C.Monolithic 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 includes all device drivers in the kernel space
C.It offers better system stability and security by running services in user 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.Assembler
B.Bootloader
C.Linker
D.Compiler
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.Debugging
C.Linking
D.Booting
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.Leaf directory
D.Stem 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.Circular Queue
C.Stack
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.Binary digits (0s and 1s)
B.English-like sentences
C.Mathematical formulas
D.Mnemonics
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.Machine language
C.High-level 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.Machine code
B.Binary code
C.Object 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.Interpreter
B.Assembler
C.Linker
D.Compiler
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 execute the program line by line
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 is faster than a compiler
B.It produces an object code file
C.It is used only for Assembly language
D.It translates code line-by-line and executes immediately
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.Microcode
B.Binary
C.Assembly
D.Python
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 write the code
B.To debug syntax errors
C.To compile source code
D.To load the executable code from disk into memory for execution
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.Runtime error
B.Hardware 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.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 the hard drive space
B.Sharing files between users
C.Sharing the CPU time among multiple users/processes
D.Sharing the keyboard between users
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.Being used only for calculators
B.Running on a single computer
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.Object Code
C.Mnemonics
D.Source Code
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.Compile -> Execute -> Edit -> Link
B.Link -> Edit -> Compile -> Execute
C.Execute -> Compile -> Edit -> Link
D.Edit -> Compile -> Link -> 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 can run on different types of hardware with minimal changes
B.The code is very small in size
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.Assembler
B.Compiler
C.Interpreter
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.Home directory
B.Current directory
C.Parent 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 phone call made via the computer
B.A type of virus
C.A mechanism for an application to request a service from the kernel
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.File Management
B.Security Management
C.Device Management
D.Memory 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 Input Output System
B.Binary Internal Output System
C.Binary Input Output System
D.Basic Internal Operating 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.Query language
C.Assembly language
D.Machine 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.Loading
B.Linking
C.Compiling
D.Debugging
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.Bootloader
B.Text Editor
C.I/O Manager / Device Driver
D.Compiler
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 difficult to write and understand for humans
B.It cannot access hardware directly
C.It requires a translator
D.It is slow to execute
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 type of directory
D.A hardware cable
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.