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. 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

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

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

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

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

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

5 Which 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

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

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

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

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. Assembler
B. Linker
C. Compiler
D. Bootloader

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

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

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

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

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

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

13 Machine language is composed of:

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

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

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

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

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

16 Which tool translates Assembly language into Machine language?

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

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

18 How 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

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

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

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

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

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

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

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

23 Which 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

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

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

26 The output of a compiler is typically called:

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

27 Which 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

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

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

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

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

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

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

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

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

33 BIOS stands for:

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

34 Which type of language is closest to the hardware?

A. High-level language
B. Assembly language
C. Machine language
D. Query 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. Compiler
B. Bootloader
C. I/O Manager / Device Driver
D. Text Editor

37 Which 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

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 hardware cable
D. A type of directory

39 Multitasking refers to:

A. Using multiple monitors
B. Using multiple keyboards
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. Mouse
B. CPU (Central Processing Unit)
C. Monitor
D. Hard Disk

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

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

42 A '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

43 Which is faster to develop software in?

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

44 The 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

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

46 Which 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)

47 Java uses a two-step translation process involving:

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

48 Which 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

49 Cold 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

50 The '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