155k views
5 votes
If the machine executes 5000 instructions every microsecond (millionth of a second), how many instructions does the machine execute during the time between the typing of two consecutive characters?

1 Answer

6 votes

Answer:

5*10^9 instructions

Step-by-step explanation:

Let's apply logic to solve this particular problem.

If 5000 instructions get executed in a millionth of a second, then this means that

5000 instructions gets executed every 1*10^-6 second

5000*10^6 instructions get executed every second, or say

5*10^9 instructions get executed after every second.

Going forward, it isn't stated how long it takes to type two consecutive characters, so will assume it's just 1 second(since it's consecutively).

So, succinctly put, if it takes 1 second to type the two characters consecutively, then the machine executed 5*10^9 instructions. And if it takes 2 seconds to type the two characters, then the machine would have executed 10*10^9 instructions

User Mohammad Mazraeh
by
6.2k points