Home /
Expert Answers /
Computer Science /
a-what-is-the-difference-between-a-variable-and-a-constant-b-a-computer-program-has-three-type-pa343
(Solved): (a) What is the difference between a variable and a constant? (b) A computer program has three type ...
(a) What is the difference between a variable and a constant? (b) A computer program has three types of instructions. \( 20 \% \) instructions of the program are load instructions, \( 30 \% \) instructions of the program are arithmetic operations, and the rest of the instructions floating point instructions. Each load instruction takes 5 clock cycles to execute. Each arithmetic operation takes 12 clock cycle to execute. And Each floating point instructions takes 15 clock cycle to execute. What is the Clock per instructions (CPI)? The Processor is \( 1.3 \mathrm{GHz} \). The program contains total 10 billion instructions. How long does it take to complete the program?