CSE 230 Final Exam Review Questions with Correct Answers (Grade
A+)
Question 1: Select which of the following are part of the compilation process: Testing Debugging
Optimization Lexical Analysis Program Execution Machine Code Generation Syntax Analysis
Answer: Optimization Lexical Analysis Machine Code Generation Syntax Analysis
Question 2: Select which of the following are NOT part of the compilation process: Syntax Analysis
Lexical Analysis Testing Debugging Machine Code Generation Optimization Program Execution
Answer: Testing Debugging Program Execution
Question 3: 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.
Question 4: Which of the follow best matches the definition for an Assembler?
Answer: Translates assembly language code into machine code.
Question 5: Which of the follow best matches the function of the Middle Stage in the compilation
process?
Answer: Performs program analysis and optimization.
Question 6: The _ of the CPU contain(s) the ALU and Registers, and the interconnection between
them..
Answer: Datapath
Question 7: A computer consists of five major modules. What module do registers belong to?
Answer: Data Path
Question 8: Which of the following best matches the definition of the Control Unit?
Answer: Coordinates the flow of information around the processor.
Question 9: Which of the following best matches the definition of the Bus?
Answer: Carries data between the ALU, registers, memory, and peripherals.
Page 1
, Question 10: Which of the following best matches the definition of the ALU?
Answer: Operates on one or more numerical values to perform calculations and operations on data.
Question 11: In the four-component performance formula, the CPU time is determined by (Select all
correct answers) Instruction count Clock Rate Compilation time CPI
Answer: Instruction count Clock rate CPI
Question 12: For a given program, Clock period x CPI (average clock cycles Per Instruction) * IC
(Instruction Count) = ?
Answer: Execution Time of the Program
Question 13: What design effort can improve the performance of a computer?
Answer: Decrease the CPI
Question 14: Which of the follow best matches this definition: The duration of one clock cycle in
seconds.
Answer: Clock Period
Question 15: What formula do we use to define the performance of a computer?
Answer: Speed = 1 / Execution Time
Question 16: A designer chooses to use an organization that increases the logic depth of the processor.
All else being constant, will the performance likely increase, decrease, or stay the same?
Answer: Decrease
Question 17: A designer chooses to use a manufacturing process that decreases the feature size on the
processor. All else being constant, will the performance likely increase, decrease, or stay the same?
Answer: Increase
Question 18: A designer chooses to use a manufacturing process that increases the feature size on the
processor. All else being constant, will the performance likely increase, decrease, or stay the same?
Answer: Decrease
Page 2
A+)
Question 1: Select which of the following are part of the compilation process: Testing Debugging
Optimization Lexical Analysis Program Execution Machine Code Generation Syntax Analysis
Answer: Optimization Lexical Analysis Machine Code Generation Syntax Analysis
Question 2: Select which of the following are NOT part of the compilation process: Syntax Analysis
Lexical Analysis Testing Debugging Machine Code Generation Optimization Program Execution
Answer: Testing Debugging Program Execution
Question 3: 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.
Question 4: Which of the follow best matches the definition for an Assembler?
Answer: Translates assembly language code into machine code.
Question 5: Which of the follow best matches the function of the Middle Stage in the compilation
process?
Answer: Performs program analysis and optimization.
Question 6: The _ of the CPU contain(s) the ALU and Registers, and the interconnection between
them..
Answer: Datapath
Question 7: A computer consists of five major modules. What module do registers belong to?
Answer: Data Path
Question 8: Which of the following best matches the definition of the Control Unit?
Answer: Coordinates the flow of information around the processor.
Question 9: Which of the following best matches the definition of the Bus?
Answer: Carries data between the ALU, registers, memory, and peripherals.
Page 1
, Question 10: Which of the following best matches the definition of the ALU?
Answer: Operates on one or more numerical values to perform calculations and operations on data.
Question 11: In the four-component performance formula, the CPU time is determined by (Select all
correct answers) Instruction count Clock Rate Compilation time CPI
Answer: Instruction count Clock rate CPI
Question 12: For a given program, Clock period x CPI (average clock cycles Per Instruction) * IC
(Instruction Count) = ?
Answer: Execution Time of the Program
Question 13: What design effort can improve the performance of a computer?
Answer: Decrease the CPI
Question 14: Which of the follow best matches this definition: The duration of one clock cycle in
seconds.
Answer: Clock Period
Question 15: What formula do we use to define the performance of a computer?
Answer: Speed = 1 / Execution Time
Question 16: A designer chooses to use an organization that increases the logic depth of the processor.
All else being constant, will the performance likely increase, decrease, or stay the same?
Answer: Decrease
Question 17: A designer chooses to use a manufacturing process that decreases the feature size on the
processor. All else being constant, will the performance likely increase, decrease, or stay the same?
Answer: Increase
Question 18: A designer chooses to use a manufacturing process that increases the feature size on the
processor. All else being constant, will the performance likely increase, decrease, or stay the same?
Answer: Decrease
Page 2