ACTUAL Exam Questions and CORRECT
Answers
Select which of the following are part of the compilation process:
Testing
Debugging
Optimization
Lexical Analysis
Program Execution
Machine Code Generation
Syntax Analysis - CORRECT ANSWER - Optimization
Lexical Analysis
Machine Code Generation
Syntax Analysis
Select which of the following are NOT part of the compilation process:
Syntax Analysis
Lexical Analysis
Testing
Debugging
Machine Code Generation
Optimization
Program Execution - CORRECT ANSWER - Testing
Debugging
Program Execution
,Which of the follow best matches the definition for Syntax Analysis? - CORRECT
ANSWER - Performs syntax rules checking and constructs a symbol table and abstract
syntax tree.
Which of the follow best matches the definition for an Assembler? - CORRECT
ANSWER - Translates assembly language code into machine code.
Which of the follow best matches the function of the Middle Stage in the compilation process? -
CORRECT ANSWER - Performs program analysis and optimization.
The _ of the CPU contain(s) the ALU and Registers, and the interconnection between them.. -
CORRECT ANSWER - Datapath
A computer consists of five major modules. What module do registers belong to? - CORRECT
ANSWER - Data Path
Which of the following best matches the definition of the Control Unit? - CORRECT
ANSWER - Coordinates the flow of information around the processor.
Which of the following best matches the definition of the Bus? - CORRECT ANSWER -
Carries data between the ALU, registers, memory, and peripherals.
Which of the following best matches the definition of the ALU? - CORRECT ANSWER -
Operates on one or more numerical values to perform calculations and operations on data.
In the four-component performance formula, the CPU time is determined by (Select all correct
answers)
Instruction count
Clock Rate
Compilation time
CPI - CORRECT ANSWER - Instruction count
, Clock rate
CPI
For a given program, Clock period x CPI (average clock cycles Per Instruction) * IC (Instruction
Count) = ? - CORRECT ANSWER - Execution Time of the Program
What design effort can improve the performance of a computer? - CORRECT ANSWER -
Decrease the CPI
Which of the follow best matches this definition: The duration of one clock cycle in seconds. -
CORRECT ANSWER - Clock Period
What formula do we use to define the performance of a computer? - CORRECT
ANSWER - Speed = 1 / Execution Time
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? - CORRECT
ANSWER - Decrease
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? - CORRECT ANSWER - Increase
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? - CORRECT ANSWER - Decrease
Which of the following do NOT contribute to propagation delay (select all that apply) ?
Clock Rate
Transistor Size
Wire length