Unit 2: Operating System - Practice Quiz

CSE111 — Orientation To Computing-I 50 Questions
0 Correct 0 Wrong 50 Left
0/50

1 What is the primary definition of an Operating System?

A. A device driver for printers
B. A hardware component that stores data
C. An interface between the user and the computer hardware
D. A program that performs specific tasks like photo editing

2 Which of the following is NOT a primary function of an Operating System?

A. Website Design
B. Memory Management
C. File Management
D. Processor Management

3 The core component of an Operating System that interacts directly with the hardware is called the:

A. Bootloader
B. Kernel
C. Shell
D. Compiler

4 In the context of Operating System architecture, what is the 'Shell'?

A. A program that interprets user commands
B. The hard outer casing of the CPU
C. The memory management unit
D. The lowest level of the kernel

5 Which type of Operating System allows multiple users to access the system concurrently?

A. Multi-user OS
B. Batch Processing OS
C. Single-user OS
D. Real-time OS

6 What 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

7 Which architecture places typically all operating system services in the kernel space?

A. Monolithic Kernel
B. Exokernel
C. Microkernel
D. Hybrid Kernel

8 What 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

9 Which program is responsible for loading the Operating System into memory when the computer is turned on?

A. Compiler
B. Assembler
C. Linker
D. Bootloader

10 The process of starting a computer and loading the operating system is known as:

A. Compiling
B. Booting
C. Linking
D. Debugging

11 In a directory hierarchy, what is the topmost directory called?

A. Root directory
B. Leaf directory
C. Stem directory
D. Branch directory

12 Which structure best represents the arrangement of directories and subdirectories in an OS?

A. Linear List
B. Tree Structure
C. Circular Queue
D. Stack

13 Machine language is composed of:

A. Mathematical formulas
B. Binary digits (0s and 1s)
C. Mnemonics
D. English-like sentences

14 Which language uses mnemonics (like ADD, SUB, MOV) to represent instructions?

A. Machine language
B. High-level language
C. Assembly language
D. Scripting language

15 A program written in a high-level language is known as:

A. Machine code
B. Object code
C. Binary code
D. Source code

16 Which tool translates Assembly language into Machine language?

A. Interpreter
B. Compiler
C. Assembler
D. Linker

17 What is the primary function of a Compiler?

A. To edit the text of the program
B. To execute the program line by line
C. To load the program into memory
D. To translate the entire source code into machine code at once

18 How does an Interpreter differ from a Compiler?

A. It is used only for Assembly language
B. It is faster than a compiler
C. It translates code line-by-line and executes immediately
D. It produces an object code file

19 Which of the following is an example of a High-Level Language?

A. Python
B. Binary
C. Assembly
D. Microcode

20 Which system software combines multiple object files into a single executable file?

A. Debugger
B. Linker
C. Loader
D. Editor

21 What is the role of the 'Loader'?

A. To compile source code
B. To debug syntax errors
C. To write the code
D. To load the executable code from disk into memory for execution

22 Which type of error is detected during the compilation phase?

A. Runtime error
B. Hardware error
C. Syntax error
D. Logical error

23 Which operating system type processes jobs in groups without user interaction?

A. Time-sharing OS
B. Real-time OS
C. Batch Processing OS
D. Distributed OS

24 What is 'Time-Sharing' in an Operating System?

A. Sharing files between users
B. Sharing the hard drive space
C. Sharing the keyboard between users
D. Sharing the CPU time among multiple users/processes

25 A 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

26 The output of a compiler is typically called:

A. Source Code
B. Object Code
C. Algorithm
D. Mnemonics

27 Which of the following is a sequence of program development?

A. Link -> Edit -> Compile -> Execute
B. Compile -> Execute -> Edit -> Link
C. Execute -> Compile -> Edit -> Link
D. Edit -> Compile -> Link -> Execute

28 What 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

29 Which of the following is NOT a language processor/translator?

A. Editor
B. Compiler
C. Interpreter
D. Assembler

30 In a path name, what does the '..' symbol typically represent?

A. Current directory
B. Home directory
C. Root directory
D. Parent directory

31 What is a System Call?

A. A phone call made via the computer
B. A hardware error signal
C. A mechanism for an application to request a service from the kernel
D. A type of virus

32 Which OS function manages the allocation and deallocation of RAM?

A. Security Management
B. Memory Management
C. Device Management
D. File Management

33 BIOS stands for:

A. Binary Input Output System
B. Basic Internal Operating System
C. Basic Input Output System
D. Binary Internal Output System

34 Which type of language is closest to the hardware?

A. High-level language
B. Assembly language
C. Query language
D. Machine language

35 The process of finding and fixing errors in a program is called:

A. Compiling
B. Loading
C. Debugging
D. Linking

36 Which component acts as a traffic controller for Input/Output devices?

A. Text Editor
B. Compiler
C. Bootloader
D. I/O Manager / Device Driver

37 Which 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 cannot access hardware directly
D. It requires a translator

38 In 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

39 Multitasking refers to:

A. Using multiple keyboards
B. Using multiple monitors
C. Executing multiple tasks/processes concurrently
D. Connecting to the internet

40 Which part of the computer architecture executes the instructions provided by the OS?

A. Monitor
B. Mouse
C. CPU (Central Processing Unit)
D. Hard Disk

41 If a program works on one machine but not another due to hardware differences, it lacks:

A. Reliability
B. Portability
C. Efficiency
D. Security

42 A 'path' in an Operating System refers to:

A. The speed of the processor
B. The booting sequence
C. The physical cable connecting devices
D. The route/location of a file or directory in the file system

43 Which is faster to develop software in?

A. High-Level Language
B. Binary Code
C. Assembly Language
D. Machine Language

44 The Master Boot Record (MBR) is usually located at:

A. In the RAM only
B. In the CD-ROM drive
C. The last sector of the hard disk
D. The first sector of the hard disk

45 What is a 'Process' in OS terminology?

A. A static file on the hard drive
B. A program in execution
C. A hardware component
D. A type of compiler

46 Which type of interface relies on graphical elements like icons and windows?

A. Assembly Interface
B. GUI (Graphical User Interface)
C. Punch Card Interface
D. CLI (Command Line Interface)

47 Java uses a two-step translation process involving:

A. Compiler and Interpreter
B. Editor and Shell
C. Assembler and Linker
D. Loader and Debugger

48 Which of the following is true about Assembly Language?

A. It is machine-independent
B. It is a high-level language
C. It does not require a translator
D. It is machine-dependent

49 Cold Booting refers to:

A. Installing a new OS
B. Cooling down the CPU
C. Starting a computer from a powered-off state
D. Restarting a computer that is already on

50 The 'User Mode' and 'Kernel Mode' distinguish between:

A. Different types of keyboards
B. Screen brightness settings
C. Privilege levels for executing instructions
D. Internet connection speeds