CSE 575 EXAM SCRIPT VERIFIED
QUESTIONS WITH ACCURATE ANSWERS
●● Select which of the following are part of the compilation process:
Answer: Lexical Analysis
Syntax Analysis
Optimization
Linking
Code Generation
●● In the compilation process, the ______ performs program analysis
and optimization.
Answer: Middle Stage
●● Which of the follow best matches the definition for Syntax Analysis?
Answer: Performs syntax rules checking and constructs a symbol table
and abstract syntax tree.
●● Which of the follow best matches the definition for Lexical
Analysis?
Answer: Separates the input source code text into tokens.
,●● Which of the follow best matches the function of the Middle Stage in
the compilation process?
Answer: Performs program analysis and optimization.
●● In the compilation process, the ______ separates the input source
code text into tokens.
Answer: Lexical Analyzer (lexer)
●● A computer consists of five major modules. What module do
registers belong to?
Answer: Data Path
●● The ______ of the CPU stores a small number of pieces of
information, commonly the temporary results of calculations.
Answer: Registers
●● Which of the following best matches the definition of the Bus?
Answer: Carries data between the ALU, registers, memory, and
peripherals.
●● The ______ of the CPU acts as an interface between the processor
and the outside world, including long-term storage and user interfaces.
Answer: IO / Peripherals
, ●● A computer consists of five major modules. What module does ALU
belong to?
Answer: Data Path
●● If two computers made by different companies have the same
machine language, that means they have the same:
Answer: Architecture
●● Which of the following best matches the definition of the Datapath?
Answer: Contains the ALU and Registers, and the interconnection
between them.
●● The ______ of the CPU carries data between the ALU, registers,
memory, and peripherals.
Answer: Bus
●● The ______ of the CPU contains the ALU and Registers, and the
interconnection between them.
Answer: Datapath
●● Which of the following best matches the definition of the Control
Unit?
Answer: Coordinates the flow of information around the processor.
QUESTIONS WITH ACCURATE ANSWERS
●● Select which of the following are part of the compilation process:
Answer: Lexical Analysis
Syntax Analysis
Optimization
Linking
Code Generation
●● In the compilation process, the ______ performs program analysis
and optimization.
Answer: Middle Stage
●● Which of the follow best matches the definition for Syntax Analysis?
Answer: Performs syntax rules checking and constructs a symbol table
and abstract syntax tree.
●● Which of the follow best matches the definition for Lexical
Analysis?
Answer: Separates the input source code text into tokens.
,●● Which of the follow best matches the function of the Middle Stage in
the compilation process?
Answer: Performs program analysis and optimization.
●● In the compilation process, the ______ separates the input source
code text into tokens.
Answer: Lexical Analyzer (lexer)
●● A computer consists of five major modules. What module do
registers belong to?
Answer: Data Path
●● The ______ of the CPU stores a small number of pieces of
information, commonly the temporary results of calculations.
Answer: Registers
●● Which of the following best matches the definition of the Bus?
Answer: Carries data between the ALU, registers, memory, and
peripherals.
●● The ______ of the CPU acts as an interface between the processor
and the outside world, including long-term storage and user interfaces.
Answer: IO / Peripherals
, ●● A computer consists of five major modules. What module does ALU
belong to?
Answer: Data Path
●● If two computers made by different companies have the same
machine language, that means they have the same:
Answer: Architecture
●● Which of the following best matches the definition of the Datapath?
Answer: Contains the ALU and Registers, and the interconnection
between them.
●● The ______ of the CPU carries data between the ALU, registers,
memory, and peripherals.
Answer: Bus
●● The ______ of the CPU contains the ALU and Registers, and the
interconnection between them.
Answer: Datapath
●● Which of the following best matches the definition of the Control
Unit?
Answer: Coordinates the flow of information around the processor.