Computer architecture Flashcards
(49 cards)
Computer systems consist of software and hardware. What is meant by each term?
- Software
- Hardware
- Software: programs executed from a computer system/ instructions that tell the hardware what to do.
- Hardware: electrical component that makeup a computer system
What is meant by the microprocessor or CPU?
A semiconductor chip that implements the central processor of the of a computer.The microprocessor is the component that executes instruction in a sequence.
Name and describe the functions of the main components within the Von Neuman CPU.
- Control Unit: provides the functionality required to control the movement of information between memory, the ALU an other portions of the machine.
/ is in charge of fetching the sequence it also decodes, synchronises and sends control signals between different internal parts. - ALU (Arithmetic Logic Unit): Forms functions of two input values and produces a single output result/ performs arithmetic and logical operations.
- Registers: very small but fast storage located on the CPU
- Buses: connect all internal components (CPU with main memory).
Define Main Memory
Volatile memory that stores instructions and data which is directly accessible by the processor.
Purpose of Main Memory
For storing programs that are currently being run and for data that is currently being processed.
Example of what is stored in Main Memory
A spreadsheet with its data that a user is currently working on.
Define Cache
Is small but fast memory which can be used by the processor much more quickly.
Purpose of Cache
To be accessed quicker than RAM by the CPU.
Example of what is stored in Cache
Instructions used for a loop that the processor is currently executing.
Define Register
Small but fast temporary storage located on the CPU.
Purpose of Register
Stores one instruction to be executed next.
Example of what is stored in a Register
LDA#15 - Load number 15 into accumulator.
Define ROM (Read Only Memory)
Series of instructions inside a computer that cannot be changed - non volatile.
Purpose of ROM
For data and instructions that are fixed onto the ROM chip to start the computer.
Example of what is stored in ROM
Configuration of the motherboard.
Define EEPROM (Electronically Erasable Programmable Read Only Memory)
Is non volatile but the entire contents can be erased and reprogrammed.
Purpose of EEPROM
Holds details of what is connected to the motherboard.
Example of what is stored in EEPROM
Multiple numbers and configurations of RAM modules
Example of secondary storage
Floppy disk
Example of Main Memory
RAM
What is meant by CACHE memory
CACHE is small but fast memory that can be used by the processor much quicker compared to RAM. While CACHE is quicker, RAM has a higher capacity. Also RAM is volatile memory that stores instructions and data which is directly addressable by the processor.
CACHE: parts of the program currently being used.
RAM: All running programs.
Describe three differences between RAM and ROM?
- RAM is volatile
- ROM is non volatile
- RAM larger capacity
- ROM smaller capacity compared to RAM
- ROM does not require a constant source of power to retain information stored on it
- RAM does require a constant source of power to retain information. When power is turned off RAM will lose all information stored on it
What is the difference between ROM and EEPROM?
ROM: Cannot be changed
EEPROM: Content can be erased and reprogrammed
ROM: Systems / Programs / Instructions to boot your computer
EEPROM: Configuration of the motherboard attached devices
Computers utilise different types of cache memory. Two traditional types of RAM cache and disc cache. Describe in detail each type of cache memory.
- On-chip cache: Area of microprocessor that contains cache memory.
- Disc cache: Area of very fast memory between a hard drive and RAM.
- RAM cache: Area of very fast memory between RAM and the microprocessor.
- Web Cache: File containing recently accessed web pages.