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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Performance of a CPU depends on:

A
  1. Clock Speed
    - Number of pulses the CPU generates per second
  2. Cache Size
    - Small amount of high-speed RAM built within the processor
  3. Number of Cores
    - A processing unit within a CPU is known as a core, and it is capable of handling its own instructions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

CPU components

A
  1. ALU (arithmetic and logic unit)
    - AND, OR and arithmetic calculation operation
  2. Control Unit
    - Reads an instruction from memory
  3. Registers and Buses
    - Address Bus, Control Bus, Data bus
  4. System Clock
    - defines the clock cycle that synchronises all computer operations.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is Register

A
  • To manipulate data within the computer (high speed storage for processing)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Types of Registers

A
  1. CIR (current instruction register
    - stores decoded and executed
  2. ACC (accumulator)
    - stores data during ALU calculations
  3. MAR (memory address register)
    - stores address of the memory location
  4. MDR (memory data register)
    - stores data that is about to be written
  5. PC (program counter)
    - stores the address where next instruction read can be found
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

CPU instruction cycle

A
  1. Fetch
  2. Decode
  3. Execute
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Decode

A
  • The instruction is then decoded so that it can be interpreted in the next cycle
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Execute

A
  • Decode the instruction then execute
  • Decoded instruction then be sent to set of control signals to appropriate components
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

LMC (Little Man Computer)

A
  • Is a simulator that mimics the modern computer architecture, known as Von Neumann architecture
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Mnemonic code and Numeric code of LMC

A
  1. INP - 901 input data
  2. ADD - 1XX - add data
  3. SUB - 2XX - subtract data
  4. STA - 3XX - store data
  5. LDA - 5XX - load data
  6. OUT - 902 - output data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is computer architecture

A
  • It acts as an interface between hardware and software
  • Also called as instruction set architecture
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Von Neumann architecture features:

A
  • CPU was able to access the memory directly
  • Von Neumann developed the idea of stored program concept
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly