SSC CGL · Computer Knowledge

Memory and Storage

40 practice questions with full step-by-step solutions, quick revision notes, plus a concept-first explainer — free, no sign-up.

Reviewed by (19 years teaching)Written with AI helpReport a mistake

What you'll learn

An exam-ready guide to computer memory for SSC CGL, CHSL and bank exams, covering RAM and ROM types, cache, registers, virtual memory, secondary storage, the memory hierarchy and file system basics, with worked calculations.

Read Memory and Storage: RAM, ROM, Cache and Disks for SSC

This chapter has

12
easy
21
medium
7
hard

Memory and Storage — quick revision notes

This chapter covers primary memory (RAM and its types SRAM and DRAM, ROM and its types PROM, EPROM and EEPROM), cache and its levels, CPU registers, virtual memory, secondary storage (magnetic, optical and flash), the memory hierarchy, and the basics of disks and file systems such as tracks, sectors, clusters, FAT32 and NTFS. SSC and bank exams ask full forms, comparisons and capacities, plus a few short calculations.
  • RAM is volatile (loses data without power); ROM, hard disks, SSDs, pen drives and CDs are non-volatile.
  • DRAM uses a capacitor per bit and must be refreshed; SRAM uses flip-flops, needs no refresh, is faster and costlier, and is used for cache.
  • ROM types: Mask ROM (written by maker), PROM (user writes once), EPROM (erased by UV light), EEPROM (erased electrically). Flash memory is a type of EEPROM.
  • The BIOS is firmware stored in ROM (flash in modern PCs).
  • Memory hierarchy, fastest to slowest: registers → cache (L1 → L2 → L3) → RAM → secondary storage. Cost per bit falls and capacity rises as you go down.
  • Registers: Program Counter = address of next instruction, Instruction Register = current instruction, Accumulator = ALU results, MAR = memory address, MDR = data to or from memory.
  • Virtual memory uses part of the hard disk as an extension of RAM.
  • Magnetic: hard disk, magnetic tape (sequential access), floppy. Optical: CD, DVD, Blu-ray. Flash: pen drive, memory card, SSD.
  • Capacities: floppy 1.44 MB, CD 700 MB, DVD 4.7 GB (single layer), Blu-ray 25 GB (single layer).
  • n address lines address 2ⁿ locations: 16 lines = 64 KB, 20 lines = 1 MB.
  • Hit ratio = hits ÷ total accesses; hit ratio + miss ratio = 1. 680 hits in 800 accesses gives 0.85.
  • A disk surface has tracks (concentric circles) divided into sectors. Files use whole clusters, so a 10 KB file with 4 KB clusters takes 12 KB. FAT32 limits a single file to 4 GB; Windows uses NTFS.

Common mistakes to avoid

  • Calling cache the fastest memory: registers are faster.
  • Mixing up EPROM (UV light) and EEPROM (electrical), and PROM (write once) with them.
  • Thinking SRAM needs refreshing; it is DRAM that needs refreshing.
  • Giving the miss ratio when the hit ratio is asked.
  • Rounding clusters down instead of up, or adding up file sizes before rounding.
  • Thinking FAT32 limits the whole drive to 4 GB; the limit is on a single file.
  • Calling an SSD magnetic or optical; it uses flash memory and has no moving parts.
Exam tip: Make one table for the ROM family (who writes it, how it is erased) and one for storage capacities, and revise them together. For calculations, convert everything to powers of 2 or to the same unit first, and round clusters up for each file separately.

Memory and Storage — solved practice questions

10 SSC CGL Computer Knowledge questions with step-by-step solutions. Attempt each, then reveal the answer.

These worked examples are not in the timed test, so you can study them first.

  1. Q1easyReport

    Which type of memory loses its contents when the power is switched off?

    • APen drive
    • BRAM
    • CHard disk
    • DROM
    Show answer & solution

    Correct answer: (B) RAM

    RAM is volatile memory: it needs power to hold data, so everything in it is lost when the computer is switched off. That is why unsaved work disappears in a power cut. ROM, hard disk and pen drive are non-volatile, so they keep data without power. Answer: RAM.
  2. Q2easyReport

    What is the full form of RAM?

    • ARapid Access Memory
    • BRandom Access Memory
    • CRead Access Memory
    • DRandom Allocation Memory
    Show answer & solution

    Correct answer: (B) Random Access Memory

    RAM = Random Access Memory. 'Random access' means any location can be reached directly in the same time, without going through the earlier locations. The other expansions are made-up look-alikes. Answer: Random Access Memory.
  3. Q3easyReport

    Which of the following is an example of secondary storage?

    • AHard disk
    • BCache memory
    • CRAM
    • DRegister
    Show answer & solution

    Correct answer: (A) Hard disk

    Secondary (auxiliary) storage keeps data permanently and is outside the main memory. Hard disks, SSDs, pen drives, CDs and DVDs are examples. Registers, cache and RAM are primary or CPU-side memory that the processor uses directly. Answer: Hard disk.
  4. Q4easyReport

    The BIOS, the small program that starts the computer when it is switched on, is traditionally stored in:

    • AROM
    • BRAM
    • CCache memory
    • DRegister
    Show answer & solution

    Correct answer: (A) ROM

    The BIOS must survive when the power is off, so it is stored in non-volatile ROM (in modern computers, a rewritable flash type of ROM). Software stored this way is called firmware. RAM, cache and registers are volatile and lose their contents without power. Answer: ROM.
  5. Q5easyReport

    Which is the fastest memory in a computer?

    • ARegisters
    • BRAM
    • CCache memory
    • DHard disk
    Show answer & solution

    Correct answer: (A) Registers

    Registers sit inside the CPU itself and work at the CPU's own speed, so they are the fastest (and smallest) memory. Speed order: registers > cache > RAM > hard disk. Cache is a common trap; it is very fast but still slower than registers. Answer: Registers.
  6. Q6mediumReport

    Which type of RAM must be refreshed thousands of times every second to keep its data?

    • APROM
    • BEPROM
    • CSRAM
    • DDRAM
    Show answer & solution

    Correct answer: (D) DRAM

    DRAM (Dynamic RAM) stores each bit as a charge in a tiny capacitor. The charge leaks away, so it must be refreshed again and again. SRAM (Static RAM) uses flip-flops and does not need refreshing while power is on. PROM and EPROM are types of ROM, not RAM. Answer: DRAM.
  7. Q7mediumReport

    Cache memory is usually built from which type of memory?

    • ADRAM
    • BMagnetic disk
    • CEEPROM
    • DSRAM
    Show answer & solution

    Correct answer: (D) SRAM

    Cache must be extremely fast, so it is built from SRAM (Static RAM), which is faster than DRAM because it needs no refreshing. SRAM is costlier and takes more space per bit, which is why cache is small and the main memory (RAM) uses cheaper DRAM. Answer: SRAM.
  8. Q8mediumReport

    How is the data in an EPROM chip erased?

    • ABy an electrical signal
    • BBy a strong magnetic field
    • CIt can never be erased
    • DBy exposing it to ultraviolet (UV) light
    Show answer & solution

    Correct answer: (D) By exposing it to ultraviolet (UV) light

    EPROM = Erasable Programmable ROM. It has a small quartz window, and shining ultraviolet light through it erases the chip so it can be programmed again. Erasing by electrical signals is the feature of EEPROM (Electrically Erasable PROM). 'Can never be erased' describes PROM, which can be written only once. Answer: By exposing it to ultraviolet (UV) light.
  9. Q9mediumReport

    Which of the following shows the memory hierarchy in the correct order from fastest to slowest?

    • ACache → Registers → RAM → Hard disk
    • BRAM → Cache → Registers → Hard disk
    • CRegisters → RAM → Cache → Hard disk
    • DRegisters → Cache → RAM → Hard disk
    Show answer & solution

    Correct answer: (D) Registers → Cache → RAM → Hard disk

    In the memory hierarchy, as you go down: Registers (inside CPU) → Cache → Main memory (RAM) → Secondary storage (hard disk). Speed and cost per bit fall, while capacity rises. Answer: Registers → Cache → RAM → Hard disk.
  10. Q10mediumReport

    Which of the following is a magnetic storage device?

    • ABlu-ray disc
    • BSolid state drive (SSD)
    • CCD-ROM
    • DHard disk drive (HDD)
    Show answer & solution

    Correct answer: (D) Hard disk drive (HDD)

    An HDD stores data as magnetised spots on spinning metal platters, so it is magnetic storage. Magnetic tape and floppy disks are also magnetic. CD-ROM and Blu-ray are optical (read with a laser) and an SSD uses flash memory chips with no moving parts. Answer: Hard disk drive (HDD).

Ready to test yourself? Take the 30-question Memory and Storage test →