What is the CPU time for a given program if there are 250 in
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.
