ACTUAL Exam Questions and CORRECT
Answers
The _____ translates assembly language into machine code. - CORRECT ANSWER -
Assembler
Which of the following best matches the definition for Syntax analysis? - CORRECT
ANSWER - Performs syntax rules checking and constructs a symbol table and abstract
syntax tree.
Select which of the following are NOT part of the compilation process. - CORRECT
ANSWER - Debugging, Testing, and Program Execution
Which of the follow best matches the function of the Middle Stage in the compilation process? -
CORRECT ANSWER - Performs program analysis and optimization.
In the compilation process, the ______ performs program analysis and optimization. -
CORRECT ANSWER - Middle Stage
The ______ of the CPU operates on one or more numerical values to perform calculations and
operations on data. - CORRECT ANSWER - ALU
A computer consists of five major modules. What module does ALU belong to? - CORRECT
ANSWER - Data Path
The ______ of the CPU coordinates the flow of information around the processor. - CORRECT
ANSWER - Control Unit
The ______ of the CPU stores a large number of pieces of information, including program data
and instructions. - CORRECT ANSWER - Memory
,Which of the following best matches the definition of the Registers? - CORRECT
ANSWER - Stores a small number of pieces of info, commonly the temporary results of
calculations.
In comparing two computers, we execute a benchmark on each and measure the resulting
execution times:
Computer A: 586
Computer B: 497
How many times faster is Computer A than Computer B? - CORRECT ANSWER - .8
(with a margin of +/- 0.1)
Which of the follow best matches this definition: The total number of instructions in a given
program.
Average Cycles Per Instruction
Execution Time
Instruction Count
Clock Rate
Clock Period - CORRECT ANSWER - Instruction Count
A benchmark is a set of programs that:
Represent the worst case performance.
Form a typical workload.
Represent the best case performance.
Are defined by computer manufacturers. - CORRECT ANSWER - Form a typical
workload.
, What design effort can improve the performance of a computer?
Decrease the clock cycles used by the program.
Increase the CPI
Increase the clock period
Decrease the clock rate - CORRECT ANSWER - Decrease the clock cycles used by the
program.
For a given program, Clock period x CPI (average clock Cycles Per Instruction) * IC (Instruction
Count) = ?
Instruction Count
Clock Period
Average Execution time of One Instruction
Execution Time of the program - CORRECT ANSWER -
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?
Increase
State the Same
Decrease - CORRECT ANSWER - Increase
Which of the following do NOT contribute to propagation delay (select all that apply) ?
Wire length
Transistor Size
Logic Depth