Computer Memory MCQs — Computer Science
4 practice MCQs
The correct answer is marked on every question, with its full explanation.
Computer ScienceComputer Memory CSS PPSC FPSC NTSID: NWG-004
What is the main purpose of a computer's hard disk drive (HDD)?
- ATo store data and programs permanently, even when the computer is switched off. ✓ Correct answer
- BTo display images on the monitor.
- CTo connect the computer to the Internet.
- DTo cool the processor while it works.
✓ Correct answer: To store data and programs permanently, even when the computer is switched off.
Full explanation
A hard disk drive is used 'To store data and programs permanently, even when the computer is switched off.' Why the others are wrong: 'To display images on the monitor.' — that is the job of the monitor and graphics card. 'To connect the computer to the Internet.' — that is the job of a network card or modem. 'To cool the processor while it works.' — that is the job of a fan or heat sink.
Computer ScienceComputer Memory CSS PPSC FPSC NTSID: CMP-010
Which type of computer memory is temporary and loses its data when the computer is switched off?
- ARAM (Random Access Memory) ✓ Correct answer
- BROM (Read Only Memory)
- CHard disk drive
- DPen drive
✓ Correct answer: RAM (Random Access Memory)
Full explanation
RAM (Random Access Memory). It is temporary memory: it holds data only while the computer is on, and loses it when the computer is switched off. Why the others are wrong: ROM (Read Only Memory) — it keeps its data permanently and cannot be changed easily. Hard disk drive — it stores data permanently even when the computer is off. Pen drive — it is a portable storage device that keeps data after the computer is off.
Computer ScienceComputer Memory CSS PPSC FPSC NTSID: CMP-031
Which memory sits between the CPU and the main memory and stores the data the CPU uses most often?
- ACache memory ✓ Correct answer
- BHard disk drive
- CCD-ROM
- DFloppy disk
✓ Correct answer: Cache memory
Full explanation
Cache memory sits between the CPU and the main memory and stores the data the CPU uses most often, so the CPU can work faster. The memory described here is Cache memory. Why the others are wrong: Hard disk drive — a hard disk drive stores data permanently, but it is much slower and does not sit between the CPU and the main memory. CD-ROM — a CD-ROM is used to read data from a disc, not to speed up the CPU. Floppy disk — a floppy disk is an old storage device and does not sit between the CPU and the main memory.
Computer ScienceComputer Memory CSS PPSC FPSC NTSID: CMP-054
Which of the following is an example of secondary storage?
- AHard disk drive ✓ Correct answer
- BCache memory
- CRAM
- DCPU registers
✓ Correct answer: Hard disk drive
Full explanation
The best example of secondary storage is a hard disk drive. It keeps data even when the computer is switched off. Why the others are wrong: RAM — RAM is primary memory and loses its data when the computer is switched off. Cache memory — cache memory is fast primary memory inside the CPU area, not secondary storage. CPU registers — CPU registers are tiny and very fast primary storage inside the CPU, not secondary storage.
Practise these MCQs interactively →
← Computer Science MCQs