What is the CPU time for a given program if there are 250 in

What is the CPU time for a given program if there are 250 instructions in the program, the Average Number of clock cycles per instruction is 3, and the clock cycle Time is 4.5 ns? True/False: Interrupts can only be caused by software (also called traps). Describe the Interrupt Process. Explain what is meant by \"Endianness\" and the difference between a \"Big Endian\" machine and a \"Little Endian\" machine. Bonus: Where does the name \"Endianness\" come from?

Solution

26) given no.of instructions = 250

clock cycle time =4.5ns

no.of cycles per instruction =3

Hence CPU Time =Time to execute*CPI*No.of instructions

=( 4.5*10^-9)*3*250

=3.35*10^-6 seconds.

   27) Answer: false

interrupt are generally used in multitasking manipulation.every interrupt posses interrupt handler itself.

28) interrupt process: it is a signal for processor released by hardware or software specifying the needs which requires instant scrutiny.interupt aprises the processor to inflated_priority constraint needing the interuption of present code .processor reacts by hanging its present manipulations, saving its position and accomplishing a function called the interrupt handler to indenture through the event which is temoporary (short lived).

Generally the computer is able to manipulte the single instruction at particular instant of duration.due to interruption it is able to grasp chances where a set of instructions are manipulated .it is known as mutitasking.

29)Endianness: it mentions the sequential order utilized to numerically elucidate the extent of bytes in computer. it tells the order of byte transmission across a digital link.The words are constituted in Big Endian and Little Endian.

Differences between Big Endian machinbe and Little Endian machine.

1.intel processor formats are utilized by little Endian

2. Big_Indian is used for few Manipulations such as contrasting with bignums of similar octet length springs to intellect where as Little Endian is used for addition operation.

3.Both are much useful in digital electronics.

Note:The name comes from jonathon swift satirical novel gulliver\'s travels.

 What is the CPU time for a given program if there are 250 instructions in the program, the Average Number of clock cycles per instruction is 3, and the clock c

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site