Unit 2 - Practice Quiz

CSE111 50 Questions
0 Correct 0 Wrong 50 Left
0/50

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

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

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

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

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

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

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

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. Hybrid Kernel
B. Monolithic Kernel
C. Microkernel
D. Exokernel

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

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

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

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

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

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

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

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

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

13 Machine language is composed of:

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

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

A. Assembly language
B. Scripting language
C. Machine language
D. High-level 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. Assembler
B. Interpreter
C. Compiler
D. Linker

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

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

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. Editor
C. Loader
D. Linker

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

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

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

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

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

26 The output of a compiler is typically called:

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

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

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

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

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

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

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

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

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

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

33 BIOS stands for:

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

34 Which type of language is closest to the hardware?

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

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

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

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

A. Text Editor
B. Bootloader
C. Compiler
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 requires a translator
D. It cannot access hardware directly

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

39 Multitasking refers to:

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

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

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

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 route/location of a file or directory in the file system
B. The physical cable connecting devices
C. The speed of the processor
D. The booting sequence

43 Which is faster to develop software in?

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

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

A. The last sector of the hard disk
B. In the RAM only
C. In the CD-ROM drive
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. CLI (Command Line Interface)
B. GUI (Graphical User Interface)
C. Assembly Interface
D. Punch Card Interface

47 Java uses a two-step translation process involving:

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

48 Which of the following is true about Assembly Language?

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

49 Cold Booting refers to:

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

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