structure and functions of processors Flashcards

1
Q

CPU components

A

CU, buses, ALU, registers

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

control unit (CU)

A

coordinates the activity of all other components

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

bus

A

consists of a series of connectors that transfer signals between internal components

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

system bus

A

consists of the control,address and data bus

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

control bus

A

carries control signals

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

address bus

A

carries memory addresses

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

data bus

A

carries data

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

control signals (list)

A

memory read, memory write, bus request, bus grant, clock

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

memory read

A

causes data from the addressed location in RAM to be placed on the data bus

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

memory write

A

causes data on the data bus to be written into the address location in RAM

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

bus request

A

indicates that a device is requesting use of the data bus

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

bus grant

A

indicates that the CPU has granted access to the data bus

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

clock

A

used to synchronise operations

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

arithmetic logic unit (ALU)

A

performs arithmetic, logical and shift operations

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

accumulator (Acc)

A

stores the result of the operation done in the ALU

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

registers

A

small amounts of memory in the CPU (therefore fast access) that store a specific piece of information

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

program counter (PC)

A

holds the memory address of the next instruction to be executed

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

current instruction register (CIR)

A

holds the current instruction, split into opcode and operand

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

memory address register (MAR)

A

holds the address in memory where the processor is required to fetch/store data from/to

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

memory data register (MDR)

A

holds the data moving between the processor and main memory

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

accumulator (Acc)

A

holds the results of the operation executed by the ALU

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

fetch steps (fetch-execute cycle)

A
  1. the address of the next instruction copied for the PC to the MAR
  2. the instruction held at the address in the MAR in copied to the MDR and the contents of PC are incremented to point to the next instruction
  3. the contents of the MDR are copied to the CIR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

decode steps (fetch-execute cycle)

A
  1. the instruction held in the CIR is decoded
  2. it is split into operand and opcode to determine the type of instruction, additional required data is fetched from memory if required
  3. and passed to the accumulator
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

execute steps (fetch-execute cycle)

A
  1. the instruction executed and the result is held in the Acc or stored in memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
opcode
specifies the operation that is to be carried out
26
operand
address of data to be used (this is copied to the MAR) or data to be used (this is copied to the MDR)
27
words
equal units of memory each of which has a separate memory address
28
address bus width
determines the maximum possible memory address of the system
29
data bus direction
bi-directional
30
data bus width
the number of wires/lines it contains
31
machine code instruction format
opcode (basic machine operation + addressing mode) + operand
32
how clock speed affects cpu perfromance
the faster the clock speed the more instructions are fetched, decoded and executed faster
33
system clock
a series of regular on/off signals used to synchronise the operations of the processor components
34
rising edge
actions are usually carried out on the rising edge of the clock
35
factors affecting CPU performance
clock speed, cache size and type, number of cores
36
how number of cores affects cpu performance
each core is theoretically able to process a different instruction at once
37
parallel procesing
using several processor cores working at the same time
38
cache
a small amount of memory on/near the processor (therefor very fast access) that stores data and instructions that have recently been used by the processor (levels 1&2 cache are held on the processor)
39
level 2 cache
larger but slower than level 1 cache
40
level 1 cache
split into instruction and data cache, data and instructions are fetched simultaneously
41
how cache affects cpu performanche
more cache reduces the likelihood of having to fetch from RAM therefore data can be fetched faster
42
pipelining
a technique used to improve performance by overlapping stages in the fetch-execute cycle or breaking down and overlapping the stages in arithmetic instruction
43
stored program concept
a program must be loaded to main memory to be executed
44
von neumann architecture - uses
PCs, laptops, servers, high performance computers
45
von neumann architecture - storage
data and instructions share the same memory and use the same word length
46
von neumann architecture - buses
one for data and instructions
47
von neumann architecture - control unit
one bus is simpler for control unit design
48
harvard architecture - uses
digital signal processing, microcontrollers, embedded systems
49
harvard architecture - storage
data and instructions are held in separate memory with different word lengths
50
harvard architecture - buses
separate buses for data and instructions
51
harvard architecture - control unit
a control unit for 2 buses is more expensive and complicated
52
contemporary processor/architecture
desktops have one main memory for data and instructions cache is divided into an instruction cache and data cache thus data and instructions are fetched with harvard architecture
53
complex instruction set computer (cisc)
a large instruction set is used to accomplish tasks in as few lines of assembly as possible
54
reduced instruction set computers (risc)
a minimum number of simple instructions, each taking one clock cycle are used to accomplish all the required operations in multiple general purpose registers
55
CISC - advantages
quicker to code programs, compiler has very little work to translate a high-level language statement into machine code, the code is relatively short thus very little RAM is required to store instructions
56
RISC - advantages
the hardware is simpler to build with fewer circuits needed for carrying out complex instructions, pipelining is possible as each instruction takes the same amount of time, risc use of ram allows better performance processors at less cost
57
multicore processor
able to distribute workload across multiple processor cores, thus achieving significantly higher performance by performing several tasks in parallel
58
co-processor
an extra processor used to supplement the functions of the primary processor (CPU)
59
graphics processing unit (GPU)
a specialised electronic circuit consisting of thousands of small efficient cores, which is very efficient at manipulating computer graphics and image processing
60
input devices
transfer data from an external source to the computer
61
manual input devices
keyboards, pointing devices, microphones, touch screens
62
barcode systems
UPC-A, code 128
63
universal product code version A (UPC-A)
can only represent numeric digits, used in retail and warehousing
64
code 128
can represent letters and numbers, used in transport and shipment tracking
65
quick response (QR) codes
2D barcodes and can be read by smartphones or tablets
66
2D scanners
used to convert a hard/paper copy document/photo into a computer readable format
67
3D facec recognition
specialist software measures and compares the proportions of a face with those stored
68
3D scanners
many rely on tomography (to image something in very thin slices)
69
sensors
a hardware device that can take measurement of physical properties from real world surroundings
70
monitor
values are reported but no changes are made
71
control
process of operations and value of the next input can be altered and the output can affect the next input
72
detection systems
monitor intruders stepping near windows/values with pressure sensors pick up the sounds of breaking glass/footsteps with acoustic sensors pick up movement/changes in temperature with infra-red sensors
73
monitoring systems
user first activates system with a PIN or placing alarm fob near a receive sensors constantly monitor the rooms data is converted to digital form with an ADC and is sent to microprocessor
74
output devices
convert computer produced data to a readable form
75
inkjet printers
small, inexpensive, ink prices are marked up
76
laser printers
use dry powdered ink (toner), used in businesses, fast and reliable, good print quality
77
dot matrix printers
strike an inked ribbon which inprints dots to form letters on a page, used where multi-part stationary is needed, effective in damp and dirty atmospheres, noisy, poor print quality, expensive
78
3D printers
can print intricate objects with hollow areas using plastic filament,powdered resin, ceramic, metal or paper
79
medical applications of 3D printers
manufacturing prosthetics/orthodics, reconstructive surgery, general surgery
80
artistic applications of 3D printers
prototyping
81
manufacturing applications of 3D printers
manufacturing parts for cars
82
radio frequency ID (RFID)
powered receiver emits radio frequency energy, transponder antenna becomes energised, transponder can send data to receiver
83
uses of RFID
security controls or identifying people, animals, goods or values, shipping and supply chain tracking for goods
84
passive tags
have no power source, rely on radio waves from the receiver, need to be close to receiver
85
active tags
use a larger buttery powered beacon can broadcast its own signal to receivers from up to 300m away
86
actuators
motors commonly used with sensors to control a mechanism
87
speakers/headers
digital data is sent to a DAC, the signal is then boosted with an amplifier
88
liquid crystal display (LDC) screens
contain groups of red, green and blue diodes to form each pixel, these screens need backlighting using CCFLs or LEDs as they don't emit light
89
LEDs over CCFLs
LEDs reach max brightness near immediately, LEDs produce sharper images, LEDs produce brighter light thus better picture definition, LEDs are smaller so screens can be thinner
90
organic LED screens
plastic thus more flexible, brighter, thinner and lighter, less power consumption, larger field of view
91
multimedia light projectors
compact, high resolution, full colour projectors, converts video signal into a viewable image and projects it on a screen
92
random access memory (RAM)
stores OS, running programs and data in use, volatile, read/write
93
read only memory (ROM)
bootup instructions, non-volatile, read only
94
virtual memory
a part of the hard drive used as a RAM extension
95
magnetic storage (HDD)
concentric tracks are created on a magnetic disk, the disk spins quickly, spinning platters are each read by disk heads, data is read/written as a sector moves under the head
96
HDD - properties
fast read/write speeds, relatively cheap per TB
97
solid state storage
commonly use non-volatile flash memory
98
SSD - properties
durable, consume less power, more portable, more expensive than HDDs, very fast access speed
99
USB flash drives - properties
max capacity: 128Gb, prices start low, can use password protection, useful for data transfer
100
optical disks - properties
cheap to manufacture and distribute, robust during carriage, light weight, suited for software mailing, have medium access speed
101
optical disk formats
read only (ROM), recordable (R), re-writeable (RW)
102
CD-ROM uses
software distribution
103
CD-R uses
copying games, software, audio/video files, documents
104
CD-RW uses
short/medium term backup or file transfer
105
DVD/BluRay uses
films
106
CD-ROM capacity
700MB
107
DVD capacity
4.7GB - 8.5GB
108
BluRay capacity
25GB - 50GB
109
SSD capacity
4GB - 2TB
110
HDD capacity
512GB - 6TB