1.2 MemoryStorageAndBinary
1.2 MemoryStorageAndBinary
Computers
1.2 Memory, Storage and Binary
Primary Memory
This is storage that the CPU (processor) can access directly. There are two types of primary memory:
RAM ROM
Random Access Memory Read Only Memory
Activity 1
Write out the following sentences about memory and fill in the blanks.
RAM is used to store the programs (applications) and data the computer is currently working on.
RAM is volatile, this means that it is wiped when the power is turned off.
The more RAM a computer has, the more programs and data it can run at the same time without it slowing down.
Activity 2
The problem is that RAM is blank when the computer is turned on.
The ROM contain the program that is used to start up the computer. This is known as the ‘boot’ program.
In many systems the boot program is known as the BIOS (Basic Input Output System).
These devices allow data to be stored when not in use by the CPU.
They are non-volatile so the data is not lost when the computer is turned off.
They also allow users to transfer data from one computer to another.
When data in secondary storage needs to be used, it needs to be transferred to the primary memory.
Internal and Removable
Internal
Internal storage devices are built into the computer. They are used to store the operating system, programs and files.
Example: Hard disk drive.
Removable
Refers to storage that can be taken away from the computer and used on another computer.
Sometimes the device itself is not removed from the computer, only the medium on which the data is stored is
removed not the drive.
Example: CDs and DVDs
Activity 4
Write out the following sentences about secondary storage and fill in the blanks.
Write out the following sentences about storage and fill in the blanks.
Internal & Removable Storage: Internal storage devices are built into the
__________ . They are used to __________ the operating system,
programs and files. Refers to storage that can be taken away from the
computer and used on __________ computer. Sometimes the device itself
is not __________ from the computer, only the medium on which the
data is stored (e.g. a CD) is removed not the drive.
Magnetic Storage
Feature a spinning disc and a moving head that can either magnetise or demagnetise any part of the disk.
0s are represented by altering parts of the disc so they don’t reflect a laser beam
1s are represented by parts that haven’t been altered and still reflect a beam.
The term solid-state refers to all devices that use flash memory.
This is useful for portable devices that need to be carried around. They are also faster and more reliable.
Write out the following sentences about magnetic storage and fill in the blanks.
Write out the following sentences about optical storage and fill in the blanks.
Write out the following sentences about solid state storage and fill in the blanks.
Solid-State Storage: The term solid-state refers to all devices that use
__________ memory. They are ‘solid-state’ because they have no
__________ parts. This is useful for __________ devices that need to be
carried around. They are also faster and more reliable.
Binary
What is binary?
Denary
The denary number system (also known as decimal) uses 10 symbols (0-9) to represent numbers. It is a base-10 number
system.
Computers don’t have fingers, they have circuits. These circuits can be in one of two states, on or off. So they use a
base-2 number system.
On = 1
Off = 0
Transistors
Transistors are switches that are used in digital circuits,
in their off state they represent a 0 and in their on state
they represent a 1.
128 64 32 16 8 4 2 1
Sitting = 0 Standing = 1
Counting in Binary Part 2
128 64 32 16 8 4 2 1
0 0 0 0 0 0 0 1
Counting in Binary Part 3
Who needs to show a number one and who need to show zeros?
128 64 32 16 8 4 2 1
0 0 0 0 0 0 1 0
Counting in Binary Part 4
65 92 21 129 254
255 58 5 17 72
63 7 167 150 256
128 64 32 16 8 4 2 1
Denary to Binary
65
Start by writing out the place values:
128 64 32 16 8 4 2 1
0 1 0 0 0 0 1 0
Then write 1s underneath the place values that add up to the denary number.
a. 3
b. 46
c. 76
Binary to Denary
128 64 32 16 8 4 2 1
0 1 0 0 1 0 1 0
As a class convert these numbers 64+8+2=74
from binary to denary:
ACTIVITY
a. 01010110
b. 01011010
c. 10010011
Activity 9
Binary Task
You are going to write a guide in your book on how to convert between binary and denary and vice versa.
The guide should be written for someone who has never learnt binary before. For example, year 7 students.
It could use text, images and diagrams and should take up half a page in your exercise book.