CH 3
CH 3
Below is an example of data being inputted, processed and the results being outputted
Step Example
What is a microprocessor?
John Von Neumann developed the concept of the stored program computer in the
1940s
The Von Neumann computer architecture which most modern day computers use, is
based upon this concept
o The key feature of the stored program concept, and Von Neumann architecture,
is data and instructions are stored in the same memory ( RAM ) as binary
o Another feature of Von Neumann architecture is a central processing unit
(CPU) fetches instructions from memory and executes them one at a time
(serially)
o The CPU then stores the results back into memory
Components of the Central Processing Unit
The main purpose of the CPU is to execute instructions and process data
The CPU has two main components - the Control Unit (CU) and the Arithmetic Logic
Unit ALU)
o The Control Unit controls the flow of data around the CPU
o The Control Unit also sends control signals to the different components
instructing them what to do e.g. read, write, add, subtract
o The Control Unit decodes instructions (into an opcode and operand )
o The Control Unit controls the timings of operations (the clock speed)
o The Arithmetic Logic Unit(ALU) performs the calculations required to execute
the instructions, these include ADD and SUBTRACT
o The ALU also carries out logical operations such as COMPARE
o The ALU has a built-in register where it stores interim results of calculations
The CPU also contains a number of registers which are small memory locations
within the CPU, which temporarily store data needed to execute an instruction
Special purpose registers have specific roles to play in the execution of an instruction
Exam Tip
If asked to describe the purpose of the PC, the MAR or the MDR make sure you explain
how the data is being fetched or written to memory.
Worked example
What are the characteristics of Von Neumann architecture?
[2]
Any 2 from:
Both data and instructions are stored in the same memory unit [1]
Single Arithmetic and Logic Unit [1]
Single Control Unit [1]
Uses the FDE cycle to execute instructions serially [1]
Buses
Components within the CPU and wider computer system are connected by buses.
These are wires down which electronic signals and data travel. The different buses are
collectively called the system bus
The system bus is made up of three different buses - the data bus, the control
bus and the address bus
o The data bus transmits data from the CPU to memory or input/output
controllers. It is bidirectional which means data can travel in both directions
o The address bus transfers addresses from the CPU to memory. It
is unidirectional which mean addresses only go from the CPU to memory
o The control bus transfers control signals from the control unit to other
components in the computer system such as memory or input/output controllers.
The control bus is bidirectional
A diagram showing how the different buses connect the components in a computer
system
Worked example
Which bus is unidirectional?
[1]
A Address bus
B Data bus
C Control bus
D System bus
A [1]
The Fetch, Decode, Execute cycle
The Central Processing Unit (CPU) executes instructions by performing the Fetch
Decode Execute cycle
o The CPU fetches an instruction from memory
o The instruction is then decoded ( by the Control Unit) into an opcode and
an operand
o The instruction is executed and the whole cycle is repeated with the next
instruction in the process
Exam Tip
Make sure you read the question carefully and look at the numbers of marks allocated to
judge the level of detail required. Often questions on the fetch-decode-execute cycle
only require you to describe the steps rather than explain how the registers and buses
are used during each step (as shown in the table above)
CPU Performance
Worked example
One computer has a single core processor and the other has a dual core processor.
Explain why having a dual core processor might improve the performance of the
computer
[2]
Any 2 from:
The computer with the dual core processor has two cores/double the amount of
cores [1]
Parallel processing can take place [1]
Each core can execute a separate instruction at the same time [1]
Each core can process instructions independently of each other [1]
Exam Tip: There are three key factors that affect CPU performance - the number of cores in
your CPU, the cache size and clock speed. You need to able to identify these factors and
explain how they affect the computer’s performance.
Instruction Sets
An instruction set is a list of all the commands that can be processed by a CPU
Each command has a unique binary code
The table below shows an example instruction set. Each instruction has
a mnemonic that indicates what the instruction does alongside a corresponding binary
code
Instruction Set
ADD 10100001
After an instruction is decoded into an opcode and an operand, the CPU finds the
opcode in the processor’s instruction set. It then knows what operation to perform when
executing the instruction
Worked example
Using the instruction set in the table above what would be the operation if the instruction
was 00100010 00000010?
[1]
Either of:
Embedded Systems
Type of embedded
Description
system
Embedded
Possible input devices Possible Output
system
Movement sensor
Lighting system Movement sensor Lights
Keypad to enter alarm
code
Security system Alarm
Camera
Movement sensor
Vending machine Keypad to make choice Actuator controlling
movement of choice
Keypad to set temperature
Central Heating
Heat
system
Temperature sensor
Worked example
Describe how an embedded system controls a washing machine
[3]
The user selects the wash cycle they require using a keypad [1]
The microprocessor will process the inputs and begin to heat the water and move the
drum to begin the wash. The actuator controlling the drum and the heating mechanism
are the output devices [1]
Sensors will monitor the water level and temperature [1]
Input Devices
Every computer system receives commands and data, from the real world, via input
devices
Input devices converts inputs into digital data which can be processed
For conventional computer systems, such as desktop computers and laptops, the most
common input devices are the mouse and the keyboard
There are a wide range of input devices used in more specialist computer systems such
as scanners and sensors
Exam Tip
The exam board has limited the number of devices you may be asked about to eight -
keyboard, optical mouse, microphone, barcode scanner, digital camera, QR code
scanner, touch screen (resistive, capacitive and infra-red), 2D and 3D scanners
If you're asked to list some input devices, check you're not listing one included in the
question as you won't get a mark for this
You won’t be asked how they technically work but may be asked what each device does,
why it does it and when it may be used
Barcode Scanner
https://vectorportal.com/vector/scanning-a-barcode./21323
Barcodes are a series of black and white bars which represent a code
A barcode reader shines a red laser at the barcode to read the data it represents
The light from the white lines is reflected back
Black lines absorb the light so less is reflected
The different levels of reflection are converted into a binary value which can be
processed by a microprocessor
A barcode reader can be handheld or built into a larger machine such as a self-service
checkout at a supermarket
Barcodes can be used in many ways such as identifying a product being sold
or tracking a package through the delivery process
Benefits include faster checkouts, automated stock control, less chance of
error due to manual entry of data, and more detailed tracking information
Worked example
How are barcodes used in supermarkets to manage stock control?
When a customer purchases an item, its barcode is scanned in at the checkout [1]
The barcode reader sends the digital code for the product to the stock database where
it is removed from the stock inventory [1]
This means the number of items of stock is always accurate and up to date [1]
and the supermarket staff can reorder items quickly when stock is low [1]
Digital Camera
A digital camera works by capturing light and converting it into a digital image
Light enters the camera through the lens, it reaches an image sensor where it is split into
millions of pixels (small squares). Each pixel measures light intensity which
is converted into binary and represents a colour.
Digital cameras are integrated into smartphones , used in security systems and
by professional photographers to create high quality digital images
An advantage of digital cameras is they show a preview of the image
They also instantly create an image which can then be
easily duplicated and transmitted via bluetooth or WiFi
Software can be used to edit digital photos, for example applying a filter or retouching
a photo
Keyboard
A keyboard is the most common device used for text-based data input
They are connected either by a USB cable or wirelessly to the computer system
They are built into laptops.
Smartphones and tablets have virtual keyboards
Each key on a keyboard has a peg underneath it which makes contact with a conducting
membrane. This is then converted into an electrical signal to transmit a unique
character code
Microphone
A computer microphone works by converting sound waves into electrical signals that
can be processed by the computer.
They can capture any real world sound and convert it into digital data which can be
stored, duplicated or modified
The microphone has a diaphragm that vibrates in response to sound waves. These
vibrations are then converted into electrical signals by a coil of wire attached to the back
of the diaphragm. Changes in the signal are recorded by a microprocessor using a
analogue to digital converter
Microphones are used to record music, telephone calls, communicate
online and dictation
Optical Mouse
A mouse use a laser to detect and track movement, this is then processed by a
microprocessor which interprets the movement and replicates it when moving a virtual
cursor on-screen
Items can be selected or moved using the left mouse button, whilst the right button
usually displays additional menus
They can be wired or wireless
They are used to control the cursor in a Graphical User Interface (GUIs)
They are simple to use and provide the user with an intuitive way to navigate the
computer
They are reliable due to no moving parts
QR code scanner
https://pixabay.com/vectors/qr-code-scanner-bar-code-156717/
Worked example
Describe how festival organisers could make use of QR codes and QR code scanners
[4]
Any 4 of:
Musical recordings
Telephone calls
Dictation
Touchscreen Entering text and commands
on mobile devices (tablet,
smartphone) Can be durable
Information screens
Exam Tip
An output device shows the results of the processing in a way humans can understand
In a general purpose computer system, the main output device is the monitor/screen
Other output devices include projectors, printers, speakers and actuators
Exam Tip
If you're asked to list some output devices, check you're not listing one included in the question
as you won't get a mark for this
Actuators
Actuators are used in conjunction with a motor to translate energy (electrical, air, hydraulic)
into real-world movement of a physical object.
They come in a variety of sizes and have been made specifically for a particular function.
Examples of use include turning a wheel, opening or closing a door, controlling a conveyer belt,
operating machinery, moving robotic arms, vibrating a machine, starting or stopping a pump,
opening or closing a valve
They are often used with sensors. The input of the sensor is checked against stored values. If
the input is within a certain range an actuator is used to provide movement of a physical object
Worked example
A theme park has a game where a player has to run from the start to the finish without getting
wet. The system for the game uses sensors and a microprocessor to spray water at a player as
they run past each sensor
Describe how the sensors and the microprocessor are used in this system
[6]
Light projectors
Digital light
Higher contrast ratios. Image tends to suffer from
projector (DLP)
“shadows” when showing a
Smooth video moving image
Inkjet printers:
Laser printers:
Worked example
Match the characteristic to the correct type of printer
3D printers create 3D models of a digital model by depositing layers of material, such as plastic
or resin, on top of one another to slowly build up a 3D object
They allow for precision and can be used in medicine to create prosthetics and blood vessels
3D printers can be used to create rapid prototypes
Models can be transmitted digitally and then models printed out all across the world
Worked example
Describe three benefits of LCD screens
[3]
Any 3 of:
Speakers
Speakers are used to take digital sounds or recordings and output them as sound waves which
can be heard by humans
The digital data is changed into a electric current using a digital to analogue converter (DAC)
It is then passed through an amplifier to create a current large enough to drive a loudspeaker
The loudspeaker converts the current into a sound wave
Typical uses include listening to music, listening to video sound, telephone calls and alarms
Worked example
What would an appropriate output device be for a large screen showing replays during a football
match?
Justify your choice.
[3]
Exam Tip
This section of the course has been simplified for exams taking place from 2023 onwards. In the
past students needed to know how each device physically worked. You now only need to know:
Exam Tip
You are likely to be given a scenario and asked to identify the sensors that would be
used.
The 14 sensors you need to be aware of are in the table below
Monitoring rotating
machinery such as turbines
Moisture Presence and levels of Monitoring moisture in soil
moisture
Monitoring damp in
buildings
pH Acidity or alkaline Monitoring soil to ensure
optimum growing
conditions
Monitor pHlevels in
chemical processes
Pressure Gas, liquid or physical Monitoring tyre pressure
pressure
Monitoring pressure in
pipes during manufacturing
process
Proximity Distance Monitoring position of
objects in robotics
Used to control
temperature in chemical
processes
Worked example
What type of sensor would be used to help drivers when reversing?
[1]
A Motion
B Infra-red
C Light
D Proximity
D [1]
A proximity sensor would be used to monitor how close the car was to objects. It would
then sound a warning alarm when the proximity is below a certain value (meaning the
car is too close to an object)
[1]
A Monitoring
B Control
A [1]
The reversing warning system is a monitoring system. It indicates to the user when the
car is too close to an object but it does not stop the car automatically
Virtual Memory
The purpose of RAM is to store current data and program instructions in use
The amount of physical RAM available is limited. The average modern desktop
computer has between 4GB and 16GB of RAM. Some programs are larger than this
Virtual memory is part of secondary storage which acts as RAM when RAM is full
It prevents the computer system crashing when RAM is full
Data that needs to be accessed by the CPU directly is switched by the operating system
from virtual memory into RAM and an inactive page from RAM replaces it in virtual
memory. This is called page switching
The table describes the steps that are taken when a program is opened on a computer
Step Description
Worked example
Sandy is playing an open world role playing computer game set in a large 3D
environment. This requires the use of virtual memory. Explain why
[3]
Primary Storage
Primary storage is directly accessible by the CPU , it includes RAM, Cache, and ROM
The purpose of Random Access Memory (RAM) is to store data, instructions and
software (including parts of the OS) currently in use
o RAM is also called main memory
o RAM has faster read/write speeds than secondary storage
o RAM is volatile which means it is temporary memory and all data will be
lost when the computer is switched off
o The larger the main memory, the more data the computer access quickly,
which can improve the computer's performance
o A standard desktop computer has between 4GB and 16GB of RAM
The parts of the operating system currently in use will be stored in RAM
The purpose of cache is to store frequently/recently used instructions and data
o Cache has faster read/write speeds than RAM
o There are different levels of cache
Level 1 cache is situated within the CPU
Level 2 and 3 cache are situated on the motherboard
o If you increase the amount of cache you can store more frequently used data
and increase the performance of your computer
If you have too much cache it will decrease the data access speeds
because the data requested will take longer to find
o Cache is volatile and all data will be lost when the computer is switched off
A diagram showing the parts of a computer system which are classed as primary
storage
The role of Read-only memory (ROM) is to store the computer’s boot-up sequence
o The boot-up sequence is a set of instructions the computer executes when then
computer is initially switched on
o This sequence will run a series of checks to ensure all of the system hardware is
working
o It will then load the operating system which will move from secondary storage
to RAM
ROM is non-volatile which means data will be stored when the computer is switched off
ROM is read-only which means data cannot be written to ROM
RAM ROM
Volatile Non-volatile
Can read and write data to RAM Read-only
Exam Tip
Make sure you're specific about which component you're referring to in exam questions
and give the proper name e.g. RAM rather than memory unit
Worked example
Describe what is meant by main memory and how it is used in the Von Neumann model
for a computer system
[3]
Any 3 of:
Secondary Storage
Can be directly accessed by the CPU Cannot be directly accessed by the CPU
Smaller capacity Larger capacity
Data access speeds faster than secondary storage Data access speeds slower than primary storage
D Blu-ray disc
C and D [1]
Random access memory and read only memory are both primary storage and can be
accessed directly by the CPU. Solid-state drives and blu-ray discs are classed as
secondary storage. Data can be permanently stored on them but they cannot be
accessed directly by the CPU
Exam Tip
When referring to a USB memory stick, don't refer to it as USB as this could be anything
that is plugged in with USB and not necessarily a storage device
There are three types of secondary storage - magnetic, solid state and optical
Exam Tip
You need to be able describe the operation of each type of secondary storage. You may
also need to recommend a type of storage for a given scenario and justify your choice
Magnetic
Magnetic hard disk drives have been the main type of internal secondary storage in
personal computers for many years however solid state drives are increasingly popular
due to their durability, low power consumption and high read/write speeds
A magnetic hard disk is made up of several metal discs coated with a magnetic
material
o These are called platters
o Iron particles on each platter are magnetised to represent a 0 or 1
A diagram showing the structure of a magnetic hard disk
Each platter is divided by concentric circles creating several tracks and wedge
shaped sectors. Where they intersect is a track sector
A diagram showing how each platter is divided by tracks and sectors
The hard drive spins the metal disk(s) at a high speed (typically around 5400-7200
RPM) using a motor
A read/write arm, controlled by an actuator, moves the head over the surface of the
disc to the location of the data
The data is read/written using electromagnets
Solid State
Solid State secondary storage is made of transistors that are arranged in a grid layout
It uses NAND and NOR gates in electrical circuits to persistently control the flow of
electrons
Current flowing is 1, no current is 0 - which is how electrical flow can represent binary
values
A NAND gate will take in two inputs and produce an output (1/electrical current) as long
as both inputs are not 1
0 0 1
0 1 1
1 0 1
1 1 0
A NOR gate will produce an output (1) only when both inputs are 0
0 0 1
0 1 0
1 0 0
1 1 0
Optical
A diagram showing how data is burnt on to optical discs to create lands and pits
which can then be used
In CD-RW the chemical composition of the disk is changed to represent 0s and 1s. This
change can be overwritten
Exam Tip
Make sure you have a greater understanding of the operation of the different
types of storage
Worked example
Describe how a magnetic storage device stores data
[6]
Any 6 of:
Cloud Storage
Cloud storage is the concept of storing data on remote servers, that can be accessed via
the internet, instead of on a local storage device (such as an SSD or HDD)
The physical servers, where the data is stored, are owned and managed by a hosting
company
Cloud storage offers several advantages over storing data on a local secondary storage
device
Benefit Explanation
Accessibility
Data can be accessed from anywhere
Data can be accessed by anyone with the relevant
permissions, making it quick to share files and collaborate
with others
Data can be accessed on any device with an internet
connection
Scalability Cloud storage providers allow customers to increase or
decrease their storage capacity as needed
Security
Cloud storage providers offer advanced security features,
such as data encryption and multi-factor
authentication multi-factor authentication, to protect user
data from unauthorised access
There is no need to hire specialist staff as IT services being
provided by the cloud storage provider
Worked example
A school currently stores all of their data on local servers. They are considering
upgrading their system to utilise cloud storage.
Explain two disadvantages to the school of storing their data in the cloud.
[4]
Explain two advantages to the school of storing their data in the cloud.
[4]
Additional storage can be purchased if needed [1]
The cloud hosting company provides back up [1]
The cloud hosting company provides security [1]
Data can be accessed from anywhere and from any device provided there is an internet
connection [1]
So teachers would be able to access data from home [1]
So students would be able to access work from home [1]
MAC Addresses
An example MAC address - the first part identifying the manufacturer and the second part
identify the device
A MAC address cannot be changed. It is staticA table listing the differences between an IP
address and a MAC address