Questions Marking Scheme New Update
| A+ Rated
In the compilation process, the ______ separates the input source code
text into tokens.
Lexical Analyzer (lexer)
Middle Stage
Assembler
Backend
Syntax Analyzer (parser)
Linker - 🧠 ANSWER ✔✔Lexical Analyzer (lexer)
Select which of the following are part of the compilation process:
Debugging
Syntax Analysis
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY 1
STATEMENT. ALL RIGHTS RESERVED
,Optimization
Lexical Analysis
Testing
Machine Code Generation
Program Execution - 🧠 ANSWER ✔✔Syntax Analysis
Optimization
Lexical Analysis
Machine Code Generation
Which of the follow best matches the definition for an Assembler?
Translates assembly language code into machine code.
Performs program analysis and optimization.
Arranges the symbol table in memory and generates final executable
machine code.
Combines partial programs and libraries into a single executable.
Separates the input source code text into tokens.
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY 2
STATEMENT. ALL RIGHTS RESERVED
,Performs syntax rules checking and constructs a symbol table and abstract
syntax tree. - 🧠 ANSWER ✔✔Translates assembly language code into
machine code.
Which of the follow best matches the definition for Syntax Analysis?
Combines partial programs and libraries into a single executable.
Separates the input source code text into tokens.
Performs program analysis and optimization.
Arranges the symbol table in memory and generates final executable
machine code.
Performs syntax rules checking and constructs a symbol table and abstract
syntax tree.
Translates assembly language code into machine code. - 🧠 ANSWER
✔✔Performs syntax rules checking and constructs a symbol table and
abstract syntax tree.
In the compilation process, the ______ performs program analysis and
optimization. - 🧠 ANSWER ✔✔Middle Stage
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY 3
STATEMENT. ALL RIGHTS RESERVED
, Which of the follow best matches the definition for Lexical Analysis?
Combines partial programs and libraries into a single executable.
Separates the input source code text into tokens.
Performs program analysis and optimization.
Arranges the symbol table in memory and generates final executable
machine code.
Performs syntax rules checking and constructs a symbol table and abstract
syntax tree.
Translates assembly language code into machine code. - 🧠 ANSWER
✔✔Separates the input source code text into tokens.
The ______ of the CPU acts as an interface between the processor and
the outside world, including long-term storage and user interfaces.
Memory
Control Unit
Datapath
ALU
COPYRIGHT©NINJANERD 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY 4
STATEMENT. ALL RIGHTS RESERVED