100% Verified Solutions
The _____ translates assembly language into machine code. ANS Assembler
Which of the following best matches the definition for Syntax analysis? ANS 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. ANS Debugging, Testing, and
Program Execution
Which of the follow best matches the function of the Middle Stage in the compilation process? ANS
Performs program analysis and optimization.
In the compilation process, the ______ performs program analysis and optimization. ANS Middle Stage
The ______ of the CPU operates on one or more numerical values to perform calculations and operations on
data. ANS ALU
A computer consists of five major modules. What module does ALU belong to? ANS Data Path
The ______ of the CPU coordinates the flow of information around the processor. ANS Control Unit
The ______ of the CPU stores a large number of pieces of information, including program data and
instructions. ANS Memory
Which of the following best matches the definition of the Registers? ANS 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? ANS .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 ANS 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. ANS 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 ANS 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 ANS
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 ANS Increase
Which of the following do NOT contribute to propagation delay (select all that apply) ?
Wire length
Transistor Size
Logic Depth
Clock Rate ANS Clock Rate
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?
Stay the Same
Decrease
Increase ANS Decrease
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?
Decrease
Increase
State the Same ANS Decrease
Select the items below that a designer can modify to effect propagation delay (select all that apply).