USN j1
M S RAMAIAH INSTITUTE OF TECHNOLOGY (AUTONOMOUS INSTITUTE, AFFILIATED TO VTU) BANGALORE - 560 054
a)
b)
Compare i) Hard and Soft Real Time Systems ii) RAM and EPROM features iii) Harvard and Princeton Architectures Explain the following terms with an example.
i) Single purpose processor ii) Deterministic system
(12)
(08)
DMA
after the last count FFFFH, what is the delay generated? The ADC has 8 bits for the digital output and operates in the range - 5V to +5V. Determine the digital output when analog input is -3V. What is the analog input for generating an output of 40H and also its resolution? 3. a) Explain the differences between hardware and software interrupts (12) with examples. What are the actions taken by the processor when an interrupt occurs? How the shared data problem can be solved using interrupt instructions? Illustrate with an example.
Page 1 of 2
MDLC21
b) Explain the terms interrupt latency and context switching. There are (08) 3 processes with low, medium and high priorities. The execution time
of these processes are 250sec, 180sec and 100sec respectively. The deadline of the low priority process is 700sec and the minimum interrupt latency for starting any ISR is 150sec. Is it possible to complete the execution for the low priority process well within the deadline, if all the three processes interrupt the system together. Context switching time is negligible. What is the worst case latency for the low priority process? 4. a) Describe i) Function queue scheduling and (12) ii) RTOS architectures, with algorithms. b) Explain the algorithm for a simple bridge using RR with interrupts (08) architecture. 5. a) Explain i) Polled loop system (12)
b)
(08)
(12)
Describe automatic chocolate vending machine design with a block diagram. ***************
Page 2 of 2
(08)