3 Hardware Flashcards
What is the role of the CPU
An integrated circuit which accepts data input into the computer and processes it into information ready for output.
What does a CPU consist of? (3)
control unit
Arithmetic and logic unit
reigsters and buses
What is the role of the ALU?
responsible for carrying out mathematical calculations or logical operations
What is the role of the control unit? (2)
oversees the overall operation of the CPU
Includes initiating each step of the fetch decode execute cycle and managing the ALU
What is a register
small area of storage found within the CPU
Why are registers extremely fast to access
located directly within the CPU
what is the purpose of the current instruction register
CIR stores the current instruction being decoded and executed
what is the purpose of the accumaltor
used when carrying out ALU calculations
temporarily stores data during calculations
What is the purpose the memory address reigster
MAR stores the address of the RAM currently being read from or written to
What is the purpose of Memory Data Register
Register used to temporarily store data that will be written to RAM or data that has just been read from RAM.
What is the function of the program counter
PC stores the address where the next instruction to be read can be found
Define buses
a connection between major components in a computer that can carry data, addresses, or control signals
Describe the address bus (2)
carries addresses throughout the CPU
unidirectional (bits can travel one direction only)
Describe the data bus (2)
bidirectional (allows data to be sent in both ways along the bus)
Connects CPU with RAM and input devices with output devices
What are the three types of buses
address bus
data bus
control bus
Describe the control bus
bidirectional
carries signals from the Control Unit to all other computer components
Explain the fetch decode execute cycle (7)
The PC contains address of memory location of the next instruction which is to be fetched
address copied from PC to MAR via address bus
Contents in RAM address stored in MAR copied temporarily to MDR
Contents of MDR copied to CIR
Value of PC incremented by 1 so that it now points to the next instruction which is to be fetched
CU decodes instruction in CIR
instruction sent to ALU to be executed
What are the three main factors that affect the performance of a CPU
clock speed
cache
core
What is clock speed (2)
determines the number of cycles a cpu can perform each second
higher clock speed generates more heat and uses more energy
Describe the core (2)
processor within the CPU
The idea of using more core alleviates the need to increase clock speed
Describe the cache (2)
extremely fast memory located within the CPU
used to temporary store copies of the data in the most commonly accessed RAM locations
Define instruction set
Listof instructions that a CPU can process
when instructions are in binary it is known as machine code
Define embedded system
computer system that performs a dedicated function inside a device or appliance
Examples of where embedded systems can be found
Entertainment systems in cars
Domestic appliances, such as washing machines
Security systems, such as automatic lighting and alarms.
What are general purpose computers
A computer system designed to perform unlimited different functions.
Benefits of embedded systems (3)
small, easy to fit into devices
compared to other systems, relatively low cost to make
consumes very little power
Drawbacks of embedded systems (2)
any device that can be accessed over the internet is open to hackers, viruses etc
troubleshooting faults in the device becomes a specialist task
Define input devices
used to enter data into a computer for processing
Describe the process when barcode is scanned (4)
shine a light at a barcode
light is reflected off the barcode (white reflects light back, black absorbs and reflects less)
reflected light is read by microprocessor
a pattern is created and is converted to digital data
Describe the QR code (2)
Consists of square black and white patterns, representing a small number of text characters
As more and more data is added, structure of QR code becomes more complex
Advantages of QR code compared to traditional barcode (4)
can hold much more information
easy to transmit QR codes
possible to encrypt QR codes
easy to read (don’t need expensive laser or LED)
What happens when a photograph is taken by a digital camera? (3)
Light enters camera, falls onto sensor made up of millions of pixels
each pixel measures light intensity
microprocessor converts these values into digital data, representing colour values
What happens when a key is pressed (4)
there is a membrane or circuit board at the base of the keys
CPU determines which key has been pressed
CPU refers to an index file which identifies which character the key pressed represents
Each character on a keyboard has a corresponding ASCII value
What does a microphone do? (2)
vibrations caused by soundwaves cause a coil to move around a magnet, resulting in electromagnetic field changes
Tiny charges converted by microprocessor and ADC into digital representation of sound
What are the 3 types of touchscreens (3)
Resistive touchscreens
Capacitive touchscreens
infra red touch screens
What is resistive touch screen (3)
uses two very thin metal sheets over the screen
when pressure applied, metal sheet make contact, completing electrical circuit
this can be used to detect where the user has pressed
What is capacitive touch screens (3)
uses transparent layer over the screen
layer is sensitive to static electrical charge in human body
when user touches screen, charge detected, location of touch detected
What is infra-red touch screen (3)
creates a grid of infra-red light over the screen
when user touches screen, light is broken
this can be used to detect location of touch
How do 2D scanners work? (1)
shines bright line across a document to measure the levels of reflected light and create digital version of it