Skip to content
GK24
Computer AwarenessHard

Which technique allows a computer to run programs larger than its physical RAM by using part of the hard disk as memory?

  1. A.Caching
  2. B.Virtual memory
  3. C.Spooling
  4. D.Defragmentation

Correct answer

B. Virtual memory

Explanation

The correct answer is B, virtual memory. The operating system reserves an area of the hard disk, called the swap space or the page file, and moves pages a program is not actively using out to it. The program sees one large address space, so software bigger than the installed RAM still runs, though every swap costs time because a disk is far slower than memory.

Option A, caching, does the opposite: it keeps recently used data in a faster memory nearer the processor rather than extending memory onto a slower device. Option C, spooling, queues jobs such as documents waiting to be printed on the disk so the CPU need not wait for a slow peripheral. Option D, defragmentation, rearranges the scattered pieces of files on a disk so they lie in contiguous blocks and read faster; it does not add to memory at all.

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.