hoffa HOFFMAN
Quiz by , created more than 1 year ago

designed by hoffa

289
0
0
hoffa HOFFMAN
Created by hoffa HOFFMAN over 4 years ago
Close

www.OS.com II

Question 1 of 16

1

37. On all instruction cycles, the processor accesses memory at least once, to:
.

Select one of the following:

  • to fetch the instruction, and often one or more additional times, to fetch operands
    and/or store results

  • qwe

Explanation

Question 2 of 16

1

38. When a processor attempts to read a byte or word of memory, it firstly checks
the:

Select one of the following:

  • ● Main memory

  • ● Cache

  • ● Secondary memory

  • ● Register

Explanation

Question 3 of 16

1

39. Block size is:

Select one or more of the following:

  • ● (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

Explanation

Question 4 of 16

1

40. This determines which cache location the block will occupy:

Select one of the following:

  • ● replacement algorithm

  • ● locality of reference

  • ● Mapping function

Explanation

Question 5 of 16

1

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:

Select one of the following:

  • ● locality of reference

  • ● Back to nowcache size

  • ● write policy

  • ● replacement algorithm

Explanation

Question 6 of 16

1

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:

Select one of the following:

  • ● replacement algorithm

  • ● locality of reference

  • ● mapping function

  • ● write policy

Explanation

Question 7 of 16

1

43. Which of the following is not a technique possible for I/O operations?

Select one of the following:

  • ● Programmed I/O

  • ● Interrupt-driven I/O

  • ● Manual memory access

  • ● Direct memory access (DMA)

Explanation

Question 8 of 16

1

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.

Select one of the following:

  • ● Programmed I/O

  • ● Interrupt-driven I/O

  • ● Manual memory access

  • ● Direct memory access (DMA)

Explanation

Question 9 of 16

1

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.

Select one of the following:

  • ● Programmed I/O

  • ● Interrupt-driven I/O

  • ● Manual memory access

  • ● Direct memory access (DMA)

Explanation

Question 10 of 16

1

47. The main disadvantage of this technique: it is a time-consuming process that
keeps the processor busy needlessly.

Select one of the following:

  • ● Programmed I/O

  • ● Interrupt-driven I/O

  • ● Manual memory access

  • ● Direct memory access (DMA)

Explanation

Question 11 of 16

1

48. The processor issues an I/O command to a module and then go on to some
other useful work.

Select one of the following:

  • ● Programmed I/O

  • ● Interrupt-driven I/O

  • ● Manual memory access

  • ● Direct memory access (DMA)

Explanation

Question 12 of 16

1

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.

Select one of the following:

  • ● Interrupt-driven I/O

  • ● Manual memory access

  • ● Direct memory access (DMA)

  • ● Programmed I/O

Explanation

Question 13 of 16

1

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.

Select one of the following:

  • ● Programmed I/O

  • ● Interrupt-driven I/O

  • ● Manual memory access

  • ● Direct memory access (DMA)

Explanation

Question 14 of 16

1

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.

Select one of the following:

  • ● Direct memory access (DMA)

  • ● Manual memory access

  • ● Programmed I/O

  • ● Interrupt-driven I/O

Explanation

Question 15 of 16

1

53. The module transfers the entire block of data to/from memory without going
through the processor.

Select one of the following:

  • ● Direct memory access (DMA)

  • ● Manual memory access

  • ● Programmed I/O

  • ● Interrupt-driven I/O

Explanation

Question 16 of 16

1

55. The main disadvantage of this technique: there is a competition for bus usage.

Select one of the following:

  • ● Direct memory access (DMA)

  • ● Manual memory access

  • ● Programmed I/O

  • ● Interrupt-driven I/O

Explanation