Information Communication Technology  ·  Level 6
Basic Electronics
Chapter 4: Classify computer memory
📚 4 Topics
⚑ What you will be able to do

By the end of this chapter, you will be able to:

  • Identify different types of computer memory based on their unique characteristics.
  • Explain the memory hierarchy by comparing the speeds of various memory types.
  • Describe the different levels of memory storage according to the technology used.
  • Classify computer memories accurately based on the technology they use.

Mastering these skills will help you understand how computers store and access data efficiently, a key foundation for working with any electronic system.

Computer memory is fundamental to the operation of ICT systems, enabling the storage and retrieval of data essential for software applications and hardware functions. For an ICT Technician in Kenya, understanding the classification and characteristics of different types of computer memory is crucial for effective troubleshooting, upgrading, and optimizing computer systems in diverse environments such as county offices, banks, and educational institutions. This chapter explores the identification, classification, and types of computer memory, providing a detailed foundation for practical application within the ICT sector.

4.1 Identification of Computer Memories

Computer memory encompasses various technologies and structures that store data temporarily or permanently within a computer system. For ICT technicians, recognising these memory types and their functions is vital to diagnosing system performance issues and implementing appropriate solutions in professional settings like university IT departments or retail business networks.

4.1.1 Definition of computer memory

Computer memory refers to the electronic components or devices that store data and program instructions for immediate or future use by the Central Processing Unit (CPU). It serves as a workspace where the CPU reads and writes information necessary for executing tasks. The efficiency and speed of memory directly affect overall computer performance, influencing how quickly applications run and how much data can be handled simultaneously.

Example: when a clerk in a county government office opens a large spreadsheet, the file is copied from the hard disk into memory so that the CPU can work on it quickly. If the memory is too small, the computer slows down noticeably.

Characteristics of computer memory

  • Volatility: Memory can be volatile, losing stored data when power is off, or non-volatile, retaining data without power. For example, RAM is volatile, while hard drives are non-volatile.
  • Speed: Memory speed impacts how fast data is accessed or written. Cache memory operates faster than main memory (RAM), enhancing processing speed.
  • Capacity: This refers to the amount of data memory can hold, measured in bytes. Larger capacity allows more programs or files to be stored simultaneously.
  • Accessibility: Memory can be random access (RAM), allowing data retrieval in any order, or sequential access (tape drives), where data is accessed in a fixed sequence.
  • Purpose: Memory serves various functions such as temporary data storage during processing or permanent storage of operating systems and applications.

Technicians in offices such as county government departments must understand these characteristics to select appropriate memory for specific applications, balancing cost and performance.

4.1.2 Classification of computer memory

Classifying computer memory helps ICT professionals distinguish between different storage types based on function, speed, and permanence. The two main classes are primary memory, which the CPU uses directly, and secondary memory, which keeps data for the long term. This classification guides decisions on memory upgrades, repairs, and system optimisation in contexts ranging from hospital IT networks to SACCO data centres.

4.1.2.1 Primary memory

Primary memory, also called main memory, is directly accessible by the CPU and stores data and instructions currently in use. It is essential for immediate processing tasks. For example, when a technician starts a word processor on an office desktop, the programme's instructions are loaded into primary memory so the CPU can execute them.

Components of primary memory:

  • Random Access Memory (RAM): Temporary storage that loses data when power is off.
  • Read-Only Memory (ROM): Permanent storage of start-up instructions that remain when power is off.
  • Cache memory: Small, high-speed memory located close to the CPU to reduce access time.
  • Registers: Tiny storage locations within the CPU holding instruction data temporarily.

Features of primary memory:

  • Direct access by the CPU: The CPU reads and writes primary memory without any intermediate device, which makes processing fast.
  • High speed: Access times are far shorter than for disks, so the CPU spends less time waiting for data.
  • Limited capacity: Primary memory is measured in megabytes or gigabytes and is much smaller than disk storage on the same computer.
  • Mostly volatile: RAM, cache and registers lose their contents when power is removed, so unsaved work is lost in a power cut.
  • Higher cost per byte: Fast memory chips cost more per gigabyte than disk storage, which is why computers carry less of it.

4.1.2.2 Secondary memory

Secondary memory provides long-term data storage, retaining information even when the computer is powered down. It holds the operating system, installed applications and user files until the CPU needs them. For example, a SACCO office stores member records on the hard disk of its server, and the records are copied into RAM only when they are being processed.

Examples of secondary memory:

  • Hard Disk Drives (HDDs): Magnetic storage with large capacity used for files and programs.
  • Solid State Drives (SSDs): Faster, more durable storage using flash memory.
  • Optical discs (CD/DVD): Used for media and backup storage.
  • USB flash drives: Portable flash storage used to move files between computers.
  • Memory cards: Small flash cards used in cameras, phones and card readers for storing files.
  • External drives: HDDs or SSDs housed in a casing and connected by cable, used for backup and transfer.

The two classes differ as follows:

Feature Primary memory Secondary memory
Access by CPU Direct Through input/output controllers, after loading into primary memory
Speed Very high Lower
Volatility Mostly volatile Non-volatile
Capacity Smaller Larger
Cost per byte Higher Lower
Examples RAM, ROM, cache, registers HDD, SSD, optical disc, flash drive

4.1.3 Types of computer memories

Different types of computer memory serve specific roles within a system, each with unique characteristics affecting speed, volatility, and usage. ICT technicians must identify these types to troubleshoot effectively and upgrade systems in diverse workplaces such as universities and retail businesses. This section covers RAM, ROM and DAM, followed by virtual memory as a related technique.

4.1.3.1 RAM

RAM is the primary workspace for the CPU, storing data temporarily during program execution. It is volatile and allows any location to be read or written in about the same time, regardless of its position. For example, a shop computer running a point-of-sale programme, a browser and a spreadsheet at the same time needs enough RAM to hold all three, otherwise the system slows down.

Types of RAM:

  • DRAM (Dynamic RAM): Requires constant refreshing of data; commonly used as main memory due to cost-effectiveness.
  • SRAM (Static RAM): Faster and more expensive, does not need refreshing, and is used for cache memory closer to the CPU.
  • SDRAM (Synchronous DRAM): DRAM whose operation is synchronised with the system clock so data transfers are better timed with the CPU.
  • DDR SDRAM (Double Data Rate): SDRAM that transfers data twice per clock cycle. Generations such as DDR3, DDR4 and DDR5 have different slot notches and are not interchangeable.
  • Graphics RAM: Memory used on graphics cards to hold image data being displayed.

Practical points for technicians:

  • Memory modules: Desktops normally use full-size DIMM modules, while laptops use the smaller SO-DIMM modules.
  • Capacity: RAM is measured in gigabytes, and a larger amount lets more programmes run together without slowing down.
  • Compatibility: A replacement module must match the type supported by the motherboard, so check the generation before purchase.

4.1.3.2 ROM

ROM stores permanent data and instructions critical for booting the computer, such as firmware. Its contents are retained when power is off and are normally only read, not changed during everyday use. For example, when an office PC is switched on, the firmware (BIOS or UEFI) held in ROM runs the power-on self-test and then starts the operating system from the disk.

Types of ROM:

  • Mask ROM: Programmed during manufacture and can never be changed. It suits large production runs of devices with fixed instructions.
  • PROM (Programmable ROM): Can be programmed once after manufacturing.
  • EPROM (Erasable PROM): Can be erased and reprogrammed using ultraviolet light.
  • EEPROM (Electrically Erasable PROM): Can be electrically erased and rewritten, used in BIOS storage.
  • Flash memory: A development of EEPROM that is erased and rewritten in blocks. It is non-volatile, fast and durable, and is used in USB drives, SSDs, memory cards and embedded devices.

4.1.3.3 DAM

DAM stands for Direct Access Memory. It is storage in which the system goes straight to the area of the device where the data is held, without passing through everything stored before it, and then reads the data in that area. Hard disks and optical discs work this way. For example, when a records officer opens one file on a server hard disk, the read head moves directly to the track and sector holding that file instead of reading the disk from the start.

Direct access sits between random access and sequential access, as the comparison shows:

Access method How data is reached Example
Random access Any location is reached in about the same time RAM
Direct access Move straight to the block, then read within it HDD, optical disc
Sequential access Read in order from the start of the medium Magnetic tape

Features of DAM:

  • Non-volatile: Data stays on the device when power is removed, so it is used for long-term storage.
  • Addressable blocks: Data is stored in tracks and sectors (or blocks) with addresses that the controller uses to locate it.
  • Variable access time: The time taken depends on how far the read head must move or the disc must turn, so it is slower than RAM.
  • Large capacity: DAM devices hold far more data than primary memory at a lower cost per byte.
  • Suitable for files and databases: Records can be fetched individually, which suits student, customer or stock records.

Virtual memory

Virtual memory extends RAM onto the hard disk, allowing the system to handle larger workloads by swapping data between RAM and disk storage. This is critical for multitasking in environments like county government IT systems with limited physical memory. Because disk is much slower than RAM, a computer that relies heavily on virtual memory runs slowly, and the usual remedy is to install more RAM.

Practice Questions

  1. Define computer memory and explain its role in computer operations. (5 marks)
  2. Differentiate between primary and secondary memory with examples relevant to Kenyan ICT contexts. (10 marks)
  3. Describe five types of computer memory and their typical applications in ICT systems. (15 marks)
  4. Explain how virtual memory functions and its importance in systems with limited RAM. (5 marks)
The rest of this chapter
🔒

Create a free account to open more of this chapter.

Free: practical guides, quick cards, workplace scenarios and more.

Create a free account
🔒4.2 Identification of Memory Hierarchy Speed

In the context of ICT technicians working in Kenya, understanding the memory hierarchy speed is crucial for optimizing computer system performance and troubleshooting. Memory hierarchy refers to the arrangement of various types of memory in a system based on s…

🔒4.3 Identification of Memory Storage Levels

In the context of ICT technicians working in Kenya, understanding the different memory storage levels is critical for troubleshooting, optimizing, and designing computer systems. Memory storage levels vary by speed, capacity, cost, and accessibility, each serv…

🔒4.4 Classify computer memories as per the technology used

Computer memory technologies influence how data is stored, accessed, and preserved in ICT systems. For ICT technicians in Kenya, understanding memory classification by technology helps in selecting appropriate memory types for devices used in various sectors s…

Chapter Summary

This chapter provided a comprehensive overview of computer memory by first defining what computer memory entails and then classifying it into primary and secondary categories. Primary memory was discussed in detail, highlighting its role in immediate data access, while secondary memory was explained as a storage medium for long-term data retention. Various types of computer memory were examined, including RAM, ROM, and DAM, each with distinct functions and characteristics. The chapter then explored the memory hierarchy, emphasizing the speed differences among registers, cache memory, main memory, secondary storage, and tertiary storage. Further, it identified different memory storage levels such as internal, main, online, and offline bulk storage, clarifying their respective roles in computing. Finally, the classification of computer memories based on technology was covered, differentiating semiconductor, magnetic, and optical memory types. This structured approach enabled a thorough understanding of how computer memory operates, is organized, and varies by technology.

Self-Assessment

🔒 PDFDownload this self-assessment, with answers

A. Written Assessment

  1. What is the primary function of computer memory in an ICT system? (2 marks)
  2. Differentiate between primary and secondary memory with examples relevant to ICT technicians. (3 marks)
🔒20 more in this section.

Chapter Examination Questions

🔒 PDFDownload these examination questions, with worked answers

SECTION A (40 Marks) - Answer ALL Questions

  1. Define computer memory and explain its role in the operation of a desktop computer used at a Nairobi university. (4 marks)
  2. Differentiate between primary and secondary memory with examples relevant to an ICT technician servicing a county government office. (4 marks)
🔒18 more in this section.
Flashcards 20 cards Study deck ▾
Question
1

↻ Tap card to reveal answer
🔒

18 more in this section.

Create a free account
Test Yourself 19 questions Start quiz ▾
0%
0 / 2
🔒

17 more in this section.

Create a free account
Am I competent?

At the start of this chapter we promised you would be able to:

  • Identify different types of computer memory based on their unique characteristics.
  • Explain the memory hierarchy by comparing the speeds of various memory types.
  • Describe the different levels of memory storage according to the technology used.
  • Classify computer memories accurately based on the technology they use.

Tick each one you can genuinely do.

So, are you there yet?

You're competent when you can confidently do 50% or more of what this chapter promised.

Sign in to record how you're doing.