14/11/2018 RAM and ROM.

Slides:



Advertisements
Similar presentations
Computer Memory GCSE Computing.
Advertisements

IT Systems Memory EN230-1 Justin Champion C208 –
COMPUTER MEMORY Modern computers use semiconductor memory It is made up of thousands of circuits (paths) for electrical currents on a single silicon chip.
Computer Memory.
Memory. When we receive some instruction or information we retain them in our memory. Similarly a computer stores the instructions for solving a problem,
Instructions Slides 3,4,5 are general questions that you should be able to answer. Use slides 6-27 to answer the questions. Write your answers in a separate.
Chapter 3 – Computer Hardware Computer Components – Hardware (cont.) Lecture 3.
The two types of storage: Primary Storage Secondary Storage
11:15:01 Storage device. Computer memory Primary storage 11:15:01.
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
Computing Hardware Starter.
Computers in the real world Objectives Understand what is meant by memory Difference between RAM and ROM Look at how memory affects the performance of.
Random access memory.
MAC OS – Unit A Page: 10-11, Investigating Data Processing Understanding Memory.
GCSE Computing Memory Powerpoint Templates.
Memory  Main memory consists of a number of storage locations, each of which is identified by a unique address  The ability of the CPU to identify each.
TheTeacher Computing Data Storage Computing. TheTeacher Computing Primary Storage One of the fundamental properties of a computer is that it can store.
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: Memory.
Memory The CPU in the computer fetches data and instructions from memory to process. This type of memory is called primary memory and it is the only memory.
© GCSE Computing Computing Hardware Starter. Creating a spreadsheet to demonstrate the size of memory. 1 byte = 1 character or about 1 pixel of information.
By : Reem Hasayen. A storage device is a hardware device capable of storing information. There are two types of storage devices used in computers 1. Primary.
Understanding Memory.
Computer Organization. The Five Hardware Units General purpose computers use the "Von Neumann" architecture Also referred to as "stored program" architecture.
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
Am I RAM Or am I ROM?.
A memory is just like a human brain. It is used to store data and instructions. Computer memory is the storage space in computer where data is to be processed.
Memory The term memory is referred to computer’s main memory, or RAM (Random Access Memory). RAM is the location where data and programs are stored (temporarily),
MEMORY is part of the Central Processing Unit, or CPU, where data and information are stored. There are two main types of memory in a computer – RAM.
Lesson 4 – Cache, virtual and flash memory
Computer Storage. What is Primary Storage? ● Primary storage is computer memory that is directly accessible to the CPU of a computer without the use of.
Components of Computer. Memory Unit Most important part of the computer Used to store data and instructions that are currently in use Main memory consists.
Chapter 2 content Basic organization of computer What is motherboard
GCSE COMPUTER SCIENCE Computers 1.2 Memory, Storage and Binary.
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
Primary and Secondary Storage
Parts of a Computer.
MEMORY BYTES. MEMORY BYTES MEMORY MEMORY OUR Internal External.
Tech Level Cyber Security
A Dummies guide to computer memory
Memory Miss Elliott.
Memory Key Revision Points.
Chapter 2: Computer-System Structures
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
Memory Main memory consists of a number of storage locations, each of which is identified by a unique address The ability of the CPU to identify each location.
GCSE COMPUTER SCIENCE Topic 4 - Computers 4.2 Hardware.
The Central Processing Unit
Introduction to Computer Architecture
3 - STORAGE: TYPES AND CHARACTERTISTICS
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
Storage devices of Computer Submitted By Pravesh Kumar UPS Beetia
Memory chips Memory chips have two main properties that determine their application, storage capacity (size) and access time(speed). A memory chip contains.
Introduction to Computers
Lesson Objectives Aims You should be able to:
An Introduction to The computer.
Virtual Memory and Flash Memory.
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
TASK: Define the memory keywords.
Introduction to Computer Architecture
GCSE OCR 4 Storage Computer Science J276 Unit 1
GCSE OCR 3 Memory Computer Science J276 Unit 1
HDD vs SSD Key Revision Points.
Components of a CPU AS Computing - F451.
STORAGE – 3 TIERS Key Revision Points.
2.C Memory GCSE Computing Langley Park School for Boys.
A451: Computer Systems and Programming
Hardware Main memory 26/04/2019.
Year 10 Computer Science Hardware - CPU and RAM.
AS Level ICT Selection and use of storage requirements, media, and devices: storage and storage capacity Unit 1 Topic a - Selection and use of storage.
Objectives Describe the difference between RAM and ROM
Presentation transcript:

14/11/2018 RAM and ROM

Wednesday, 14 November 2018 Types of Memory Learning Objectives: To be able to explain the differences between RAM and ROM and how they are used in computer systems. To be able to explain what virtual memory is and the advantages and disadvantages of its use.

Memory Data and programs need to be stored in a computer system. The technology used to do this is called memory. Memory can be divided into two types:  Main memory (Primary storage) Secondary storage.

Main memory For programs to be accessed by the CPU the operating system loads them into RAM Main memory can be directly accessed by the CPU. Main memory can hold more than one program at a time, which makes it quicker for the CPU to swap between tasks. Examples of main memory include: Random access memory (RAM) Read Only Memory (ROM)

Volatile memory How many times have you worked for ages on something and just before you were about to save it the computer crashed or your mate 'accidentally' switched it off? And when you reboot your computer, all of that work is gone forever. The reason for this is because you were working in Volatile memory (RAM) and didn’t save it in the Hard disk (Non Volatile) Volatile memory is cleared whenever power is lost. Non-volatile memory will continue to store data even if power is lost. Other types of volatile memory include CPU registers and the cache.

RAM- Random Access Memory RAM is used as main memory (accessed directly by CPU). It is a temporary store for program instructions and data. RAM needs constant electrical power. If the computer is switched off it will lose any data it is holding. It can only store things temporarily because it is volatile Why do we call it ‘Random Access Memory’? Because the CPU can access any memory location, at any time, in any order. Because of this ability, programs held in RAM can run very quickly.

ROM- Read Only Memory ROM is a type of main memory because it is directly accessed by the CPU. ROM is Read Only which means that it cannot be changed, overwritten or removed, whereas RAM is read/write memory which means that the contents can be changed. Secondly, unlike RAM, ROM is non volatile, meaning it keeps its data when there is no power supply. ROM stores BIOS instructions. When you switch on your computer, the BIOS checks the hardware is installed correctly (e.g.memory, graphics card etc) It also checks the input/output devices such as the keyboard. It then loads the operating system. ROM also stores the MAC Address 25 mins

ROM and RAM Summary RAM ROM Read write Read only Volatile Non volatile Used to hold running programs/ data & instructions Used to hold basic computer hardware settings e.g. BIOS Gigabytes of RAM installed Megabytes of ROM installed 20 mins

Virtual Memory

Virtual Memory as a diagram Draw this example in your books Less frequently used programs (e.g. webpages that you aren’t viewing at present) will be moved into virtual memory. Hard Disk Output available to you You require all of these applications and processes to be running (or you just don’t realise that some are!), but they don’t fit in the Ram space. RAM RAM is full

Virtual Memory as a diagram Draw and example in your books – Add notes to help you understand

Paging (also known as Swapping) “Paging is where relatively inactive pages are temporarily removed from physical memory and placed into virtual memory.” – Teach ICT. Paging happens when main memory is getting a bit full. The memory manager will look at the pages in main memory and identify those which haven't been used for a while. They will be moved into virtual memory. When an application needs data held on a page in virtual memory it will be swapped back into main memory and another inactive page may take its place. In order to manage these pages a 'page table' is created by the memory manager which stores the starting address of each page. The starting address is where the first byte of each page is physically located in memory.

Disadvantages of using virtual memory The read / write speed of a hard drive is much slower than RAM, and technology of a hard drive is not geared towards accessing small pieces of data at a time. If the system has to rely too heavily on virtual memory, there will be a significant performance drop. Often the operating system has to constantly swap information back and forth between RAM and the hard disk, which operates all the time. This is known as ‘disk thrashing’ and significantly slows down the execution of the program. The more RAM a computer has, the less virtual memory will be required, this is why inserting more RAM massively improves performance.

14/11/2018 Flash Memory

Flash Memory Mini Task Write a definition of what you consider flash memory to be and where it is commonly used. Defined Flash memory is commonly used in portable devices (phone, camera) or as portable secondary storage. This is memory that is programmed electronically but then keeps its data when the power is turned off. Flash memory is ideal for transporting data as they are light and being solid state memory they have no moving parts that could be damaged.

Flash Memory Advantages Disadvantages Very fast access speed, far faster than discs. Small, light and easily portable Quiet Flash memory is said to be ‘solid state’ as it has no moving parts that could be damaged if the device was knocked or dropped and therefore there is less chance of losing data More expensive than a hard disk or DVD The storage capacity is less than a hard disk drive There is a limited number of erase/write cycles, up to 100,000 for high quality SSDs and so it cannot be used indefinitely