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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

13 Machine language is composed of:

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

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

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

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

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

16 Which tool translates Assembly language into Machine language?

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

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

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

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

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

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

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

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

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

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

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

26 The output of a compiler is typically called:

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

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

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. Assembler
B. Compiler
C. Interpreter
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 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

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

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

33 BIOS stands for:

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

34 Which type of language is closest to the hardware?

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

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

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

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

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

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

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 monitors
B. Connecting to the internet
C. Using multiple keyboards
D. Executing multiple tasks/processes concurrently

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

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

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

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

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

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

43 Which is faster to develop software in?

A. Assembly Language
B. High-Level Language
C. Binary Code
D. Machine 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 program in execution
B. A type of compiler
C. A hardware component
D. A static file on the hard drive

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. Assembler and Linker
B. Compiler and Interpreter
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 does not require a translator
C. It is machine-independent
D. It is machine-dependent

49 Cold Booting refers to:

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

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

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