Computer Memory MCQs

20 practice MCQs on this page Page 8 of 9

Tap an option to check your answer — the correct answer and full explanation appear after you choose.

Computer ScienceComputer MemoryID: CMM-017

The main memory of most computers is built from which type of RAM?

  1. ASRAM
  2. BDRAM ✓ Correct answer
  3. CPROM
  4. DEEPROM
Computer ScienceComputer MemoryID: CMM-018

Mask ROM (MROM) is programmed:

  1. AOnce, by the user with a programmer
  2. BDuring manufacture, and it can never be changed ✓ Correct answer
  3. CBy ultraviolet light
  4. DElectrically, one byte at a time
Computer ScienceComputer MemoryID: CMM-019

PROM (Programmable Read-Only Memory) can be programmed:

  1. AMany times, electrically
  2. BOnly once, after manufacture ✓ Correct answer
  3. COnly by ultraviolet light
  4. DNever, it comes ready programmed
Computer ScienceComputer MemoryID: CMM-020

EPROM (Erasable Programmable Read-Only Memory) is erased by:

  1. AElectricity
  2. BExposing the chip to ultraviolet light ✓ Correct answer
  3. CA magnet
  4. DHeating the chip
Computer ScienceComputer MemoryID: CMM-021

How can EEPROM be erased and reprogrammed?

  1. AOnly by ultraviolet light
  2. BOnly by removing the chip
  3. CElectrically, one byte at a time, without removing the chip ✓ Correct answer
  4. DIt cannot be erased at all
Computer ScienceComputer MemoryID: CMM-022

Flash memory differs from EEPROM mainly in that it is erased:

  1. AOne byte at a time
  2. BIn blocks, which makes it faster ✓ Correct answer
  3. CBy ultraviolet light
  4. DOnly during manufacture
Computer ScienceComputer MemoryID: CMM-023

What is firmware?

  1. AAn operating system
  2. BSoftware stored permanently in ROM that controls a piece of hardware ✓ Correct answer
  3. CA program stored on the hard disk
  4. DA type of RAM
Computer ScienceComputer MemoryID: CMM-024

What happens inside a PROM chip when it is programmed?

  1. ATiny fuses are blown to store the data ✓ Correct answer
  2. BThe chip is exposed to ultraviolet light
  3. CThe data is written magnetically
  4. DThe chip is heated until it melts
Computer ScienceComputer MemoryID: CMM-025

Which level of cache memory sits closest to the processor core?

  1. AL3 cache
  2. BL2 cache
  3. CL1 cache ✓ Correct answer
  4. DMain memory
Computer ScienceComputer MemoryID: CMM-026

Which level of cache memory is shared between all the cores of a processor?

  1. AL1 cache
  2. BL2 cache
  3. CL3 cache ✓ Correct answer
  4. DThe registers
Computer ScienceComputer MemoryID: CMM-027

In a direct-mapped cache, each block of main memory can go to:

  1. AAny cache line
  2. BExactly one cache line ✓ Correct answer
  3. CAny line in its set
  4. DThe L3 cache only
Computer ScienceComputer MemoryID: CMM-028

In a fully associative cache, a block of main memory can be placed in:

  1. AExactly one cache line
  2. BAny cache line ✓ Correct answer
  3. COnly the first cache line
  4. DOnly its own set
Computer ScienceComputer MemoryID: CMM-029

In a set-associative cache, a block of main memory can go into:

  1. AExactly one cache line
  2. BAny cache line in the whole cache
  3. CAny line inside its own set ✓ Correct answer
  4. DMain memory only
Computer ScienceComputer MemoryID: CMM-030

In a write-through cache, when the CPU writes data, the write goes to:

  1. AThe cache only
  2. BMain memory only
  3. CBoth the cache and main memory ✓ Correct answer
  4. DThe hard disk
Computer ScienceComputer MemoryID: CMM-031

Cache memory is built from which type of RAM?

  1. ADRAM
  2. BSRAM ✓ Correct answer
  3. CPROM
  4. DEEPROM
Computer ScienceComputer MemoryID: CMM-032

A cache serves 90 hits out of 100 accesses. What is its hit ratio?

  1. A10%
  2. B90% ✓ Correct answer
  3. C9%
  4. D100%
Computer ScienceComputer MemoryID: CMM-033

The fixed-size blocks into which virtual memory is divided are called:

  1. AFrames
  2. BSegments
  3. CPages ✓ Correct answer
  4. DSectors
Computer ScienceComputer MemoryID: CMM-034

When a page fault occurs, what must the operating system do?

  1. ARestart the computer
  2. BLoad the missing page from the disk into RAM ✓ Correct answer
  3. CDelete the program
  4. DClear the cache
Computer ScienceComputer MemoryID: CMM-035

What is the TLB (Translation Lookaside Buffer)?

  1. AA part of the hard disk
  2. BA small, very fast cache of recent page-table translations ✓ Correct answer
  3. CA type of ROM
  4. DA register that holds the next instruction
Computer ScienceComputer MemoryID: CMM-036

Thrashing is caused mainly by:

  1. AToo many page faults, so the system spends most of its time swapping pages ✓ Correct answer
  2. BA virus in the boot sector
  3. CToo much cache memory
  4. DA full hard disk

Practice these MCQs interactively