Question 1
Question
37. On all instruction cycles, the processor accesses memory at least once, to:
.
Question 2
Question
38. When a processor attempts to read a byte or word of memory, it firstly checks
the:
Answer
-
● Main memory
-
● Cache
-
● Secondary memory
-
● Register
Question 3
Question
39. Block size is:
Answer
-
● (How much data should be transferred from main memory to cache)
-
● Larger block size yields more hits until probability of using newly fetched
data becomes less than the probability of reusing data that have to be
moved out of cache
-
● The unit of data exchanged between cache and main memory
Question 4
Question
40. This determines which cache location the block will occupy:
Answer
-
● replacement algorithm
-
● locality of reference
-
● Mapping function
Question 5
Question
41. This chooses which block to replace when a new block is to be loaded into the
cache and the cache already had all slots filled with other blocks:
Answer
-
● locality of reference
-
● Back to nowcache size
-
● write policy
-
● replacement algorithm
Question 6
Question
42. If the contents of a block in the cache are altered, then it is needed to save it
back to main memory before replacing it. This is called:
Answer
-
● replacement algorithm
-
● locality of reference
-
● mapping function
-
● write policy
Question 7
Question
43. Which of the following is not a technique possible for I/O operations?
Question 8
Question
44. The processor issues an I/O command to a module and waits, periodically
checking the status of the I/O module until it finds that the operation is
complete.
Question 9
Question
45. The I/O module performs the requested action and then sets the appropriate
bits in the I/O status register but takes no further action to alert the processor.
Question 10
Question
47. The main disadvantage of this technique: it is a time-consuming process that
keeps the processor busy needlessly.
Question 11
Question
48. The processor issues an I/O command to a module and then go on to some
other useful work.
Question 12
Question
49. The I/O module performs the requested action and alerts the processor to
request service when it is ready to exchange data with the processor.
Question 13
Question
51. The main disadvantage of this technique: consumes a lot of processor time,
because every word of data that goes from memory to I/O module or from I/O
module to memory must pass through the processor.
Question 14
Question
52. The processor issues an I/O command to a separate module, by sending the
type of operation (четыре вопроса в одном)read/write), the address of the I/O device, the starting
location in memory for data, number of words. Then the processor continues
with other work.
Question 15
Question
53. The module transfers the entire block of data to/from memory without going
through the processor.
Question 16
Question
55. The main disadvantage of this technique: there is a competition for bus usage.