A man spends ½ of his salary on food ,1/15 on rent,1/10 on miscellaneous ,Rest are savings.Write a java program to calculate • money spent on food
•money spent on rent
•money spent on miscellaneous
• money saved
take the salary as input in scanner class
Answers
Explanation:
This design must allow both 8-bit and 16-bit word accesses. Give the array configuration of th
chips showing all required input and output signals for assigning this memory to the lowest ad
space. Explain your mapped memory setup.
[ 6.0 Mark
Q. # 2: A system using interrupt-driven IO that transfers data at an average of 8 KB/s on a
continuous basis is connected to a storage device
a. The interrupt processing time is about 100 ms (which includes the time to jump to the (ISR),
execute it, and return to the main program). Consider if the interrupt is for every byte, what porti
of processor time is used up by this I/O device.
[ 2.0 Marks]
b. Consider that the device has two buffers of 16-byte and it interrupts the microprocessor when
one of the two buffers is full. Logically, interrupt takes longer to process, as 16 bytes must be
transferred by the ISR. The processor