GATE Computer ScienceModerateGATE CSE · NIELIT
80% of a program's execution time benefits from an enhancement that makes that portion 8 times faster; the rest is unchanged. The overall speedup is
- A. 10/3
- B. 8
- C. 4
- D. 5
Correct answer: A. 10/3
Speedup = 1 / (0.2 + 0.8/8) = 1/0.3 = 10/3 ≈ 3.33.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A 4-way set-associative cache of 32 KB with 64-byte lines serves 32-bit physical addresses. Each line stores its data, a tag, one valid…
- The 32-bit word 0xC2ED0000 is interpreted as an IEEE 754 single-precision number. Its value is
- Booth's algorithm multiplies by the 8-bit two's-complement multiplier 01110110. Counting only the additions and subtractions of the…
- A 5-stage pipeline (IF, ID, EX, MEM, WB) has no forwarding; the register file is written in the first half of a cycle and read in the…
- A two-level cache: L1 hit time 1 ns with 5% miss rate; L2 hit time 10 ns with a LOCAL miss rate of 20%; main memory access 100 ns. The…
- A 5-stage pipeline has ideal CPI 1. 20% of instructions are branches, 60% of which are taken; branches are predicted not-taken and a taken…