Paper 1 Revision Complete
Paper 1 Revision Complete
Keywords
• State: give 1 word or 1 sentence answers with no description.
• Identify: give 1 word answers
• Describe: give a brief explanation of the required content.... I.e.
Describe the von neumann architecture: the von neumann architecture
makes used of the fetch decode execute cycle to process data and
instructions from RAM.
• Explain: give a detailed explanation.. I.e. Explain how sound is understood
by computers?
Sound is converted into binary by:
1. Measuring the height of a soundwave at regular intervals.
2. Each of these measurements is called a sample.
3. Each sample is then converted to binary.
Keywords
• Justify: give your answer and your reasoning for the given answer. I.e. Jen
wants to pick either computer A (1.2ghz) or computer B(3.6ghz).
Recommended a computer and justify your choice?[3]
• Jen should pick computer B. This is because it has a higher clock speed of
3.2ghz compared to 1.2ghz, which means computer b will perform
3.2billion FDE cycles per second compared to 1.2billion FDE cycles for
computer A.
• Discuss: give detailed description of each topic. Break the topic into
subtopics and explain each subtopic.
• Compare: give detailed description of each item being compared and give
justification of why 1 is better than the other.
CPU
• The purpose of the CPU is to process all data given to a computer. This is
also called a processor.
• It does this using the FDE cycle(this is known as the Fetch - Decode -
Execute cycle )
Steps of FDE cycle:
1. Fetch Data from RAM
2. Decode instructions
3. Execute instructions
4. Increment program counter
5. repeat
CPU components:
1. CU: sends control signals to direct all other components.
2. ALU: performs mathematical calculations and makes logical decisions
3.Registers: these are superfast memory location inside the CPU(closest to
CPU)
4.There are 4 registers:
• MAR(memory address register): holds address of current instruction
• MDR(memory Data register): holds the actual current instruction
• ACCUMULATOR: holds the result of any calculations.
• PROGRAM COUNTER: holds the address of the next instruction.
MAR and MDR work together. MAR tells the CPU where the current instruction is stored in RAM, this instruction
then gets fetched to the MDR
The CPU
Unit 1 Systems architecture, memory and storage
Clock speed
Cycles per second
Cache size
measured in hertz Superfast working
memory
Number of cores
The number of duplicate
processors linked
together on a single chip
The CPU
Unit 1 Systems architecture, memory and storage
Processor Speed
• One cycle per second = 1 Hertz (Hz) = 1 instruction
carried out each second
• 1 Kilohertz (KHz) = 1000 cycles per second
• Mega=1000xKilo
• So 1 Megahertz is….
• 1,000,000 cycles per second
• Giga=1000xMega
• So 1 Gigahertz (GHz) is….
• 1 Gigahertz (GHz) = 1,000,000,000 cycles per second
(Approximately 1 billion!)
The CPU
Unit 1 Systems architecture, memory and storage
Multi-core processors
• A dual-core processor has two processors in the same integrated
circuit, linked together
• A dual-core processor has twice the power but does not always
perform twice as fast, because the software may not be able to take full
advantage of both processors
• A quad-core processor has four linked processors
The CPU
Unit 1 Systems architecture, memory and storage
Effect on speed
• A quad-core processor working on many different tasks simultaneously,
under ideal conditions can be up to 4 times faster than a single-core
processor
• If the computer is running a single program, it is not necessarily any
faster, since instructions have to be carried out in sequence
The CPU
Unit 1 Systems architecture, memory and storage
Cache memory
• Cache is a small amount of very
CPU
fast, expensive memory in the CPU
• It can be accessed faster than
regular main memory (RAM)
• Why is this useful for frequently Cache
used data?
Main Memory
The CPU
Unit 1 Systems architecture, memory and storage
Embedded systems
The CPU
Unit 1 Systems architecture, memory and storage
What is it?
• An embedded system is a computer system that is built into another
device.
Properties:
• Embedded systems have limited functions.
Why we need them?
• Without embedded systems, a digital device would not be able to
perform specific functions
The CPU
Unit 1 Systems architecture, memory and storage
Primary memory
The CPU
Unit 1 Systems architecture, memory and storage
RAM
• Is often referred to as:
• main memory, primary memory,
central memory, core memory
RAM
RAM
• The computer stores running programs
and data in RAM when your computer is
turned on
• When your computer is off, RAM is empty
as it is volatile
• All your programs and data are safe on
your hard disk
Empty
The CPU
Unit 1 Systems architecture, memory and storage
Operating system
RAM
• When you switch on your computer, the
startup instructions load the Operating
System from your hard disk into RAM
Operating
system
The CPU
Unit 1 Systems architecture, memory and storage
RAM memory
RAM
• When applications or programs are
loaded, they are copied into RAM from
the hard disk Documents
in use
• Documents (data) that are used with
Clipboard
those programs are also opened by
copying them into RAM as the working Excel
memory Word
Operating
system
The CPU
Unit 1 Systems architecture, memory and storage
Virtual memory
Hard Disk RAM
• Virtual memory is part of the hard drive
used as an extension to RAM Documents
in use
• This helps the computer run more
programs then the total size of RAM. Clipboard
Excel
Word
Operating
system
Browser
The CPU
Unit 1 Systems architecture, memory and storage
Secondary storage
Storage Technologies
Learning Objectives:
To understand…
Magnetic Storage
• the need for secondary storage
• data capacity and calculation of
data capacity requirements
• common types of storage:
• optical
• magnetic
• solid state
• suitable storage devices and
storage media for a given
Optical Storage
application, and the advantages
and disadvantages of these, using
characteristics:
• capacity
• speed
• portability
• durability
• reliability
• cost.
Solid State Storage
Which storage media, when and why?
Learning Objectives: Magnetic Storage
To understand…
• the need for secondary storage Use Desktop computers to store large files, programs and
operating systems
• data capacity and calculation of
data capacity requirements Capacity 750GB – 3TB (3000GB) (Large)
• common types of storage: Speed High read/write speeds
• optical
• magnetic Portability Heavy / poor portability (even external are clunky!)
• solid state Durability Dropping this device could cause damage, especially to the
• suitable storage devices and ‘read head’
storage media for a given Reliability Can be used again and again but does have a limited life (a
application, and the advantages good few years)
and disadvantages of these, using Cost Low cost (quite cheap)
characteristics: Hard Disk
• capacity (Hard Drive)
• speed
• portability
Use Backing up vast amount of data
• durability
• reliability Capacity 1 – 5TB (Very Large)
• cost. Speed High write speeds BUT Slow read speeds
Portability Fairly small and light (but reading device is not because if the data
you need is at the end of the tape you have to read/play the tape
from the start – which takes time (known as serial access))
Durability Fairly durable.
Reliability Can be used again and again.
Cost Cheap
Magnetic
Tape
Which storage media, when and why?
Learning Objectives:
To understand…
Optical Storage
• the need for secondary storage Use Storage of small media files and documents
• data capacity and calculation of
data capacity requirements Capacity 650MB (Small)
• common types of storage: Speed Moderate read/write speeds
• optical
Portability Very portable and light
• magnetic
• solid state Durability Fair durability, can survive the odd knock but scratches can
• suitable storage devices and damage the data.
storage media for a given CD-ROM Reliability CD-Rs are write once but can be read over and over. (CD-RW
application, and the advantages can be reused)
and disadvantages of these, using Cost Very cheap
characteristics:
• capacity
• speed
• portability
• durability Use Storage of larger media files and documents
• reliability Capacity 4.37GB (DVD) 25GB (Standard Blu-Ray) (Small)
• cost.
Speed Moderate read/write speeds
BLU-RAY
Portability Very portable and light
Durability Fair durability, can survive the odd knock but scratches can
damage the data.
Reliability DVD-Rs are write once but can be read over and over.
DVD-ROM
Which storage media, when and why?
Learning Objectives:
To understand…
Solid State / Flash Storage
• the need for secondary storage Use Desktop computers, laptops and tablets to store large files,
• data capacity and calculation of programs and operating systems
data capacity requirements Capacity 64GB – 480GB (Moderate)
• common types of storage:
• optical Speed Super Fast (Read/Write)
• magnetic Portability Very portable (small and lightweight)
• solid state
• suitable storage devices and Durability No moving parts so can survive knocks and scrapes
storage media for a given Reliability Can be re-used many times (up to 100,00 times)
application, and the advantages
and disadvantages of these, using Solid State Drive Cost Very Expensive (per Gb)
characteristics:
• capacity
• speed
• portability Use Phones, Cameras (portable devices) – great choice as no
• durability moving parts so mobile devices can function whilst on the
• reliability move
• cost. Capacity 16GB – 64GB
Speed Super Fast (Read/Write)
Portability Extremely portable (small and lightweight)
Durability No moving parts so can survive knocks and scrapes
NAS Drive
Other Storage Methods
Learning Objectives:
To understand…
Cloud Storage (online storage)
• the need for secondary storage Use Used to store documents and media files online. This means that you can go to
• data capacity and calculation of another computer and access your files (providing you have internet access)
data capacity requirements
• common types of storage: Capacity Unlimited (providing you can pay for it).
• optical Speed Depends on network / bandwidth speeds
• magnetic Poor bandwidth can cause uploading and downloading of large files to take a long
• solid state time
• suitable storage devices and Portability It is virtual so you don’t have anything physical to move around.
storage media for a given Durability Providing you keep up payments and the company looks after their storage
application, and the advantages Reliability devices – very durable and reliable.
and disadvantages of these, using This is often because they back up storage devices in many places.
characteristics: There can be issues with the law as a company’s data may be stored in a country
which doesn’t follow the same data protection laws.
• capacity The hosting company could also me attached by hackers who could steal your
• speed data.
• portability
Cost Can be expensive depending on the service – but often it is free for a few Gbs.
• durability
• reliability
• cost.
Data representation
The CPU
Unit 1 Systems architecture, memory and storage
File sizes
• All files stored in a computer take up storage.
• Each file has its own file sizes.
• For e.g a movie stored in your computer may be 500MB.
• The computer uses its own measurement system to determine the size
of a file.
The CPU
Unit 1 Systems architecture, memory and storage
Denary to binary
• Convert 28 to binary:
• Method
• Working right to left, write out the numbers 1, 2, 4, 8 and so on doubling each time to 128
128 64 32 16 8 4 2 1
0 0 0 1 1 1 0 0
Local Area Networks
Unit 3 Networks, connections and protocols
Hexadecimal
• Hexadecimal (or hex) is a number system which
uses base 16
• As we only have 10 digits, it uses 0-9 and then the
letters A to F
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0 1 2 3 4 5 6 7 8 9 A B C D E F
• What is F in denary?
• What is 10 in hex?
Local Area Networks
Unit 3 Networks, connections and protocols
0010 0111 =
00011011 =
00101100 =
Local Area Networks
Unit 3 Networks, connections and protocols
0 1 1 1 1 0 0 0
• Looking at the table above, what effect does a shift left of one place have
on the binary value?
• What effect would a shift right of two places have?
The CPU
Unit 1 Systems architecture, memory and storage
Effects of shifts
• Logical shifts can very quickly multiply or divide a binary number by a
factor of two
• Left shifts multiply
• Right shifts divide
0 0 0 1 0 1 1 0
0 0 0 0 0 1 0 1
Overflow error
• Computers have a limit to how many bits they can store. E.g. 8bit,
16bit, 32bit, 64bit.
• An overflow error is an error that occurs when the result of a binary
operation has more bits than the number of bits the computer works
with.
• This happens because the computer is unable to store the extra bit,
so it has to drop it.
45
The CPU
Unit 1 Systems architecture, memory and storage
0111101
• The Most significant bit(MSB) is the Leftmost digit in a binary number.
01111000
Binary Addition
Carry: 1 1
1 1 1 0 Rules:
+ 1 0 1 1+0=0
1 0 0 1 1 1+1=0 carry 1
0+0=0
1+1+1=1 carry 1
Calculations
• colour depth is the amount of bits used to represent each pixel.
• The resolution is the total number of pixels within an image
• DPI is the number of pixels per inch of screen.
Sound sampling
The CPU
Unit 1 Systems architecture, memory and storage
Sound sampling
The CPU
Unit 1 Systems architecture, memory and storage
Key information:
• Sound is converted from audio waves to digital
• This is done by taking samples of the sound at
regular intervals.
• This is known as sampling
• The amount of samples taken per second is known
as sampling rate.
• The bit depth is the number of bits used to record
each sample.
5 00000101
The CPU
Unit 1 Systems architecture, memory and storage
area.
Controller/Card)
• transmission media
WirelessAccessPoint(WAP)
• Used to connect wireless devices to a wireless
network.
• Extends the range of existing wireless networks.
Client
Web Database server
Response server
Local Area Networks
Unit 3 Networks, connections and protocols
Client-server advantages
• Some specific examples of advantages include:
• With file servers, just one file server needs to be backed up and files can be accessed
from any computer
• Email servers provide a central place for email that is then accessed from different
devices
• One print server can manage all files to be printed. This allows one printer to be
shared by many computers
Local Area Networks
Unit 3 Networks, connections and protocols
Peer-to-peer networking
• Features of a peer-to-peer network include:
• Suitable for a small companies with fewer computers
• No central server controls files or security
• All computers can easily see files on all other computers
• All computers can communicate with each other without going
through a server
Wired networks
• Connected together using wires
• Faster transfer speeds compared to wireless networks.
• Is expensive to install compared to wireless
• More secure compared to wireless.
• Restricted movement as new wires are needed for new devices.
• Require an NIC
Local Area Networks
Unit 3 Networks, connections and protocols
Wireless networks
• Connected together without wires
• slower transfer speeds compared to wireless networks.
• less secure compared to wired.
• Allows more devices to be connected at a time.
• Devices can be moved around and remain connected
• Cheaper as less wiring needed
• Require an WNIC
Local Area Networks
Unit 3 Networks, connections and protocols
Network protocols & Layers
The CPU
Unit 1 Systems architecture, memory and storage
Protocol types
Protocol responsibility
HTTP used for accessing and receiving web pages in the form of HTML files on the
Internet
HTTPS used for securely accessing and receiving encrypted web pages in the form of
HTML files on the Internet
POP Retrieves email(or contents of email) from a mail server. Deletes the email(or
contents of email) from the mail server.
IMAP Retrieves email(or contents of email) from a mail server. Keeps a copy of the
email on the server.(no deletion)
SMTP Set of rules for transferring emails between mail servers.
TCP Breaks down and re-assembles packets. Also requests any missing packets
during packet switching.
IP Routes the packets being sent during packet switching.
FTP Used to send or receive files over the internet
The CPU
Unit 1 Systems architecture, memory and storage
TCP/IP protocol
• TCP (Transmission Control Protocol)
Is in-charge of breakdown and reassemble part of packet
switching
• Breaks up messages sent over the Internet into small chunks called
packets
• Reassembles the packets at the other end
• Detects errors
• Resends lost messages
• IP protocol
Is in-charge of choosing the routes to take during packet
switching
• Routes the individual packets
The CPU
Unit 1 Systems architecture, memory and storage
Layers
A layer is a group of protocols used to achieve a certain
goal.
Each layer can have multiple protocols.
Each layer can work independently of each other.
Each layer prepares the data to be sent to the next one.
The CPU
Unit 1 Systems architecture, memory and storage
The 4 layers
• Application layer:
Turns data into websites and other application or vice versa. all applications that
operate on networks such as browsers operate here.
• Transport layer:
Controls the flow of data. Checks if data is too big and breaks it down into packets.
• Network layer: (the GPS)
Makes connections between networks to accurately plots course of data to
destinations. Labels the packets.
• Data-Link layer:
Physically links the devices together and actually the data. E.g. ethernet cables, Wi-Fi
routers, WAP’s.
The CPU
Unit 1 Systems architecture, memory and storage
Layers
The CPU
Unit 1 Systems architecture, memory and storage