Answer:
#include <iostream>
#include <cstdlib>
using namespace std;
int main(){
int sum=0, num=5; //variables declaration and inicialization
while (sum<500){ //conditioning to do the sum up to 500
sum=sum+num; //actually sum process
cout << "The value is: "<<sum; //show the result in screen
};
return 0;
}
Answer:
1000/125 billion instructions per second.
Explanation:
All the stages take 125ps and latch time was outlooked.
The clock speed would be the highest stage time in all 5 stages. Here all are same clock speed it would be 125ps only.
throughput = 1/cycle time so ⇒ 1/125 instructions/ps
Since we want it in billion instructions per second so we have to multiply with 10⁻⁹ /10⁻¹² then the result is 1000/125 billion instructions per second.