3- Hardware Flashcards
1
Q
Computer architecture
A
1- The central processing unit (CPU)
2- Von Neumann architecture
3- Cores, cache and internal clock
2
Q
1- The central processing unit (CPU)
A
- it is also known as a microprocessor or processor
- it is central to all modern computer systems (including tablets and smartphones).
- The CPU has the responsibility for the execution or processing of all the instructions and data in a computer application
3
Q
2- Von Neumann architecture
A
- with early computers it wasn’t possible to store programs or data.
- In the mid-1940s, John von Neumann developed the concept of the ‘stored program computer’, which has been the basis of computer architecture ever since.
4
Q
The main novel features of the von Neumann architecture
A
- the concept of a central processing unit (CPU or processor)
- the CPU was able to access the memory directly
- computer memories could store programs as well as data
- stored programs were made up of instructions which could be executed in
sequential order.
5
Q
Components of the central processing unit (CPU)
A
- Arithmetic & Logic Unit (ALU)
- Control Unit (CU)
- Registers
6
Q
The Arithmetic & Logic Unit (ALU)
A
- It allows the required arithmetic (e.g. +, - and shifting) or logic (e.g. AND, OR) operations to be carried out while a program is being run; it is possible for a computer to have more than one ALU to carry out specific functions.
- Multiplication and division are carried out by a sequence of addition, subtraction and left or right logical shift operations.
7
Q
The control unit(CU)
A
- The control unit reads instructions from memory.
- Signals are generated during the Fetch-Decode-Execute cycle to control all components of the computer.
- The control unit synchronises data flow and program instructions throughout the computer.
8
Q
Registers
A
- One of the most fundamental components of the von Neumann system are the registers.
- Registers can be general or special purpose.
9
Q
Types of Register
A
- current instruction register (CIR) : this register stores the current instruction being decoded and executed
- accumulator (ACC) : this register is used when carrying out ALU calculations; it stores data temporarily during the calculations
- memory address register (MAR) : this register stores the address of the memory location currently being read from or written to.
- memory data/ buffer register (MDR) : this register stores data which has just been read from memory or data which is about to be written to memory.
- program counter (PC) : this register stores the address where the next instruction to be read can be found
10
Q
System buses and memory
A
buses are used to connect the CPU to the memory and to input/ output devices.
11
Q
Memory
A
- The computer memory is made up of a number of partitions.
- Each partition consists of an address and its contents.
- The address will uniquely identify every location in the memory and the contents will be the binary value stored in each location.
- The random access memory (RAM) holds data, programs and the part of the operating system currently in use.
- RAM is often known as the Immediate Access Store (IAS).
- All data being used in programs needs to be transferred to the RAM.
- Primary memory also includes read-only memory (ROM) which cannot be altered; ROM contains start-up routines for the computer.
12
Q
(System) buses
A
- Buses transfer data and control signals throughout a computer.
- They use parallel data transfer and each wire in the bus transmits one bit of data.
13
Q
The three common buses used in the von Neumann architecture
A
- address bus
- data bus
- control bus
14
Q
address bus
A
- the address bus carries addresses throughout the computer system. Between the CPU and memory.
- the address bus is unidirectional (bits can travel in one direction only). this prevents addresses being carried back to the CPU.
- The width of a bus is very important. The wider the bus, the more memory locations that can be directly addressed at any given time.
15
Q
Data bus
A
- The data bus is bidirectional (allowing data to be sent in both directions along the bus).
- This means data can be carried to/from CPU / memory and to/from input- output.
- As with the address bus, the wider the bus the larger the word length that can be transported.