If a program executes in 10 seconds on a 2 GHz processor, how many cycles are used?
Q1. If a program executes in 10 seconds on a 2 GHz processor, how many cycles are used?
Answer: 20 * 10^9
Explanation: Total cycles = execution time * frequency = 10 * 2 * 10^9 = 20 * 10^9 cycles.