For each of the following exercises, write T or True if the statement is true; w
ID: 3787104 • Letter: F
Question
For each of the following exercises, write T or True if the statement is true; write F or False if the the statement is false. The execution time for a program P on computer system X includes the time the CPU spends executing instructions of the operating system on behalf of P. A microprocessor system with a system clock frequency of 3 GHz will always execute programs more quickly than a different microprocessor system running at only 2.5 GHz. More code is written in high-level programming languages than assembly language because an assembly language program is so closely tied to the underlying architecture of the machine that it is not possible to run an assembly language program written for processor X on a processor Y, with a different architecture. If we know the average CPI for a program and the system clock frequency, then we can calculate the user CPU time.Explanation / Answer
The execution time for a program P on computer system X include the time the CPU spends executing instruction of the operating system on behalf of P.
True- execution time is the time spend by the processor to execute the program
A micro processor system with a system clock frequency of 3 GHz will always execute programs more quickly than a different microprocessot system running at only 2.5GHz
True- 3 Ghz representing 3 thousand million cycles per second and 2.5GHz representing 2.5 thousand million cycles per second. The higher the CPU speed, the better a computer will perform
More code is written in high-level programming language than assembly language because an assembly language program is so closely tied to the underlying architecture of the machine that it is not possible to run an assembly language program written for processor X on a processor Y with a different architecture
True- the architecture is different for different processor
if we know the average CPI for a program and the system clock frequency then we can calculate the user CPU time
false- CPU Time = I * CPI * T
I = number of instructions in program
CPI = average cycles per instruction
T = clock cycle time
we need the number of instructions for the program executed
Note: Feel free to ask question if any doubt. God bless you!
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.