CSE 230 FINAL | 2026 UPDATE | 176 QUESTIONS AND ANSWERS | WITH COMPLETE
SOLUTION
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
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.
,CSE 230 FINAL | 2026 UPDATE | 176 QUESTIONS AND ANSWERS | WITH COMPLETE
SOLUTION
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.
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
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.
,CSE 230 FINAL | 2026 UPDATE | 176 QUESTIONS AND ANSWERS | WITH COMPLETE
SOLUTION
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
Registers
IO / Peripherals - (ANSWER)IO / Peripherals
Which of the following best matches the definition of the ALU?
Contains the ALU and Registers, and the interconnection between them.
Coordinates the flow of information around the processor.
Stores a large number of pieces of information, including program data and instructions.
Acts as an interface between the processor and the outside world, including long-term storage and user
interfaces.
Operates on one or more numerical values to perform calculations and operations on data.
Stores a small number of pieces of information, commonly the temporary results of calculations.
Carries data between the ALU, registers, memory, and peripherals. - (ANSWER)Operates on one or more
numerical values to perform calculations and operations on data.
The ______ of the CPU operates on one or more numerical values to perform calculations and
operations on data.
Registers
Control Unit
, CSE 230 FINAL | 2026 UPDATE | 176 QUESTIONS AND ANSWERS | WITH COMPLETE
SOLUTION
ALU
IO / Peripherals
Memory
Bus - (ANSWER)ALU
A computer consists of five major modules. What module does ALU belong to?
Memory
Data Path
Control Unit
Peripheral - (ANSWER)Data Path
Which of the following best matches the definition of the Bus?
Coordinates the flow of information around the processor.
Stores a small number of pieces of information, commonly the temporary results of calculations.
Carries data between the ALU, registers, memory, and peripherals.
Acts as an interface between the processor and the outside world, including long-term storage and user
interfaces.
Contains the ALU and Registers, and the interconnection between them.
Stores a large number of pieces of information, including program data and instructions.
Operates on one or more numerical values to perform calculations and operations on data. -
(ANSWER)Carries data between the ALU, registers, memory, and peripherals.
The ______ of the CPU stores a small number of pieces of information, commonly the temporary results
of calculations. - (ANSWER)Registers
Which of the following are NOT stages in the instruction cycle?
Jump
SOLUTION
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
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.
,CSE 230 FINAL | 2026 UPDATE | 176 QUESTIONS AND ANSWERS | WITH COMPLETE
SOLUTION
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.
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
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.
,CSE 230 FINAL | 2026 UPDATE | 176 QUESTIONS AND ANSWERS | WITH COMPLETE
SOLUTION
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
Registers
IO / Peripherals - (ANSWER)IO / Peripherals
Which of the following best matches the definition of the ALU?
Contains the ALU and Registers, and the interconnection between them.
Coordinates the flow of information around the processor.
Stores a large number of pieces of information, including program data and instructions.
Acts as an interface between the processor and the outside world, including long-term storage and user
interfaces.
Operates on one or more numerical values to perform calculations and operations on data.
Stores a small number of pieces of information, commonly the temporary results of calculations.
Carries data between the ALU, registers, memory, and peripherals. - (ANSWER)Operates on one or more
numerical values to perform calculations and operations on data.
The ______ of the CPU operates on one or more numerical values to perform calculations and
operations on data.
Registers
Control Unit
, CSE 230 FINAL | 2026 UPDATE | 176 QUESTIONS AND ANSWERS | WITH COMPLETE
SOLUTION
ALU
IO / Peripherals
Memory
Bus - (ANSWER)ALU
A computer consists of five major modules. What module does ALU belong to?
Memory
Data Path
Control Unit
Peripheral - (ANSWER)Data Path
Which of the following best matches the definition of the Bus?
Coordinates the flow of information around the processor.
Stores a small number of pieces of information, commonly the temporary results of calculations.
Carries data between the ALU, registers, memory, and peripherals.
Acts as an interface between the processor and the outside world, including long-term storage and user
interfaces.
Contains the ALU and Registers, and the interconnection between them.
Stores a large number of pieces of information, including program data and instructions.
Operates on one or more numerical values to perform calculations and operations on data. -
(ANSWER)Carries data between the ALU, registers, memory, and peripherals.
The ______ of the CPU stores a small number of pieces of information, commonly the temporary results
of calculations. - (ANSWER)Registers
Which of the following are NOT stages in the instruction cycle?
Jump