CPU,FDE CYCLE, PERFORMANCE, ADDITIONAL HARDWARE Flashcards
What does ALU stand for?
Arithmetic Logic Unit
What is the role of the ALU?
performs simple calculations and logical operations
What does CPU stand for?
Central Processing Unit
What are registers?
temporary storage spaces for data and instructions inside the CPU
What does PC stand for (in the context of the CPU)?
Program Counter
What is the role of the PC?
contains the address of the next instruction to be executed
What does ACC stand for?
Accumulator
What is the role of the ACC?
stores the results of mathematical or logical calculations
What does MAR stand for?
Memory Address Register
What is the role of the MAR?
stores/holds the memory address of the instructions that is to be fetched
What does MDR stand for?
Memory Data Register
What is the role of the MDR?
holds/stores the data being transferred to or from memory.”
What is an FDE cycle?
A Fetch, Decode and Execute cycle
The basic operation cycle of a computer
What happens during an FDE cycle?
“The complete process of retrieving an instruction from memory (RAM), decoding it and carrying it out. Also known as the instruction cycle.”
What does the CPU consist of?
Control unit, registers , Level 1 cache , ALU
What is “clock speed”?
The measure of how quickly a CPU can process instructions
What are cores?
A complete set of CPU components
Each core is able to perform its own FDE cycle
A multi-core CPU has more than one set of components within the same CPU
What is the cache?
Cache memory is temporary storage for frequently accessed data
What is Von Neumann Architecture?
The CPU is the most important component in Von Neuman Architecture as it is constantly fetching and decoding instructions from RAM and controlling the other parts of the system
Also stores both instructions and data in memory
What is an embedded system?
An embedded system is a computer systems built into a larger machine to provide a means of control.
Embedded systems preform a specific pre-programmed task which is stored in ROM.
Name the main parts of a CPU
- Arithmetic Logic Unit (ALU)
- Control Unit (CU)
- Cache
- Registers
What is the role of the CIR?
store the current instruction that has been fetched
What does CIR stand for?
Current Instruction Register
Name the main registers a CPU has access to
- Program Counter (PC)
- Memory Address Register (MAR)
- Memory Data Register (MDR)
- Accumulator (ACC)
- Current Instruction Register (CIR)
What does the CU do?
directs the flow of data and information into the CPU
controls the other parts of the CPU
What are the units for clock speed?
Gigahertz(GHz)
What does an embedded system use a combination of?
Hardware and Software
Embedded system examples:
Washing machine
Traffic light
A washing machine has a control chip that manages the different program cycles
A traffic light has a control chip that determines when to change to a green or red light
What is the control unit and cache memory also known as ?
Control unit - controller
cache memory - internal memory
Describe the levels that cache memory is split into
L1 and L2 are usually within the CPU
L3 is just outside it
L1 cache is the smallest level (less than a megabyte) but the fastest
L2 cache is larger (up to 8 megabytes) but slightly slower
L3 cache is located outside of the CPU core and is the slowest (up to 50 megabytes\0
Why is cache memory quick to access
It is closer to the CPU than other types of memory like RAM
How does Cache memory work?
When the CPU searches for data, it looks first in L1 cache , then L2 , then L3.
If data has been found this is called a ‘cache hit’
if data has not been found the CPU searches the RAM instead which takes more time - this is called a ‘cache miss’
What are the three main factors the performance of a computer system is affected by?
Cache
Clock speed
Number of cores
What does a typical desktop computer have a clock speed of ?
3.5 GHz
meaning it can perform 3.5 billion cycles a second
How does clock speed improve performance?
The faster the clock speed , the faster the computer can perform the FDE cycle resulting in better performance because more instructions can be processed each second
What is overclocking and How does overclocking affect performance?
Overclocking is when the computer’s clock speed is increased higher than the recommended rate
This will make the computer perform faster, but it can lead to overclocking and could damage the machine
3.9 GHz and higher
What is underclocking and how does it affect performance?
Underclocking is when a computer’s clock speed is decreased lower than the recommended rate.
This will make the computer perform slower but will increase the lifespan of the machine
3.1 GHz and lower
How does the number of cores improve performance?
A single -core processor can execute one instruction at a time
A dual-core processor can execute two instructions,
A quad-core can execute four instructions simultaneously
A computer with more cores will have a higher performance because it can process more instructions at once
What are the limitations of having more cores ?
If one core is waiting for another core to finish processing, performance may not increase at all,
Some software is not written to make use of multiple cores, so it will not run any quicker on a multi-core computer
What is the motherboard?
Main circuit board of a computer -unique for each device
It holds and connects the different components together , allowing data to be transferred between them
The motherboard has expansion slots for additional cards (i.e sound cards) and ports (i.e. USB)
What components are directly attached to the motherboard?
CPU ,ROM
What does GPU stand for?
Graphics Processing Unit
What is a GPU?
A GPU is a microprocessor that performs complex calculations to generate graphical images to be displayed on a monitor
What are the two types of GPU?
integrated GPUs within the motherboard circuitry
Dedicated GPUs on an additional card (graphics card)
Integrated GPU
- cheaper
- generates less power as it uses the RAM of the computer
- used in tablets and laptops as they generate less heat and are optimal for general computing uses (e.g web browsing or watching movies)
Dedicated GPU
- more expensive
- generates more heat often requiring a fan because it contains its own memory
- used by animation professionals and professional gamers who require the best graphics
What are sound cards?
Sound cards convert analogue sound waves into digital data (binary) when inputting audio through a microphone
Sound cards also convert digital data (binary) into analogue sound waves to output audio through speakers or headphones
Why are input device used?
- used by humans to interact with a computer system , through methods such as voice, text or touch
Why are output devices used?
- Output devices show the results of computer processing , such as sound , printed text or a visual display on a monitor
What type of devices are neither input nor output devuces?
Storage devices , such as a USB stick or an external hard drive
Name 5 input devices
Scanner Controller Microphone webcam chip reader OCR scanner OMR scanner barcode scanner graphics tablet sensors (light or temperature) touch screen remote control biometric scanner (fingerprint or iris) concept keyboard sip/puff switch
Benefits of a mouse (input device)
- easy to navigate a graphical user interface
- a wireless mouse takes up less space
- faster to select options (e.g in a video game)
Drawbacks of a mouse (input device)
- difficult to use for people with restricted hand movement
- difficult to use on some surfaces
Benefits of a keyboard (input device)
- quick to input text
- easy to use with a familiar layout on most keyboards
- keys can be customised and shortcuts can be used
Drawbacks of a keyboard
- takes up a large amount of space on a desk
- difficult for people to use with restricted hand movement or poor eyesight
Name 5 output devices
plotter speaker projector alarm light headphones touch screen braille terminal
Describe a monitor (output device)
- a monitor is required to see the result of human input and computer processing
- monitors can be brought in different sizes and resolutions for a range of purposes (such as video editing or playing games)
- monitor settings can be changed to alter the brightness or contrast
Describe a printer (output device)
- a printer uses ink or toner to print a document (such as text or images) onto paper
- inkjet printers use ink cartridges and are generally slower and print in a lower quality
- laser printers use toner cartridges and are generally quicker and print to a higher quality
FDE CYCLE EXPLAINED
- The memory address held in the program counter is copied into the MAR.
- The address in the program counter is then incremented - increased - by one. The program counter now holds the address of the next instruction to be fetched.
- The processor sends a signal along the address bus to the memory address held in the MAR.
- The instruction/data held in that memory address is sent along the data bus to the MDR.
- The instruction/data held in the MDR is copied into the CIR.
- The instruction/data held in the CIR is decoded and then executed. Results of processing are stored in the ACC.
- The cycle then returns to step one.