Skip to content
GK24
Computer AwarenessMedium

Cache memory is placed between which two units of a computer?

  1. A.The CPU and the main memory
  2. B.The main memory and the hard disk
  3. C.The keyboard and the CPU
  4. D.The CPU and the printer

Correct answer

A. The CPU and the main memory

Explanation

The correct answer is A, the CPU and the main memory. Cache is a small block of static RAM that keeps the instructions and data most recently used by the processor. Because it answers in a fraction of the time DRAM takes, it hides the gap between a fast processor and slower main memory; a request satisfied from it is a cache hit and one that is not is a cache miss.

Option B describes a disk buffer or disk cache, a different arrangement and not what the term cache memory means in this chapter. Option C is wrong because input from a keyboard is handled by a controller and a small buffer, not by the CPU cache. Option D is wrong for the same reason on the output side, where a printer has its own buffer and the operating system uses spooling. Remember the levels as well: L1 lies inside each core, L2 next, and a larger L3 is shared between cores.

Read the full article: Memory and Storage: RAM, ROM, Cache and Units

View all
Q1.Computer AwarenessEasy

Which of the following is the fastest memory in a computer system?

  1. A.Cache memory
  2. B.Register
  3. C.Main memory
  4. D.Hard disk
Show answer

Correct answer: B. Register

Explanation

The correct answer is B, register. A register is built into the CPU itself and holds the word the arithmetic and logic unit is operating on at that instant, so it is read and written in a single clock cycle. Nothing in the machine is closer to the processor, and nothing is faster.

Option A, cache memory, is the second fastest and is the right answer only when registers are missing from the options; it sits between the CPU and main memory and is built from static RAM. Option C, main memory, is the DRAM the processor addresses directly, which is fast but an order slower than cache because every cell has to be refreshed. Option D, the hard disk, is secondary storage with moving platters and heads, so its access time is measured in milliseconds against nanoseconds for the levels above it. The order to memorise is register, cache, main memory, secondary storage, magnetic tape.

Q2.Computer AwarenessEasy

How many bits make one nibble?

  1. A.2 bits
  2. B.4 bits
  3. C.8 bits
  4. D.16 bits
Show answer

Correct answer: B. 4 bits

Explanation

The correct answer is B, 4 bits. A nibble is half a byte, that is four binary digits, and it matters because one nibble is written as exactly one hexadecimal digit, from 0 to F. That is why memory addresses in hexadecimal are read four bits at a time.

Option A, 2 bits, has no standard name in this ladder and is simply a distractor. Option C, 8 bits, is one byte, the space needed to store a single character in the ASCII scheme, and it is the most common wrong choice because candidates confuse the byte with the nibble. Option D, 16 bits, is two bytes, often called a half word on a 32-bit machine. Fix the small ladder in memory: 1 bit, 1 nibble of 4 bits, 1 byte of 8 bits, and then every higher unit multiplying by 1,024.

Q3.Computer AwarenessMedium

Which type of memory has to be refreshed thousands of times per second to retain its contents?

  1. A.SRAM
  2. B.DRAM
  3. C.ROM
  4. D.Flash memory
Show answer

Correct answer: B. DRAM

Explanation

The correct answer is B, DRAM. Dynamic RAM stores each bit as a charge on a very small capacitor, and that charge leaks away in a few milliseconds, so the memory controller has to read and rewrite every cell continuously. The word dynamic in the name refers to exactly this refresh cycle.

Option A, SRAM, stores a bit in a flip-flop of transistors that holds its state as long as power is supplied, so it needs no refreshing at all; that is what makes it fast enough for cache and too costly for main memory. Option C, ROM, is non-volatile and keeps its contents even without power, so refreshing does not apply. Option D, flash memory, is also non-volatile: it traps charge in a floating gate that holds for years, which is why pen drives and SSDs survive being unplugged. Only dynamic RAM is refreshed.

Q4.Computer AwarenessMedium

The contents of an EPROM chip are erased by exposing it to

  1. A.An electrical signal
  2. B.Ultraviolet light
  3. C.A magnetic field
  4. D.Infrared radiation
Show answer

Correct answer: B. Ultraviolet light

Explanation

The correct answer is B, ultraviolet light. An Erasable Programmable Read Only Memory chip carries a small quartz window over the silicon; ultraviolet light shone through that window releases the trapped charge from every cell at once and returns the chip to its blank state, after which it can be programmed again.

Option A, an electrical signal, erases EEPROM, the electrically erasable version, and this is the single most common confusion in the chapter: EPROM needs light, EEPROM needs a voltage, and EEPROM can be erased one byte at a time without removing the chip. Option C, a magnetic field, erases magnetic media such as tape or a floppy disk, not a semiconductor ROM. Option D, infrared radiation, does not carry the energy needed to free the trapped electrons and is only a distractor. Remember also that MROM is written by the maker and PROM can be written once.

Q5.Computer AwarenessEasy

One terabyte is equal to how many gigabytes?

  1. A.100 GB
  2. B.512 GB
  3. C.1,024 GB
  4. D.2,048 GB
Show answer

Correct answer: C. 1,024 GB

Explanation

The correct answer is C, 1,024 GB. Every step in the ladder of storage units multiplies by 1,024, because 1,024 is 2 raised to the power 10 and memory is addressed in binary. So 1,024 bytes make a kilobyte, 1,024 kilobytes a megabyte, 1,024 megabytes a gigabyte and 1,024 gigabytes a terabyte.

Option A, 100 GB, would be right only if the units advanced in powers of ten, which is how disk makers advertise capacity but not how examiners count it. Option B, 512 GB, is a common drive size and a power of two, but it is half a binary terabyte, not a whole one. Option D, 2,048 GB, is two terabytes. Learn the chain beyond the terabyte as well, because it is asked: petabyte, exabyte, zettabyte and yottabyte, each again 1,024 times the one before it.