3.1 computer architecture Flashcards

1
Q

what is the role of the CPU

A

processes instructions and data input into computer so result can be output

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

what is a microprocessor

A
  • integrated circuit contained on single chip
  • accepts data into computer & processes into information ready for output
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what are the components in a CPU

A
  • units: ALU, CU
  • registers: PC, MAR, MDR, CIR, ACC
  • buses: address bus, data bus, control bus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

purpose of CU

A
  • control operation of memory
  • sends control signals that manage transfer of data and instructions within CPU
  • initiates each step of FDE cycle
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

purpose of ALU

A
  • perform arithmetic calculations or logical operations
  • use ACC to temp store data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

purpose of PC

A
  • stores address of next instruction
  • to be fetched from memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

purpose of MAR

A
  • store address of instruction
  • to retrieve data from specific memory location
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

purpose of MDR

A
  • store data from address in MDR
  • send data to CIR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

purpose of CIR

A
  • store instruction
  • which CPU currently decoding/executing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

purpose of ACC

A
  • hold temporary values from calculations
  • worked on by ALU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what are registers

A
  • small areas of storage in CPU
  • extremely fast to access
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

purpose of control bus

A
  • carries control signals from CU to other components
  • carries read/write signals from CPU to RAM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

purpose of data bus

A
  • bidirectional
  • write operation: carry data to be written MDR –> RAM
  • read operation: carry data RAM –> MDR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

purpose of address bus

A
  • unidirectional
  • carry addresses MAR –> RAM
  • indicate which address will be selected
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

what is broad process of FDE cycle

A

fetch: instruction fetched from RAM –> CPU
decode: instruction decoded by CU to determine what type of instruction it is
execute: instruction executed, usually by ALU

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

describe fetch processes in FDE cycle

A
  • PC contain address of next instruction
  • contents of PC copied to MAR
  • PC incremented by 1
  • address bus carries value in MAR –> RAM
  • control bus send read signal to RAM
  • data bus carries contents of desired RAM address to MDR
  • contents of MDR copied to CIR
17
Q

describe decode processes in FDE cycle

A

instruction in CIR decoded by CU

18
Q

describe execute processes in FDE cycle

A
  • instruction sent to ALU to be executed
  • ALU may use ACC to temporarily store results
19
Q

what is stored program concept

A
  • instruction stored in main memory
  • instructions fetched, decoded, executed by processor
  • programs can be moved to and from main memory
20
Q

what is memory concpet

A
  • computer’s memory is divided into partitions
  • each partition consists of an address and its contents
21
Q

what is an instruction set

A
  • list of all commands that CPU can process
  • commands are in machine code
22
Q

what is core in CPU

A
  • processor within CPU to carry out FDE cycle
  • single core can work on 1 instruction at a time
23
Q

how does number of cores in CPU affect performance

A
  • multi-core CPU can work on more instructions simultaneously
  • helpful for running several tasks at once
  • BUT individual programs often have instructions must run in sequence, so do not benefit significantly
24
Q

what is cache in CPU

A

extremely high speed memory in CPU, store temporary copies of most commonly accessed RAM locations

25
Q

how does cache affect CPU performance

A

faster fetch process.

26
Q

what is clock in CPU

A

determines number of cycles CPU can perform in a second (measured in GHz)

27
Q

how does clock speed affect CPU performance

A
  • higher clock speed means quicker FDE cycle
  • also use more energy, produce more heat
28
Q

what is embedded system

A
  • computer system
  • performs dedicated, single function inside another appliance
29
Q

what are characteristics of embedded systems

A
  • rugged operating systems
  • low power consumption
  • limited processing resources (more difficult to program, interact)
  • small size
  • low cost per unit
30
Q

process of embedded system

A
  • input from user sent to microprocessor (ADC if data analogue)
  • data from user interface also sent to microprocessor
  • microprocessor send signals to actuators, output
31
Q
A
32
Q

what is a bus CPU

A

way of communicating between components

33
Q

what are the factors affecting performance of CPU

A
  • clock speed
  • size of cache
  • core
34
Q

how does cache work

A
  • store frequently used instructions/data that need to be accessed faster
  • when CPU tries to read data from address, first check if location exists in cache

cache hit: access data from faster cache
cache miss: access from slower RAM

35
Q

what is cache

A
  • cache memory located within CPU
  • allow faster access to CPU
36
Q

how is embedded system different from general purpose computer

A
  • general purpose can perofrm many diff functions
37
Q

advantages of embedded sytems

A
  • compact
  • easy for mass production
  • less expensive
  • highly reliable/efficient
38
Q

disadvantages of embedded systems

A
  • hard for maintenance
  • difficult to reprogram/repurpose
  • designed to be disposable
  • hard to take backup of embedded files