Question 3: Input-Output Organization (25 marks) a. There are several ways in which a CPU may be placed in an idle state
Posted: Fri Jul 01, 2022 5:33 am
Question 3: Input-Output Organization (25 marks) a. There are several ways in which a CPU may be placed in an idle state. One of which is through special control signals; Bus Request and Bus Grant. Discuss the process from when CPU relinquish control of buses until it gains it back from DMA. 6 marks b. Data is gathered in the IOP depending on 2 factors. Sate and briefly discuss these 2 factors. 5 marks c. Highlight the differences between Cache and RAM d. With the use of a diagram describe the DMA transfer 6 marks i. ii. b. Briefly discuss the memory hierarchy in terms of size, access time and speed. 8 marks Question 4: Memory Organization (15 marks) a. Consider the FIFO and LRU algorithm for the following page references = [0,1,3,2,4,3,4,1,0,3,0,1] with a frame size of 4. find the number of page faults for each algorithm. 6 marks Of the two algorithms, which is the preferred algorithm based on the output. 2 marks 7 marks