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

Exercises 16-19: True/False Statements For each of the following exercises, writ

ID: 3786654 • Letter: E

Question

Exercises 16-19: True/False Statements 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 Exercises 16-18 are worth 1 pt each. 16. 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 17. 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. 18. More code is written in high-level programming languages than assembly language because an assembly language pro- gram is so closely tied to the underlying architecture of the machine that it is not possible to run an assembly langu age program written for processor X on a processor Y, with a different architecture. 19. If we know the average CPI for a program and the system clock frequency, then we can calculate the user CPU time.

Explanation / Answer

16.

The given statement is True.

Explanation:

17.

The given statement is True.

Explanation:

18.

The given statement is True.

Explanation:

19.

The given statement is False.

Explanation:

CPU time = I * CPI *T

20.

a.

The execution of P is computed as follows:

Execution time of P = user + system

                               = 25m45.187s

Thus, the execution time of P is 25m45.187s.

b.

The user CPU time of P is 24m41.850s.(Given)

c.

The system CPU time of P is 1m3.337s.(Given)

d.

The time is computed as follows:

Execution time spend neither for instructions nor by OS = real – (user + system)

       = 27m42.399s

Thus, the execution of P did the system spend not executing the instructions of P nor OS instructions on behalf of P is 27m42.399s.

e.

The factor is wall clock time.

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