Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

True or False and why? The execution time for a program P on computer system X i

ID: 3789148 • Letter: T

Question

True or False and why?

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

1. True execution time includes the time that the CPU spends execution instructions of the operating system on behalf of particular program. central processing unit is the electronic circuit within a computer that carries out the instructions of a computer program by performing the operations specified by the instructions. Each CPU has its own machine language which means that before a program can be executed on CPU it has to be re written in the interna machine language of cpu.

2. False The clock rates are valid wat to compare the performance ofdifferent speedsof the same model and type of processor, other factors such as pipeline depth and instruction sets can greatly affect the performance when considering different processors. Example: one processor may take twoCLOCK CYCLES to add two numbers and another clock cycle to multiply by a third number wher as another processor may do the same thing in two clock cycles.

4. Flase, Formula for findind CPU execution time is

CPU time= instructon count* Cpii * clock cycle

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote