In: Computer Science
could you answer all of these and leave details. I will upvote thanks!
1- What is CPI?
2- What is the CPU execution time?
3- What do KB, MB, and GB mean? Which power of 2 are they?
4- What’s the difference between bit and byte?
5- What is the CPU execution time for a program made of 20000 instructions and a CPI equal to 2.
Assume the frequency of the processor is 3 GHz.
6- A microprocessor has 20 bits address bus, what is the maximum size of a memory that can be
connected to this processor if the memory cell size is 16 bits. Calculate the size of the memory in
byte.
7- How many bits are needed to address a byte-addressable memory with the size of 128 MB?
Answer 1) The average number of cycles required per instruction in a given process is defined as click per instruction. It is used for a professors performance. It can be defined as the multiplicative inverse of instruction per cycle.
Answer 2) The total time that a CPU executes in order to perform a given task is called the CPU execution time. It is the time time for the start of execution of a program till it's end.
Answer 3) KB means kilobytes which is a unit of memory and is equal to 1028bytes or 210 . MB means megabytes and is a unit of memory which is equal to 1,048,576 bytes or 220 . GB means gigabytes and is a unit of memory which is equal to 230 bytes.
Answer 4) A bit is the smallest unit of measurement in a computer memory. A bit is assembled into a group of 8 to form a byte.
Answer 5)
CPU execution time = I * CPI / R
or 20000* 2/3
or 0.000133
Answer 6) The number of bytes it will support is,
220/ 216
or, 24 bits
or, 4 bytes
Answer 6) Given, the memory address space is 128mb or 227. And the word size is 8 or 23.
Therefore we can say that we need,
227/23
or, 224
or, 24 bits are needed to address each word.
If you liked the solution then give a thumbs up ? it will be really appreciated ?