SlideShare a Scribd company logo
1 of 19
CHAPTER 3 MEMORY &
PROCESSOR
NOTES
• Memory is to store instructions
• Processor executes those instructions
• Memory and Processor work together at amazing speed to
execute a program
MEMORY
• Memory can be accessed faster than secondary storage.
• Memory is used to store instructions so that the processor can
fetch the instructions quickly in order to process them.
• 3 types of memory
■Random Access Memory (RAM)
■Read Only Memory (ROM)
■Flash memory.
RANDOM ACCESS MEMORY (RAM)
• Primary memory or main memory
• Software is loaded into RAM from a computer's secondary
storage.
• The processor then fetches software instructions from memory
and executes them.
• RAM is volatile, meaning that it cannot store data when it has
no power.
• State what is meant by 'RAM'.
• The more RAM is available, the more program can run
at the same time.
• When the computer system does not have enough
space in RAM, the operating system creates virtual
memory by using an area of secondary storage.
• SSDs have faster access times than hard disk drives in
swapping instruction.
• But it can reduce the performance of SSD.
• Adding more RAM can improve the performance of a
computer system when the user is using multiple files
or programs at the same time.
• Explain why increasing the amount of RAM in a system
improves the user experience.
Notes
READ ONLY MEMORY (ROM)
• ROM stores data permanently.
• ROM is non-volatile, meaning that data
is not lost when the power is turned off.
• ROM is used in computer systems that
store only one programme
• use ROM to boot the system and load
the operating system from secondary
storage.
Memory
RAM
SRAM DRAM
ROM
MROM PROM EPROM
EEPROM
Flash
ROM
TYPES OF ROM
• ROM is generally used to refer to memory that cannot be
changed after manufacture. Its full name is Mask Programmed
Read Only Memory.
• PROM stands for Programmable Read Only Memory.
• It is manufactured with the ability to be written to, but it can
only be written to once.
• EPROM (Erasable Programmable Read Only Memory)
• EEPROM (Electrically Erasable Programmable Read Only
Memory).
• Flash ROM
• The contents of EPROM and EEPROM can be erased and then
rewritten to.
• Data stored in EPROM can be erased by exposing it to strong
ultraviolet (UV) light.
• Data stored in EEPROM is erased by applying a voltage to one of
the pins on the ROM chip.
• Flash memory is a type of EEPROM.
• The process of erasing and rewriting the contents of EPROM or
EEPROM is used when updating the firmware for a device.
FLASH MEMORY
• Flash memory is a type of EEPROM,
• non volatile
• it is non-volatile. It does not have any moving parts, so it has a fast
access time and low power consumption.
• flash memory is used in the SSDs that are used in portable devices,
such as laptop computers, as these devices often rely on internal
batteries for their power.
• Flash memory is often used as removable storage in USB drives and
SD cards.
DIFFERENT BETWEEN RAM AND ROM
PROCESSOR
• A processor is made up of one or more
Central Processing Units (CPUs).
• each CPU is referred to as a core.
• For example, in a quad-core processor, four
cores are working during each processor
cycle.
• processor cycle is the process of fetching a
program instruction from memory,
• decoding the actions required by the
instruction and then executing those actions
NOTES < NUMBER OF CORES>
• A dual-core processor, therefore has two internal processors,
• a quad-core model has four.
• More cores are useful for multi-tasking; for example, you can
run two applications at the same time, each one having access
to its own dedicated processor.
• Core i3 processors have two cores, Core i5 CPUs have four and
Core i7 models also have four. Some Core i7 Extreme
processors have six or eight cores.
• Processor speed is measured in clock cycles per second.
• This is the number of times per second the processor can carry
out one or more instructions.
• Clock cycles are measured in units called hertz (Hz), kilohertz
(kHz), megahertz (MHz) and gigahertz (GHz).
MEASURING CLOCK SPEED
NOTE
• there are other factors that affect how much work a processor
can do in a given time.
• A user should also consider the amount of work that a CPU can
do in each clock cycle.
• Different processors can carry out more instructions per core
in each cycle.
TTH-Chapter 3_Memory & processor.pptx
TTH-Chapter 3_Memory & processor.pptx

More Related Content

Similar to TTH-Chapter 3_Memory & processor.pptx

Memory Hierarchy (RAM and ROM)
Memory Hierarchy (RAM and ROM)Memory Hierarchy (RAM and ROM)
Memory Hierarchy (RAM and ROM)
sumanth ch
 
Ram & rom memories
Ram & rom memoriesRam & rom memories
Ram & rom memories
angelaag98
 

Similar to TTH-Chapter 3_Memory & processor.pptx (20)

Computer memory and types of memory.pptx
Computer memory and types of memory.pptxComputer memory and types of memory.pptx
Computer memory and types of memory.pptx
 
primary memory
primary memoryprimary memory
primary memory
 
Memory
MemoryMemory
Memory
 
Memory Organisation.pptx
Memory Organisation.pptxMemory Organisation.pptx
Memory Organisation.pptx
 
Class 3 Memory types
Class 3 Memory typesClass 3 Memory types
Class 3 Memory types
 
memory hierarchy
memory hierarchymemory hierarchy
memory hierarchy
 
Exploring Of System Hardware
Exploring Of System HardwareExploring Of System Hardware
Exploring Of System Hardware
 
Memory Hierarchy (RAM and ROM)
Memory Hierarchy (RAM and ROM)Memory Hierarchy (RAM and ROM)
Memory Hierarchy (RAM and ROM)
 
project on memories .pptx
project on memories .pptxproject on memories .pptx
project on memories .pptx
 
Memory and storage devices
Memory and storage devicesMemory and storage devices
Memory and storage devices
 
Working memory in computer
Working memory in computerWorking memory in computer
Working memory in computer
 
computer architecture and organisation
computer architecture and organisationcomputer architecture and organisation
computer architecture and organisation
 
Ram & rom memories
Ram & rom memoriesRam & rom memories
Ram & rom memories
 
Basic of computer 2
Basic of computer 2Basic of computer 2
Basic of computer 2
 
Ram ppt
Ram pptRam ppt
Ram ppt
 
Memory and its Types.ppt
Memory and its Types.pptMemory and its Types.ppt
Memory and its Types.ppt
 
Computer Memory
Computer MemoryComputer Memory
Computer Memory
 
3 computer memory
3   computer memory3   computer memory
3 computer memory
 
Computer Memory
Computer MemoryComputer Memory
Computer Memory
 
SESSION 9 - Storage on the computer .pdf
SESSION 9 - Storage on the computer .pdfSESSION 9 - Storage on the computer .pdf
SESSION 9 - Storage on the computer .pdf
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Recently uploaded (20)

CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 

TTH-Chapter 3_Memory & processor.pptx

  • 1. CHAPTER 3 MEMORY & PROCESSOR
  • 2. NOTES • Memory is to store instructions • Processor executes those instructions • Memory and Processor work together at amazing speed to execute a program
  • 3. MEMORY • Memory can be accessed faster than secondary storage. • Memory is used to store instructions so that the processor can fetch the instructions quickly in order to process them. • 3 types of memory ■Random Access Memory (RAM) ■Read Only Memory (ROM) ■Flash memory.
  • 4. RANDOM ACCESS MEMORY (RAM) • Primary memory or main memory • Software is loaded into RAM from a computer's secondary storage. • The processor then fetches software instructions from memory and executes them. • RAM is volatile, meaning that it cannot store data when it has no power. • State what is meant by 'RAM'.
  • 5. • The more RAM is available, the more program can run at the same time. • When the computer system does not have enough space in RAM, the operating system creates virtual memory by using an area of secondary storage. • SSDs have faster access times than hard disk drives in swapping instruction. • But it can reduce the performance of SSD. • Adding more RAM can improve the performance of a computer system when the user is using multiple files or programs at the same time. • Explain why increasing the amount of RAM in a system improves the user experience. Notes
  • 6.
  • 7. READ ONLY MEMORY (ROM) • ROM stores data permanently. • ROM is non-volatile, meaning that data is not lost when the power is turned off. • ROM is used in computer systems that store only one programme • use ROM to boot the system and load the operating system from secondary storage.
  • 8. Memory RAM SRAM DRAM ROM MROM PROM EPROM EEPROM Flash ROM
  • 9. TYPES OF ROM • ROM is generally used to refer to memory that cannot be changed after manufacture. Its full name is Mask Programmed Read Only Memory. • PROM stands for Programmable Read Only Memory. • It is manufactured with the ability to be written to, but it can only be written to once. • EPROM (Erasable Programmable Read Only Memory) • EEPROM (Electrically Erasable Programmable Read Only Memory). • Flash ROM
  • 10. • The contents of EPROM and EEPROM can be erased and then rewritten to. • Data stored in EPROM can be erased by exposing it to strong ultraviolet (UV) light. • Data stored in EEPROM is erased by applying a voltage to one of the pins on the ROM chip. • Flash memory is a type of EEPROM. • The process of erasing and rewriting the contents of EPROM or EEPROM is used when updating the firmware for a device.
  • 11. FLASH MEMORY • Flash memory is a type of EEPROM, • non volatile • it is non-volatile. It does not have any moving parts, so it has a fast access time and low power consumption. • flash memory is used in the SSDs that are used in portable devices, such as laptop computers, as these devices often rely on internal batteries for their power. • Flash memory is often used as removable storage in USB drives and SD cards.
  • 13. PROCESSOR • A processor is made up of one or more Central Processing Units (CPUs). • each CPU is referred to as a core. • For example, in a quad-core processor, four cores are working during each processor cycle. • processor cycle is the process of fetching a program instruction from memory, • decoding the actions required by the instruction and then executing those actions
  • 14. NOTES < NUMBER OF CORES> • A dual-core processor, therefore has two internal processors, • a quad-core model has four. • More cores are useful for multi-tasking; for example, you can run two applications at the same time, each one having access to its own dedicated processor. • Core i3 processors have two cores, Core i5 CPUs have four and Core i7 models also have four. Some Core i7 Extreme processors have six or eight cores.
  • 15. • Processor speed is measured in clock cycles per second. • This is the number of times per second the processor can carry out one or more instructions. • Clock cycles are measured in units called hertz (Hz), kilohertz (kHz), megahertz (MHz) and gigahertz (GHz).
  • 17. NOTE • there are other factors that affect how much work a processor can do in a given time. • A user should also consider the amount of work that a CPU can do in each clock cycle. • Different processors can carry out more instructions per core in each cycle.