Memories Memory Devices  50 +Mcqs Questions 


1.       What is the primary function of computer memory?

·         a) To execute programs

·         b) To store data and instructions

·         c) To connect peripherals

·         d) To process data

·         Answer: b

2.       Computer memory is divided into small parts called:

·         a) Sectors

·         b) Bytes

·         c) Cells

·         d) Blocks

·         Answer: c

3.       Each memory cell has a unique:

·         a) Value

·         b) Capacity

·         c) Address

·         d) Speed

·         Answer: c

4.       If a computer has 64k words of memory, how many memory locations does it have?

·         a) 64

·         b) 1024

·         c) 65536

·         d) 64000

·         Answer: c

5.       Which type of memory is used to store the data that is being processed and the instructions required for processing?

·         a) External memory

·         b) Cache memory

·         c) Primary memory

·         d) Secondary memory

·         Answer: c

6.       Internal memory includes:

·         a) Magnetic disk

·         b) Optical disk

·         c) Cache memory

·         d) Floppy disk

·         Answer: c

7.       Which memory type increases in capacity and decreases in cost per bit as we go from top to bottom in the memory hierarchy?

·         a) Internal memory

·         b) Primary memory

·         c) Secondary memory

·         d) Memory hierarchy

·         Answer: d

8.       Access time by the CPU increases as we go from:

·         a) Primary to secondary memory

·         b) Cache to primary memory

·         c) Secondary to primary memory

·         d) All of the above

·         Answer: a

9.       RAM stands for:

·         a) Random Available Memory

·         b) Read Access Memory

·         c) Random Access Memory

·         d) Readable Available Memory

·         Answer: c

10.   RAM is considered volatile because:

·         a) Data is retained even when power is off

·         b) Data is lost when power is switched off

·         c) It stores data permanently

·         d) It is very expensive

·         Answer: b

11-20: RAM Types and Characteristics

11.   SRAM retains data as long as:

·         a) It is refreshed regularly

·         b) Power is applied

·         c) Data is rewritten periodically

·         d) None of the above

·         Answer: b

12.   SRAM is typically used for:

·         a) Main memory

·         b) Cache memory

·         c) Secondary storage

·         d) Virtual memory

·         Answer: b

13.   DRAM must be:

·         a) Refreshed continually

·         b) Faster than SRAM

·         c) Used as cache memory

·         d) More expensive than SRAM

·         Answer: a

14.   The main advantage of DRAM over SRAM is:

·         a) Speed

·         b) Size

·         c) Cost

·         d) Volatility

·         Answer: c

15.   ROM stands for:

·         a) Read Only Memory

·         b) Random Only Memory

·         c) Readable Only Memory

·         d) Rewritable Only Memory

·         Answer: a

16.   The information in ROM is:

·         a) Volatile

·         b) Rewritable

·         c) Permanent

·         d) Temporary

·         Answer: c

17.   Which type of ROM can be modified only once?

·         a) PROM

·         b) EPROM

·         c) EEPROM

·         d) Masked ROM

·         Answer: a

18.   EPROM can be erased by:

·         a) Magnetic field

·         b) Electric current

·         c) Ultra-violet light

·         d) Heat

·         Answer: c

19.   EEPROM can be:

·         a) Erased and reprogrammed multiple times

·         b) Erased only once

·         c) Modified during manufacture only

·         d) Erased by ultra-violet light

·         Answer: a

20.   Which memory type allows selective byte-wise erasing and programming?

·         a) EPROM

·         b) EEPROM

·         c) PROM

·         d) MROM

·         Answer: b

21-30: Memory Access and Cache

21.   Sequential access memory is also known as:

·         a) Random Access Memory

·         b) Direct Access Memory

·         c) Serial Access Memory

·         d) Flash Memory

·         Answer: c

22.   An example of a serial access memory device is:

·         a) Hard disk

·         b) Magnetic tape

·         c) CD-ROM

·         d) RAM

·         Answer: b

23.   Which type of memory allows direct access to data?

·         a) Serial Access Memory

·         b) Direct Access Memory

·         c) Sequential Access Memory

·         d) Cache Memory

·         Answer: b

24.   Cache memory is used to:

·         a) Store permanent data

·         b) Speed up CPU operations

·         c) Backup data

·         d) Connect peripherals

·         Answer: b

25.   Cache memory acts as a buffer between:

·         a) CPU and external memory

·         b) RAM and external devices

·         c) CPU and main memory

·         d) Input and output devices

·         Answer: c

26.   Which is true about cache memory?

·         a) It is slower than main memory

·         b) It has unlimited capacity

·         c) It stores frequently accessed data

·         d) It is cheaper than main memory

·         Answer: c

27.   A cache "hit" occurs when:

·         a) Data is found in RAM

·         b) Data is found in cache memory

·         c) Data is found on the hard disk

·         d) Data is not found in cache memory

·         Answer: b

28.   When cache memory is full and new data needs to be written, the cache uses a:

·         a) Read-only policy

·         b) Replacement policy

·         c) Write-through policy

·         d) Refresh policy

·         Answer: b

29.   The "least recently used" (LRU) policy is used in:

·         a) DRAM

·         b) SRAM

·         c) Cache memory

·         d) ROM

·         Answer: c

30.   Which level of cache is usually the smallest and fastest?

·         a) L1

·         b) L2

·         c) L3

·         d) L4

·         Answer: a

31-40: Levels of Cache and Auxiliary Memory

31.   L1 cache is typically:

·         a) Located off the CPU chip

·         b) Divided into data and instruction sections

·         c) Larger than L2 cache

·         d) Shared among multiple CPU cores

·         Answer: b

32.   Which cache level is shared among all processor cores?

·         a) L1

·         b) L2

·         c) L3

·         d) L4

·         Answer: c

33.   L2 cache is generally:

·         a) Faster than L1 cache

·         b) Smaller than L1 cache

·         c) Larger than L1 cache

·         d) Both a and b

·         Answer: c

34.   L3 cache helps in:

·         a) Data sharing among cores

·         b) Increasing primary memory size

·         c) Reducing the speed of the CPU

·         d) Increasing cache miss rate

·         Answer: a

35.   Auxiliary memory is also known as:

·         a) Main memory

·         b) Cache memory

·         c) Primary memory

·         d) Secondary memory

·         Answer: d

36.   Which of the following is a characteristic of auxiliary memory?

·         a) Volatile

·         b) Non-volatile

·         c) Faster than primary memory

·         d) Limited capacity

·         Answer: b

37.   Which device is considered an auxiliary memory?

·         a) RAM

·         b) Cache memory

·         c) Hard disk

·         d) CPU

·         Answer: c

38.   Data in auxiliary memory:

·         a) Is temporary

·         b) Is non-reusable

·         c) Stays permanently until deleted

·         d) Cannot be accessed

·         Answer: c

39.   Floppy disks are known for:

·         a) High storage capacity

·         b) Being highly durable

·         c) Storing up to 1.44 MB of data

·         d) Being faster than hard disks

·         Answer: c

40.   The storage capacity of hard disks can go up to:

·         a) Several gigabytes

·         b) Several terabytes

·         c) Several megabytes

·         d) Several kilobytes

·         Answer: b

41-50: Storage Devices and ROM

41.   Which of the following storage devices is now considered obsolete?

·         a) Hard disk

·         b) CD-ROM

·         c) Floppy disk

·         d) SSD

·         Answer: c

42.   Data on a CD-ROM:

·         a) Can be rewritten multiple times

·         b) Is written during manufacture

·         c) Is volatile

·         d) Is erased by ultra-violet light

·         Answer: b

43.   ROM chips are used in:

·         a) Hard disks

·         b) External storage devices

·         c) Washing machines

·         d) Main memory

·         Answer: c

44.   MROM is:

·         a) Expensive ROM

·         b) Modifiable once

·         c) Programmable ROM

·         d) Inexpensive ROM

·         Answer: d

45.   PROM can be programmed:

·         a) Multiple times

·         b) Only once

·         c) Using ultra-violet light

·         d) Using magnetic fields

·         Answer: b

46.   EPROM retains data for over:

·         a) One year

·         b) Five years

·         c) Ten years

·         d) Twenty years

·         Answer: c

47.   EEPROM stands for:

·         a) Erasable Programmable Read-Only Memory

·         b) Electrically Erasable Programmable Read-Only Memory

·         c) Expensive Programmable Read-Only Memory

·         d) External Programmable Read-Only Memory

·         Answer: b

48.   Direct access memory refers to:

·         a) Serial access memory

·         b) Memory accessed sequentially

·         c) Memory accessed randomly

·         d) Only cache memory

·         Answer: c

49.   The primary purpose of cache memory is to:

·         a) Store large amounts of data

·         b) Provide non-volatile storage

·         c) Increase CPU speed by storing frequently accessed data

·         d) Backup important files

·         Answer: c

50.   The principle behind the least recently used (LRU) policy is:

·         a) Frequently accessed data should be evicted first

·         b) Data not recently used is less likely to be needed soon

·         c) Data should be written to main memory before cache eviction

·         d) Data should be stored permanently in cache

·         Answer: b

 

 

-10: Memory Basics

1.       What is the primary function of computer memory?

·         Answer: b) To store data and instructions

·         Explanation: Memory is used for storing data and instructions required for processing by the CPU.

2.       Computer memory is divided into small parts called:

·         Answer: c) Cells

·         Explanation: Memory is divided into small parts called cells, each with a unique address.

3.       Each memory cell has a unique:

·         Answer: c) Address

·         Explanation: Each memory location (cell) has a unique address for identification.

4.       If a computer has 64k words of memory, how many memory locations does it have?

·         Answer: c) 65536

·         Explanation: 64k words equal 64 * 1024 = 65536 memory locations.

5.       Which type of memory is used to store the data that is being processed and the instructions required for processing?

·         Answer: c) Primary memory

·         Explanation: Primary memory (RAM) stores data and instructions needed for current processing.

6.       Internal memory includes:

·         Answer: c) Cache memory

·         Explanation: Internal memory consists of cache memory and primary memory (RAM).

7.       Which type of memory increases in capacity and decreases in cost per bit as we go from top to bottom in the memory hierarchy?

·         Answer: d) Memory hierarchy

·         Explanation: In the memory hierarchy, capacity increases and cost per bit decreases from top to bottom.

8.       Access time by the CPU increases as we go from:

·         Answer: a) Primary to secondary memory

·         Explanation: Secondary memory (e.g., hard drives) has higher access times compared to primary memory.

9.       RAM stands for:

·         Answer: c) Random Access Memory

·         Explanation: RAM is a type of memory where data can be accessed randomly.

10.   RAM is considered volatile because:

·         Answer: b) Data is lost when power is switched off

·         Explanation: Volatile memory loses its data when power is turned off.

11-20: RAM Types and Characteristics

11.   SRAM retains data as long as:

·         Answer: b) Power is applied

·         Explanation: SRAM retains data as long as it is powered.

12.   SRAM is typically used for:

·         Answer: b) Cache memory

·         Explanation: SRAM is fast and used for cache memory.

13.   DRAM must be:

·         Answer: a) Refreshed continually

·         Explanation: DRAM needs periodic refreshing to maintain data.

14.   The main advantage of DRAM over SRAM is:

·         Answer: c) Cost

·         Explanation: DRAM is cheaper than SRAM.

15.   ROM stands for:

·         Answer: a) Read Only Memory

·         Explanation: ROM is memory that can only be read, not written to.

16.   The information in ROM is:

·         Answer: c) Permanent

·         Explanation: ROM stores data permanently.

17.   Which type of ROM can be modified only once?

·         Answer: a) PROM

·         Explanation: PROM can be programmed only once.

18.   EPROM can be erased by:

·         Answer: c) Ultra-violet light

·         Explanation: EPROM is erased using ultra-violet light.

19.   EEPROM can be:

·         Answer: a) Erased and reprogrammed multiple times

·         Explanation: EEPROM allows multiple erase and write cycles.

20.   Which memory type allows selective byte-wise erasing and programming?

·         Answer: b) EEPROM

·         Explanation: EEPROM allows erasing and programming of individual bytes.

21-

continue

ChatGPT

21-30: Memory Access and Cache

21.   Which memory type supports serial access?

·         Answer: c) Magnetic tape

·         Explanation: Magnetic tape is a type of memory that supports serial (sequential) access.

22.   Direct access memory refers to:

·         Answer: b) Random access memory

·         Explanation: Direct access memory allows data to be read or written directly and quickly, like RAM.

23.   Cache memory acts as a buffer between:

·         Answer: d) CPU and main memory

·         Explanation: Cache memory speeds up data access by acting as a buffer between the CPU and main memory.

24.   Cache memory is faster than:

·         Answer: a) Main memory

·         Explanation: Cache memory is faster than main memory and helps improve CPU performance.

25.   Which type of cache memory is built into the CPU itself?

·         Answer: a) Level 1 cache

·         Explanation: Level 1 (L1) cache is built directly into the CPU.

26.   L2 cache is:

·         Answer: c) Often located on the CPU chip, but not as close as L1 cache

·         Explanation: L2 cache may be on the CPU chip but is slower than L1 cache.

27.   The cache memory closest to the CPU cores is:

·         Answer: a) L1 cache

·         Explanation: L1 cache is the closest and fastest cache memory to the CPU cores.

28.   L3 cache is shared among:

·         Answer: d) All cores of a processor

·         Explanation: L3 cache is shared across all CPU cores, facilitating data sharing and communication.

29.   A "cache hit" occurs when:

·         Answer: a) Data needed by the CPU is found in the cache

·         Explanation: A cache hit happens when the CPU finds the required data in the cache memory, speeding up access.

30.   A "cache miss" occurs when:

·         Answer: d) Data needed by the CPU is not found in the cache

·         Explanation: A cache miss forces the CPU to fetch data from the slower main memory.

31-40: Cache Replacement Policies and Auxiliary Memory

31.   The least recently used (LRU) policy:

·         Answer: b) Evicts the least recently accessed data from the cache

·         Explanation: LRU replaces the data that hasn't been used for the longest time.

32.   Auxiliary memory is also known as:

·         Answer: c) Secondary memory

·         Explanation: Auxiliary memory refers to secondary storage like hard drives and CDs.

33.   Secondary memory is characterized by being:

·         Answer: b) Non-volatile

·         Explanation: Secondary memory retains data even when the power is off.

34.   Which is an example of auxiliary memory?

·         Answer: d) Hard disk

·         Explanation: Hard disks are a type of auxiliary (secondary) memory.

35.   Floppy disks can store up to:

·         Answer: c) 1.44 MB

·         Explanation: Floppy disks have a maximum storage capacity of 1.44 MB.

36.   Which storage device has multiple platters mounted on a common spindle?

·         Answer: d) Hard disk

·         Explanation: Hard disks consist of multiple platters mounted on a common spindle.

37.   Data on a hard disk is organized in:

·         Answer: a) Tracks and sectors

·         Explanation: Data on hard disks is organized into tracks and sectors for efficient access.

38.   Hard disks store data using:

·         Answer: c) Magnetic material

·         Explanation: Hard disks use magnetic material to store data.

39.   A modern hard disk can store data up to:

·         Answer: b) Several terabytes

·         Explanation: Modern hard disks can store data in the range of several terabytes.

40.   CD-ROM data:

·         Answer: b) Is written during manufacture

·         Explanation: Data on a CD-ROM is written during its manufacture and cannot be changed.

41-50: Storage Devices and ROM Types

41.   Which of the following storage devices is now considered obsolete?

·         Answer: c) Floppy disk

·         Explanation: Floppy disks are considered obsolete due to their limited storage capacity.

42.   Data on a CD-ROM:

·         Answer: b) Is written during manufacture

·         Explanation: CD-ROMs are pre-written with data during manufacture and are read-only.

43.   ROM chips are used in:

·         Answer: c) Washing machines

·         Explanation: ROM chips are used in various electronic devices like washing machines to store firmware.

44.   MROM is:

·         Answer: d) Inexpensive ROM

·         Explanation: Masked ROM (MROM) is a type of inexpensive, pre-programmed read-only memory.

45.   PROM can be programmed:

·         Answer: b) Only once

·         Explanation: Programmable ROM (PROM) can be programmed once by the user and not erased.

46.   EPROM retains data for over:

·         Answer: c) Ten years

·         Explanation: EPROM can retain data for over ten years due to its reliable storage.

47.   EEPROM stands for:

·         Answer: b) Electrically Erasable Programmable Read-Only Memory

·         Explanation: EEPROM can be electrically erased and reprogrammed multiple times.

48.   Direct access memory refers to:

·         Answer: c) Memory accessed randomly

·         Explanation: Direct access memory, like RAM, allows for random access to data.

49.   The primary purpose of cache memory is to:

·         Answer: c) Increase CPU speed by storing frequently accessed data

·         Explanation: Cache memory stores frequently accessed data to speed up CPU operations.

50.   The principle behind the least recently used (LRU) policy is:

·         Answer: b) Data not recently used is less likely to be needed soon

·         Explanation: LRU policy evicts data that hasn't been used recently, assuming it's less likely to be needed.