GATE Computer ScienceVery hardGATE CS (PYQ pattern)
Three enhancements with speed-ups 30, 20 and 15 apply to disjoint parts of a program's original run time. The first two each apply to 25% of the time and will both be used. What percentage of the original time must the third apply to for an overall speed-up of 10?
- A. 45.1%
- B. 42.1%
- C. 42.9%
- D. 96.4%
Correct answer: A. 45.1%
1/10 = (1 − 0.25 − 0.25 − f) + 0.25/30 + 0.25/20 + f/15 → 0.1 = 0.5208 − f(1 − 1/15) → f = 0.4509. Dropping the f/15 term gives 42.1%; dropping the two enhanced parts' remaining time gives 42.9%.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A processor compares A = 0xF0 with B = 0x10 using an 8-bit subtraction A − B and sets flags like a normal ALU. Which statement describes…
- Which statements about 8-bit number representations are correct? I. In one's complement, 0xFE + 0x02 with end-around carry gives 0x01. II…
- A 64 KB, 4-way set-associative write-back cache uses 64-byte blocks and 40-bit physical addresses. Each line also stores one valid bit…
- A disk has 4 platters. Both surfaces of every platter hold data except the top surface of the top platter and the bottom surface of the…
- A control store holds 1024 microinstructions. In horizontal form each word has one bit for each of 60 control signals, a 10-bit…
- A 5-stage pipeline has forwarding from EX/MEM and MEM/WB to the ALU inputs and also from MEM/WB to the data input of a store in MEM. The…