PROCESSORS TOPIC 4 Flashcards
1
Q
What is a processor?
A
Also called CPU (central processing unit). A small chip that manage all instructions such as arithmetic, logic, I/O, and other basic instructions
2
Q
Performance of a CPU depends on:
A
- Clock Speed
- Number of pulses the CPU generates per second - Cache Size
- Small amount of high-speed RAM built within the processor - Number of Cores
- A processing unit within a CPU is known as a core, and it is capable of handling its own instructions
3
Q
CPU components
A
- ALU (arithmetic and logic unit)
- AND, OR and arithmetic calculation operation - Control Unit
- Reads an instruction from memory - Registers and Buses
- Address Bus, Control Bus, Data bus - System Clock
- defines the clock cycle that synchronises all computer operations.
4
Q
What is Register
A
- To manipulate data within the computer (high speed storage for processing)
5
Q
Types of Registers
A
- CIR (current instruction register
- stores decoded and executed - ACC (accumulator)
- stores data during ALU calculations - MAR (memory address register)
- stores address of the memory location - MDR (memory data register)
- stores data that is about to be written - PC (program counter)
- stores the address where next instruction read can be found
6
Q
CPU instruction cycle
A
- Fetch
- Decode
- Execute
7
Q
Fetch
A
- Both data and instruction can be stored in the MDR
- The next instruction is fetched from the memory address
- The contents of the MDR are then copied
- The PC is then incremented with +1
8
Q
Decode
A
- The instruction is then decoded so that it can be interpreted in the next cycle
9
Q
Execute
A
- Decode the instruction then execute
- Decoded instruction then be sent to set of control signals to appropriate components
10
Q
LMC (Little Man Computer)
A
- Is a simulator that mimics the modern computer architecture, known as Von Neumann architecture
11
Q
Mnemonic code and Numeric code of LMC
A
- INP - 901 input data
- ADD - 1XX - add data
- SUB - 2XX - subtract data
- STA - 3XX - store data
- LDA - 5XX - load data
- OUT - 902 - output data
12
Q
What is computer architecture
A
- It acts as an interface between hardware and software
- Also called as instruction set architecture
13
Q
Von Neumann architecture features:
A
- CPU was able to access the memory directly
- Von Neumann developed the idea of stored program concept
14
Q
GPU (Graphical processing unit)
A
- Made to rapidly access and modify memory in order to speed up the production of images and videos
15
Q
CPU vs GPU
A
CPU - general purpose processor that can perform wide range of tasks
GPU - specifically designed to handle the complexity of maths calculation for rendering graphics and videos