Computer Architecture Flashcards
Hardware
The physical elements of a computing system
Software
a series of instructions that can be understood by the CPU
Peripheral
a device that is used to put information into or get information out of the computer
Network
A collection of computing devices connected so that they can communicate and share resources
Human resources (meatware)
refers to the human entities that operate or use a computer for any computing process
CPU
Central Processing Unit
ALU
Arithmetic Logic Unit
CU
Control Unit
Registers
small temporary storage spaces inside the CPU
CPU definition
combination of the ALU, CU, and Registers; the brain of the computer that interprets and executes instructions
CU definition
controls the actions of other computer components so as to execute the instructions in a sequence
ALU definition
performs arithmetic operations ( +,-, *, /) and logical operations (>,<, =, !=) also refered to as a core
PC (Registers)
Program Counter, an incrementing counter that holds the address of the next
instruction to be executed
IR (Registers)
Instruction Register, a temporary storage for the instruction that has just been
fetched from memory
AC (Registers)
Accumulator, a register to hold the result of the operations performed by the ALU
MAR (Registers)
Memory Address Register, stores the memory address of the piece of data being fetched or the address to which the data will be sent and stored
MDR (Registers)
Memory Data Register, contains the data to be stored or the data that was fetched from the computer storage (e.g. RAM, hard drive)
Von Neumann Architechture
processor module and memory module (used today as CPU and Primary Memory)
RAM
Random Access Memory, memory in which each cell (usually a byte) can be directly accessed or even changed
ROM
Read-Only Memory, contents located in the memory cannot be changed (e.g. OS)
RAM characteristics
- volatile
- contains user’s programs and data that has been loaded up since ‘booting up’
- usually measured in Gigabytes (common capacities are 8GB, 16GB, 32GB)
ROM characteristics
- non-volatile
- contains BIOS
- usually measured in kilobytes (much smaller than RAM)
Control Bus (connections between RAM & CPU)
bi directional
Address Bus characteristics
sends addresses, uni directional - from CPU to RAM only
Data Bus
sends data, bi directional - receives and sends data to memory
Bus
a set of wires that connects two components in a computer system
Cache
a type of small, high-speed memory inside the CPU used to hold frequently used data, so that the CPU needs to access the much slower RAM less frequently
Machine Instruction Cycle
Fetch -> Decode -> Execute -> Store
NAND
not and = true
NOR
not or (/and) = true
(similar to NOT)
XOR
one or the other (not both) = true
XOR
one or the other (not both) = true