System Software and Operating
Systems - 100 MCQs with Answers
UNIT I – Assembler, Loader, Linker
1. In a two-pass assembler, object code is generated during the:
A) First Pass
B) Before First Pass
C) Second Pass
D) After Second Pass
2. The linker is used to:
A) Create a load module
B) Always used before execution
C) Same as loader
D) A type of interpreter
3. Which of the following is not an example of system software?
A) Language Translator
B) Utility Software
C) Communication Software
D) Word Processor
4. Bootstrap loader is:
A) Loads application software
B) Loads OS during startup
C) A compiler component
D) Memory allocator
5. What is the output of an assembler?
A) Executable file
B) Source code
C) Object code
D) Shell script
6. The main function of a loader is:
A) Load object program into memory
B) Perform lexical analysis
C) Convert high-level to low-level
D) Detect logical errors
7. Linking is the process of:
A) Parsing source
B) Allocating memory
C) Combining object files
D) Linking HTML
8. What does a linker do?
A) Parses the source
B) Combines object files
C) Allocates memory
D) Links HTML tags
9. The loader maps a program into:
A) Hard disk
B) Main memory
C) ROM
D) Registers
10. Which of the following is not a loader type?
A) Absolute loader
B) Relocating loader
C) Syntax loader
D) Dynamic loader
UNIT II – Compiler, Optimization
11. A compiler:
A) Converts line-by-line
B) Converts entire code at once
C) Interprets instructions
D) Loads programs
12. Interpreter executes code:
A) Line-by-line
B) As binary
C) In compiled form
D) Before compilation
13. What is the main aim of code optimization?
A) Improve performance
B) Detect errors
C) Allocate memory
D) Reduce user input
14. Which phase of a compiler generates tokens?
A) Semantic analysis
B) Intermediate code generation
C) Lexical analysis
D) Linking
15. Symbol tables are used by:
A) CPU
B) Compiler
C) Assembler
D) File manager
16. Which of the following is not a compiler phase?
A) Syntax analysis
B) Defragmentation
C) Code generation
D) Semantic analysis
17. P-code is:
A) Machine-dependent code
B) User-level language
C) Intermediate machine-independent code
D) Debugging script
18. Which tool detects semantic errors?
A) Lexical analyzer
B) Optimizer
C) Semantic analyzer
D) Interpreter
19. A machine-independent optimization is:
A) Loop unrolling
B) Register allocation
C) Instruction pipelining
D) Code relocation
20. Which of the following is used for syntax checking?
A) Linker
B) Parser
C) Optimizer
D) Debugger