System Architecture (1.1) Flashcards
What is the CPU
(Central Processing Unit) is the hardware component responsible for processing and executing all the instructions inside of a computer.
- The speed is measured in Hz, so a 2Ghz CPU would process 2 billion instructions/CPU cycles per second
How can clock speed affect performance
- The higher the clock speed, the faster the rate at which the CPU can execute instructions per second
How can number of cores affect performance
- More cores results in instructions being executed in parallel per core , resulting in faster execution
How can cache size affect performance
- A larger cache size means the CPU can access more temporary stored data which is much faster than if stored in RAM
What is an embedded system
- a computer system built into another device. These are dedicated systems produced to be efficient at carrying out its specific task.
- They tend to contain more ROM than RAM, as they are specialised to
carry out limited functions (cheaper to design and build)
What are some examples of embedded systems
- Washing machine,
- MP3 player,
- Dishwasher
- smartwatch
What are the CPU components
- Control unit (Directs the instructions within the processor)
- Arithmetic & Logic Unit (ALU) (Responsible for any arithmetic and logic calculations in the processor)
- Cache (Stores the most frequently accessed instructions from the RAM (faster than RAM, but holds much less data))
- Registers (Small amounts of highspeed memory located within the CPU)
What are the 4 main Von Neuman Registers
- Memory address register (MAR) (Holds memory addresses about to be used by the CPU)
- Memory Data Register (MDR) (Holds the actual data or instruction to be used by CPU)
- Accumulator (Stores intermediate results of calculations in the ALU)
- Program Counter (PC) (Holds the memory
address of the instruction for each cycle)
What happens at the fetch stage of the cycle
- copy memory address from program counter to the MAR, and copy instruction from the MAR address to the MDR. Increase the program counter to point to next instruction.
What happens at the decode stage
- instruction in MDR is decoded by the CU
What happens at the execute stage of the cycle
- the instruction is performed/executed. This could be load data/write data to or from memory, or do a calculation or logic operation (using ALU).
What is ROM
- The ROM is an internal hardware component which is part of the computers main memory
- ROM is non-volatile memory which means the data is saved/kept by the computer when the power turns off.
- ROM is used to store the BIOS (basic input output system) ʹ instructions needed to turn the computer on or the “bootup” sequence
(bootloader)
What is RAM
- The RAM is another internal hardware component which is part of the computer’s main memory
- RAM is used to store any running applications while the computer is ON
- The RAM is volatile memory meaning the data in the RAM is deleted/erased when the power turns off
What is the difference between RAM and ROM
- A computer needs both RAM and ROM to function correctly. However, the ROM in a computer is difficult to upgrade or change, whereas the RAM can be easily upgraded and changed to hold more data
- RAM holds a lot more data than the ROM
- Typical RAM is 4GB and typical ROM is 4MB.
What is virtual memory
- Virtual memory is memory which the computer uses by
allocating a section of secondary storage to store
running applications. This is only used when the RAM in
a computer is full and runs out of capacity.