Question: 7. A soft timer facility is used to maintain the timers in Table 1. Timer | A | B | C | D |E|F Expiry


7. A soft timer facility is used to maintain the timers in Table 1. Timer | A | B | C | D |E|F Expiry time (ms) 168 273 84 357 63 42 Table 1: Soft timers. The facility consists of an interrupt service routine (ISR) part and a worker task part. Assuming one tick in the real time clock corresponds to 7ms, what would you expect the semaphore of the ISR part to be initialised at? [5 marks] A. 0. B. 7. C. 3. D. 21. E. None of the above. 8. If the timers in Table 1 are implemented using a sorted timer list, what will the contents of the list be after 7 ticks of the clock? [5 marks A. 3, 5, 4. B. 8, 13, 4, 17, 3, 2. C. 1, 5, 4. D. 2, 1, 1, 4, 5, 4. E. None of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
