T4 Memory
T4 Memory
This instruction moves the value in memory address 053 into a register.
When the instruction is executed, describe the stages, CPU components and
A computer system (1) dedicated to a specific task (1) that is typically held in
ROM / non-volatile memory (1). An embedded system can be part of a larger
mechanical or electrical system (1).
Any 2 marks from the above.
Memory
Computer architecture and storage
systems.
The main unit has a microprocessor (1) which is used interpret the input device
readings and decide whether to ring the alarm (1).
Memory
Computer architecture and storage
Starter
• What are four types of
memory that are used
in computers systems?
Memory
Computer architecture and storage
Starter
• From previous lessons:
• CPU registers
• Cache
• This lesson:
• RAM
• ROM
• Virtual memory
Memory
Computer architecture and storage
RAM ROM
Memory
Computer architecture and storage
RAM
• RAM stores programs or data that are running
or open
• It is directly accessed by the CPU
• When your computer is turned off, data stored in RAM is lost
• RAM is volatile as it loses data if the power is off
Worksheet
• Complete Task 1 on Worksheet 4
Memory
Computer architecture and storage
RAM
RAM
• When the computer is first turned on,
no data is stored in RAM
Empty
Memory
Computer architecture and storage
Operating system
RAM
• The computer first loads the operating
system from your hard drive into RAM
Operating
system
Memory
Computer architecture and storage
Operating
system
Memory
Computer architecture and storage
Virtual memory
Hard Disk RAM
• Virtual memory is part of the
hard drive used as an extension
Browser
to RAM
• A page of data is a fixed-length block Documents
in use
of virtual memory
• When pages of data are moved Clipboard
between RAM and hard disk this is
known as swapping or paging Word
• What are the advantages and
disadvantages of using part of the
Operating
hard disk in this way? system
Excel
Memory
Computer architecture and storage
Virtual memory
• Advantages
• Uses cheap secondary storage on the hard drive
• Prevents error messages saying ‘out of memory’ – the
programs and files will still open
• Disadvantages
• Accessing virtual memory is very slow
• To access data, the existing data in RAM needs to be copied
to the virtual memory, then data in virtual memory needs to be
copied to RAM
Memory
Computer architecture and storage
• What is stored
in ROM on a
modern computer?
Memory
Computer architecture and storage
ROM
• ROM is used in modern computers to store:
• The initial program that is run when the computer is turned on
• This is known as the bootstrap
• It tells the computer where it will find the operating system on
the hard drive
• It also stores the Basic Input/Output System (BIOS)
• The BIOS can run without a hard drive or other secondary
storage being present
• It controls basic technical configuration of the computer such
as the processor speed and system time
Memory
Computer architecture and storage
Memory speed
• The speed that data can be accessed changes
through the different components in a computer
• The slower components are far cheaper for each byte of
data stored
Memory
Computer architecture and storage
Worksheet
• Complete Task 2 on Worksheet 4
Memory
Computer architecture and storage
Plenary
• In pairs test each other on the following:
1. What does RAM stand for? Haya
2. What does ROM stand for? Ammar
3. Name Three difference between RAM and ROM Sheika
4. Why is virtual memory much slower than RAM? Alayham
Memory
Computer architecture and storage
Plenary
• RAM stands for Random Access Memory
• ROM stands for Read Only Memory
• RAM can be written to, ROM can’t
ROM is non-volatile, RAM is volatile
• Typically, a modern personal computer will have 8-32 GB of
RAM available