Systems Architecture Flashcards
What are the main components of a computer?
CPU (central processing unit), main memory, secondary storage, input devices, output devices
What is the purpose of a CPU?
The purpose of the CPU is to process data and execute programs
What are the components of a CPU?
Control Unit, Arithmetic Logic Unit, RAM (main memory), Buses, Registers, Clock
What is the ALU?
The Arithmetic Logic Unit (ALU) performs all the arithmetic operations and logical decisions
What is the CU?
The Control Unit uses electrical signals to control the timing and the flow of data around the CPU. It is responsible for fetching and decoding instructions so that they can run on the processor.
What is RAM?
Random Access Memory (primary storage) is the main memory of the computer where programs, data and operating systems are stored when the computer is in use.
What are buses?
They are just sets of wires, used to transfer data and signals between the CPU and memory
What are the different buses and what do they do?
Control bus - carries control signals to tell the memory or the processor what to do next
Address bus - carries memory addresses from processor to memory
Data bus - carries data and instructions both ways between memory and CPU
What is Von Neumann Architecture?
Computer programs and data are stored in the SAME RAM memory
What are registers?
Registers are extremely small, extremely fast memory located in the CPU that hold small amounts of data needed as part of the fetch-execute cycle. Each register has its own specific purpose.
What is the purpose of the clock?
The clock keeps related components in sync by generating pulses at a constant rate.
What are the different registers and what are their purposes?
Program Counter (PC) - holds the address of the next instruction to be executed
Current Instruction Register (CIR) - holds the current instruction
Memory Address Register (MAR) - Holds the addresses that are about to be sent down the address bus to memory
Memory Data Register (MDR) - Holds data or instructions that have travelled up the data bus from the memory
Accumulator (ACC) - Holds the result of the most recent calculation by the ALU.
What is Cache?
Cache is memory that is similar to RAM, but is much faster and therefore more expensive. It is located very close to the CPU
What are the 4 things that affect how well your processor works?
Cache memory
Clock Speed
Multiple cores
Speed of Memory
How does clock speed affect how well the processor works?
Higher clock speed - faster performance but runs hotter and consumes more power (overclocking)
Lower clock speed - lower performance, less costly, needs less power so good for battery life in laptop
Clock speed is measured in Hertz.
The clock speed measures the number for fetch-decode-execute cycles that can take place in 1 second
A clock speed of 3.5GHz can perform up to 3.5 billion instructions per second.