& 5 Exam Part 1, 2 & 3 All In One, 250 Total
Multiple Choice (50 Per Set) Questions And Answers
( Verified Answers), 100% Guaranteed Pass
||Complete A+ Guide
Question 1
What is the speedup if a program runs in 10 seconds on
Computer A and 6 seconds on Computer B?
A) 0.6
B) 1.67
C) 4
D) 16
Answer: B) 1.67
Rationale: Speedup = Old Time / New Time = =
1.67
1
,Question 2
A CPU has a clock cycle time of 0.5 ns. What is its clock
rate?
A) 500 MHz
B) 1 GHz
C) 2 GHz
D) 5 GHz
Answer: C) 2 GHz
Rationale: Clock rate = 1 / cycle time = 1 / (0.5 ×
10⁻ ⁹ ) = 2 × 10⁹ Hz = 2 GHz
Question 3
A program has 5 billion instructions, CPI of 1.2, and clock
rate of 3 GHz. What is the execution time?
A) 1.2 seconds
B) 1.8 seconds
C) 2.0 seconds
D) 2.5 seconds
2
,Answer: C) 2.0 seconds
Rationale: Time = (Instruction count × CPI) / Clock rate =
(5×10⁹ × 1.2) / (3×10⁹ ) = 6×10⁹ / 3×10⁹ = 2.0
sec
Question 4
Amdahl's Law is primarily used to compute:
A) Average CPI
B) Maximum possible speedup with parallelization
C) Cache hit rate
D) Pipeline depth
Answer: B) Maximum possible speedup with
parallelization
Rationale: Amdahl's Law = 1 / ((1− P) + P/S) where P is
parallel fraction, accounting for serial bottlenecks
Question 5
The MIPS instruction add $t0, $t1, $t2 belongs to which
3
, format?
A) R-type
B) I-type
C) J-type
D) S-type
Answer: A) R-type
Rationale: R-type uses three registers (two sources, one
destination) and opcode 0 with funct field
Question 6
In an R-type MIPS instruction, which field specifies the
operation (add, sub, and, etc.)?
A) opcode
B) rs
C) funct
D) shamt
4