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 hardware component that stores data
B. An interface between the user and the computer hardware
C. A device driver for printers
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. File Management
B. Memory Management
C. Processor Management
D. Website Design

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

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

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

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

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

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

6 What characterizes a Real-Time Operating System (RTOS)?

A. It focuses on a beautiful user interface
B. It processes data in large batches
C. It is designed only for single-tasking
D. It requires strict adherence to time constraints for processing

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

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

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

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

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

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

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

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

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

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

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

13 Machine language is composed of:

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

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. Binary code
B. Machine code
C. Source code
D. Object code

16 Which tool translates Assembly language into Machine language?

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

17 What is the primary function of a Compiler?

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

18 How does an Interpreter differ from a Compiler?

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

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

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

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

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

21 What is the role of the 'Loader'?

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

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

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

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

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

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

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

25 A distributed operating system is characterized by:

A. Having no network connection
B. Running on multiple independent computers that appear as a single system
C. Running on a single computer
D. Being used only for calculators

26 The output of a compiler is typically called:

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

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

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

28 What does portability mean in the context of High-Level Languages?

A. The code can be carried on a USB drive
B. The code executes extremely fast
C. The code is very small in size
D. The code can run on different types of hardware with minimal changes

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

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

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

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

31 What is a System Call?

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

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

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

33 BIOS stands for:

A. Binary Internal Output System
B. Basic Internal Operating System
C. Binary Input Output System
D. Basic Input 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. Linking
B. Debugging
C. Loading
D. Compiling

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

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

37 Which of the following is a disadvantage of Machine Language?

A. It cannot access hardware directly
B. It is difficult to write and understand for humans
C. It requires a translator
D. It is slow to execute

38 In the context of files, what is an 'Extension'?

A. The physical length of the file on disk
B. A type of directory
C. A hardware cable
D. A suffix at the end of a filename indicating the file type

39 Multitasking refers to:

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

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

A. Monitor
B. CPU (Central Processing Unit)
C. Mouse
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. Security
D. Efficiency

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

A. The booting sequence
B. The speed of the processor
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. Machine Language
D. Assembly Language

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

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

45 What is a 'Process' in OS terminology?

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

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

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

47 Java uses a two-step translation process involving:

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

48 Which of the following is true about Assembly Language?

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

49 Cold Booting refers to:

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

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

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