(section 1) knowledge organiser computing Flashcards
hardware
physical components in a computer system
software
programs
embedded system
computer system built into other devices, usually control systems
4 CPU components?
alu, registers, cache, cu
3 factors affecting CPU performance?
Number of cores, clock speed, cache size
main idea of von neumann architecture
data and instructions are both stored in the same memory
PC
holds the memory address of the instruction for each cycle
MAR
holds any memory address about to be used by the CPU. the address could point to data or an instruction
MDR
holds the actual data or instruction, either fetched from memory or waiting to be written to memory
accumulator
stores intermediate results of calculations in the ALU
what happens during the fetch cycle?
Memory is copied from the PC to the MAR. // The instruction is copied from memory into the MDR. // Program counter is incremented to point to the next instruction.
What happens during the decode cycle?
Instruction in the MDR is decoded by the control unit. // Control unit prepares for the next step.
What happens during the execute cycle?
Decoded instructions are carried out.
What are the characteristics of RAM?
Volatile memory. // Easy to read/write to. // Programs and data are copied into RAM while in use. // Slower than CPU cache, but still faster than secondary storage.
virtual memory
If RAM is used up, some data of the program being run is moved to a location in secondary storage called virtual memory. This involves swapping instructions currently being executed and instructions not currently being executed to and from RAM and secondary storage. Data transfer is slow on secondary storage, so this slows down the computer’s performance.