The Gateway to Computer Science Excellence

+1 vote

Suppose that a computer program takes $100$ seconds of execution time on a computer with multiplication operation responsible for $80$ seconds of this time. How much do you have to improve the speed of the multiplication operation if you are asked to execute this program four times faster?

- $14$ times faster
- $15$ times faster
- $16$ times faster
- $17$ times faster

+1 vote

We know, Speed always inversely proportional to time $S\rightarrow \frac{1}{t}$

Here it is given $100sec.$ execution time.

Among which $80 sec$ for Multiplication operation and $20sec.$ for other operation

So, to improve the execution time, we must need to improve Multiplication time.

Other operation time will not change, because these are constant time taken by some hardware operation .

Now , to make it $4$ time faster, time will decrease when speed increase.

So, time will be $\frac{1}{4}$ th of original time, i.e. $25 sec.$

Therefore, time for Multiplication operation $=\left ( 25-20 \right )=5sec$

So, multiplication speed increased $=\frac{80}{5}=16$ times

Hence ans $3)$

Here it is given $100sec.$ execution time.

Among which $80 sec$ for Multiplication operation and $20sec.$ for other operation

So, to improve the execution time, we must need to improve Multiplication time.

Other operation time will not change, because these are constant time taken by some hardware operation .

Now , to make it $4$ time faster, time will decrease when speed increase.

So, time will be $\frac{1}{4}$ th of original time, i.e. $25 sec.$

Therefore, time for Multiplication operation $=\left ( 25-20 \right )=5sec$

So, multiplication speed increased $=\frac{80}{5}=16$ times

Hence ans $3)$

- All categories
- General Aptitude 1.9k
- Engineering Mathematics 7.5k
- Digital Logic 2.9k
- Programming and DS 4.9k
- Algorithms 4.3k
- Theory of Computation 6.2k
- Compiler Design 2.1k
- Databases 4.1k
- CO and Architecture 3.4k
- Computer Networks 4.1k
- Non GATE 1.5k
- Others 1.5k
- Admissions 595
- Exam Queries 576
- Tier 1 Placement Questions 23
- Job Queries 72
- Projects 17

50,647 questions

56,461 answers

195,358 comments

100,242 users