Computer memory forms the backbone of all ICT systems, enabling the storage and retrieval of data and instructions essential for computing processes. For an ICT technician in Kenya, understanding the various types and classifications of computer memory is crucial when troubleshooting, upgrading, or designing ICT solutions for diverse environments such as schools, county offices, or financial institutions. This chapter explores how computer memories are identified, classified, and differentiated, equipping technicians with the knowledge to optimize system performance and reliability.
4.1 Identification of computer memories
Identifying computer memories involves understanding what memory is, how it functions within a computer system, and recognizing the different forms it takes. This knowledge is vital for ICT technicians who must handle hardware configurations, diagnose faults, or recommend appropriate memory solutions in Kenya's dynamic ICT sector.
4.1.1 Definition of computer memory
Computer memory refers to the electronic components and devices that store data and program instructions temporarily or permanently for processing by a computer. It plays a critical role in the operation of ICT systems by holding the information that the central processing unit (CPU) needs to execute tasks efficiently. Without memory, a computer cannot function because it would have no means to retain data or instructions.
Characteristics of computer memory
- Volatility: Memory can be volatile or non-volatile; volatile memory loses its content when power is off, while non-volatile memory retains data without power. For example, RAM is volatile, while a hard drive is non-volatile.
- Speed: Different types of memory operate at varying speeds, affecting how fast data can be accessed or written. Main memory is much faster than secondary storage, which is why programs are loaded into it before they run.
- Capacity: Memory size determines how much data it can hold. ICT technicians must consider capacity when upgrading systems to meet user needs in environments such as school computer laboratories or busy cybercafés.
- Accessibility: Memory can be accessed randomly, directly or sequentially. Random access memory allows data to be reached in any order, which is crucial for rapid processing.
- Purpose: Memory serves different roles, including primary storage for immediate use and secondary storage for long-term data retention.
Roles of computer memory in ICT systems
- Data storage: Temporarily or permanently holds data for processing or retrieval.
- Instruction storage: Stores the program instructions that guide computer operations.
- Buffering and caching: Improves system speed by temporarily holding data during transfer between devices.
- Data manipulation: Supports operations like editing or calculation by providing quick access to data.
- System booting: Holds firmware or boot instructions necessary for starting the computer.
4.1.2 Classification of computer memory
Classifying computer memory helps ICT technicians understand the purpose of different memory types within a computer system. Memory can be grouped in several ways, for example by whether it keeps data without power, or by whether the CPU can reach it directly. This classification guides maintenance decisions and system design, ensuring optimal performance tailored to specific uses. Example: a technician repairing an office computer that will not start must know whether the fault lies in the memory the CPU uses directly or in the storage that holds the files.
Classification based on volatility
- Volatile memory: Requires continuous power to retain data. Examples include Random Access Memory (RAM) and cache memory. Used for temporary data storage during active processing.
- Non-volatile memory: Retains data without power. Examples include Read-Only Memory (ROM), flash memory, and hard disk drives. Used for permanent data storage and firmware.
4.1.2.1 Primary memory
Primary memory is the memory the CPU can reach directly, without any intermediate device. It holds the programs and data that are being used at that moment, so it must be fast. Example: when a clerk opens a spreadsheet on an office computer, the spreadsheet program and its data are copied into primary memory so that the CPU can work on them quickly.
Main features of primary memory:
- Direct CPU access: The CPU reads instructions and data from primary memory over the system's internal buses, with no other storage device in between.
- High speed: It works at speeds close to that of the CPU, so the processor spends little time waiting for data.
- Limited capacity: It is more costly per unit of storage than secondary memory, so a computer normally has far less of it than disk space.
- Mostly built from integrated circuits: Primary memory is made of semiconductor chips, which have no moving parts and respond almost instantly.
- Types included: It includes RAM, which is volatile and holds active work, and ROM, which is non-volatile and holds start-up instructions. A small, very fast cache memory is also used between the CPU and RAM.
4.1.2.2 Secondary memory
Secondary memory is used for long-term storage of data and programs that are not in immediate use. The CPU does not work on this data directly: it is first copied into primary memory. It is non-volatile, so files remain safe when the computer is switched off. Example: the operating system, documents and installed applications of a computer in a school laboratory are kept on a hard disk or solid-state drive and loaded into RAM when the computer boots.
Main features of secondary memory:
- Non-volatile storage: Data stays in place without power, which makes it suitable for files, programs and backups.
- Large capacity: It holds far more data than primary memory at a lower cost per unit of storage.
- Slower access: Reading and writing take longer than in primary memory, so it is not used for the CPU's active work.
- Indirect access: Data must be transferred into RAM through a controller or interface before the CPU can process it.
- Examples: Hard disk drives, solid-state drives, optical discs such as CDs and DVDs, USB flash drives and memory cards.
The two groups can be compared as follows:
| Feature |
Primary memory |
Secondary memory |
| Access by CPU |
Direct |
Indirect, through RAM |
| Speed |
Very fast |
Slower |
| Volatility |
RAM is volatile, ROM is non-volatile |
Non-volatile |
| Capacity |
Smaller |
Larger |
| Cost per unit of storage |
Higher |
Lower |
| Typical role |
Running programs and start-up instructions |
Long-term storage and backup |
4.1.3 Types of computer memories
Different types of computer memory serve distinct roles and have unique characteristics that influence system design and troubleshooting approaches. The main types a technician meets are RAM, ROM and DAM, which differ in whether they can be written to, whether they keep data without power, and how data is reached. A detailed understanding of these types is indispensable for ICT technicians managing computers in offices, schools and businesses.
4.1.3.1 RAM
RAM (Random Access Memory) is the main memory where the computer stores data and instructions it is actively using. It is volatile, meaning all information is lost when power is cut. Any location can be read or written in about the same time, whatever its position. RAM speed and capacity directly affect system responsiveness, making it a key focus during upgrades in offices, schools and commercial premises.
Main types of RAM:
- Static RAM (SRAM): Stores each bit in a circuit that holds its state while power is on, with no refreshing needed. It is very fast but costly and takes more space, so it is used in small amounts such as cache memory.
- Dynamic RAM (DRAM): Stores each bit as a charge in a tiny capacitor that leaks away, so the charge must be refreshed many times each second. It is cheaper and denser, so it is used as the main memory of computers.
- Synchronous DRAM (SDRAM): DRAM whose operations are timed with the system clock, which allows orderly and faster transfers. Modern main memory modules are of this kind.
- Memory modules: RAM chips are sold on small circuit boards. DIMM modules are used in desktop computers and the smaller SO-DIMM modules in laptops.
Procedure for installing a RAM module in a desktop computer:
- Shut the computer down, switch off at the power supply and unplug the power cable so that no power reaches the board.
- Open the case and touch the bare metal of the chassis, or wear an anti-static wrist strap, to discharge static electricity that could damage the chips.
- Find the memory slots on the motherboard and check the manual to confirm the module type and the slot to use.
- Push the retaining clips at the ends of the slot outwards to open them.
- Hold the module by its edges and align the notch in its gold contacts with the key in the slot.
- Press down firmly and evenly on both ends until the clips snap shut over the module.
- Close the case, reconnect the cables and switch on.
- Open the system information screen or the BIOS setup to confirm that the new total capacity is detected.
4.1.3.2 ROM
ROM (Read-Only Memory) contains essential firmware and start-up instructions. In its original form these are programmed during manufacture, and in many modern devices they are held in memory that can be rewritten only by a special update process. Unlike RAM, ROM is non-volatile and cannot be easily altered during normal operation. This memory type ensures that computers and embedded devices, such as point-of-sale machines used in retail businesses, boot correctly.
Main types of ROM:
- Mask ROM: Programmed by the manufacturer during production and never changed afterwards. It suits large production runs of fixed instructions.
- PROM (Programmable ROM): Blank when made and programmed once by the user with a special device. After that it cannot be changed.
- EPROM (Erasable Programmable ROM): Can be erased by exposing the chip to ultraviolet light through a small window, then programmed again.
- EEPROM (Electrically Erasable Programmable ROM): Can be erased and rewritten with electrical signals, without removing the chip. Computer BIOS settings are often held in this kind of memory.
- Flash ROM: A development of EEPROM that is erased and written in blocks. It is used to hold firmware that manufacturers update, such as the BIOS or UEFI firmware of a motherboard.
Example: when a computer is switched on, the CPU first runs the firmware stored in ROM, which checks the hardware (the power-on self-test) and then starts the operating system from secondary storage.
4.1.3.3 DAM
DAM (Direct Access Memory) is storage in which the system can go straight to the required block of data using its address, without reading through all the data stored before it. Access time is not constant, because it depends on how far the read/write mechanism must move to reach the location. Example: when a technician opens a file on a hard disk drive, the read/write head moves directly to the track holding that file instead of reading the whole disk from the start.
Main features of DAM:
- Addressed blocks: Data is stored in blocks or sectors, each with an address that the controller uses to jump to it.
- Short mechanical movement: The read/write head or laser moves directly to the area of the required block, then reads the data in that block in order.
- Variable access time: Access time depends on the distance travelled to the data, unlike RAM where every location takes about the same time.
- Non-volatile storage: Devices using this method, such as hard disk drives and optical discs, keep data when power is off.
- Suitable for files and databases: It is well suited to storing files that must be opened in any order, such as customer records or software installers.
The three ways of accessing data are compared below:
| Access method |
How data is reached |
Access time |
Example |
| Sequential |
Reading through the data from the start until the required item is found |
Longest for items far down the medium |
Magnetic tape |
| Direct |
Moving straight to the block holding the data, then reading within it |
Varies with position |
Hard disk drive, optical disc |
| Random |
Going to any location by its address |
About the same for all locations |
RAM, ROM |
Virtual memory as an extension of RAM
Virtual memory extends the apparent RAM capacity by using a portion of the hard disk to temporarily hold data not actively used in RAM. This allows systems with limited physical memory to run larger applications, but at slower speeds because of disk access delay. Virtual memory management is critical when configuring computers for educational institutions with budget constraints. Example: a school laboratory computer with little RAM that runs several programs at once will slow down noticeably when the system keeps moving data between RAM and the disk, and adding RAM is the lasting remedy.
Flash memory as non-volatile storage
Flash memory is a non-volatile memory type widely used in USB drives, solid-state drives (SSD), and memory cards. It offers fast read/write speeds and durability without moving parts, making it suitable for portable devices and embedded systems. Example: a technician copies installation files to a USB flash drive and uses it to set up software on several computers in a laboratory, one after another.
Practice Questions
- Define computer memory and explain five characteristics that distinguish different types of memory. (10 marks)
- Classify computer memory based on volatility and accessibility, providing examples relevant to ICT systems. (12 marks)
- Describe the role of cache memory in improving computer performance, including its location relative to the CPU. (8 marks)
- Explain how virtual memory functions and discuss its advantages and disadvantages in a low-budget school computer lab. (10 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 role of an ICT Technician in Kenya, understanding the memory hierarchy speed is crucial for optimizing computer performance during troubleshooting, system upgrades, and maintenance. Memory hierarchy refers to the structured arrangement of different type…
🔒4.3 Identification of Memory Storage Levels
In the context of ICT technicians in Kenya, understanding the classification of memory storage levels is essential for effective system design, troubleshooting, and optimization. Memory storage is organized hierarchically to balance speed, cost, and capacity,…
🔒4.4 Classify computer memories as per the technology used
In the work of an ICT technician in Kenya, understanding the different technologies underlying computer memory is essential for troubleshooting, upgrading, and recommending appropriate hardware solutions. Different memory technologies offer varying performance…
🔒5 Apply logic gates
Logic gates are fundamental components in digital electronics, controlling the flow of binary signals based on logical operations. ICT technicians in Kenya must understand logic gates to troubleshoot and design digital circuits found in computers, communicatio…
Chapter Summary
This chapter provides a comprehensive understanding of computer memory by first defining what computer memory entails and classifying it into primary and secondary categories. It explores specific types of memory including RAM, ROM, and DAM, highlighting their distinct roles and characteristics. The chapter then examines the memory hierarchy by identifying various levels such as registers, cache memory, main memory, secondary storage, and tertiary storage, emphasizing their differences in speed and function. Further, it discusses the different storage levels based on accessibility and permanence, covering internal, main, online, and offline bulk storage. Finally, the classification of computer memories is extended to the technology used, distinguishing semiconductor, magnetic, and optical memory types. This structured approach equips students with a clear framework to understand the organization and technology behind computer memory systems.
Self-Assessment
🔒 PDFDownload this self-assessment, with answers
A. Written Assessment
- Define computer memory and explain its primary function in a computer system. (4 marks)
- Differentiate between primary memory and secondary memory, giving two examples of each. (6 marks)
🔒20 more in this section.
Chapter Examination Questions
🔒 PDFDownload these examination questions, with worked answers
SECTION A (40 Marks) - Answer ALL Questions
- Define computer memory and explain its role in the operation of an ICT device used in a Kenyan bank such as KCB. (4 marks)
- Differentiate between primary memory and secondary memory with examples relevant to an ICT technician working in a county government office. (4 marks)
🔒18 more in this section.