Processor Flashcards

1
Q

CPU

A

central processing unit- the brains of the computer where most calculations take place. Data is processed and programs are executed- most important element of a computer system

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

what is CPU made up of

A

ALU, buses, dedicated registers, control unit

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

control unit

A

uses electrical signals to control and coordinate the activities and timing of the CPU, directing THE FLOW OF DATA between the CPU and other devices. It accepts the next instruction, decodes it into sequential steps and manages the executing including fetching data and addresses from registers, storing the resulting data in memory registers.

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

buses

A

a set of parallel wires of 8,16,32,64 signal lines connecting 2 or more components of a computer. They connect processor, memory and IO controllers, transferring data and signals/one part of the motherboard to another They are a shared transmission medium and only one device can transmit along a bus at any one time. control, data and address bus makes up system bus

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

control bus

A

a BIDIRECTIONAL bus sending control signals. it ensures the use and access of the other two buses by different SHARED components doesn’t mean conflict. Transmits command, timing and specific status information between system components

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

bus request signal

A

indicates a device is requesting the use of the data bus

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

bus grant signal

A

indicates the CPU has granted access to data bus

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

memory write

A

causes data in the data bus to be written into an addressed location

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

memory read

A

causes data from addressed location to be placed onto the data bus

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

*interrupt request

A

indicates a device is requesting access to the CPU

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

clock

A

used to synchronise operations

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

data bus

A

provides a bi directional path for moving data and instructions between system COMPONENTS

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

address bus

A

single direction: processor to memory/IO device. each word has its own specific address so memory address of words (used as operands in program instructions) are transmitted so data can be retrieved and sent back to the processor. Results of instruction transmitted via data bus to location

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

word*

A

memory is divided up internally into units called words. they’re a fixed size group of DIGITS: 16,32,64 bits (different processor type: different word size). Handled as a unit by the processor

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

ALU

A

performes arithmetic and logic operations on data: e.g. add, subtract, divide, multiply on fixed and floating point, shift operations (shuffling left and right), boolean: comparing, and, or, not, xor

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

registers*

A

special memory cells operating at very high speed. up to 16 general purpose in a CPU: where all ARITHMETIC, LOGIC, SHIFT operations occur

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

accumulator (register)*

A

some special purpose CPUs use a SINGLE ACCUM instead of general purpose registers to simplify design. Calculations take place here and the results of the latest calculation are held here

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

PC (register)

A

holds address of the next instruction to be executed (next instruction in sequence or address to jump to if current instruction is to jump to another. Is INCREMENTED when read. Determines SEQUENCE of instructions being read/executed

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

CIR

A

holds current instruction currently being executed, split into the opcode and operand

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

*MAR

A

hold address of the memory location from which data or instructions are to be fetched or to which data is to be written, carried by the ADDRESS BUS

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

MDR/MBR

A

data used to temporarily store data read/written to memory on the data bus from/to the processor

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

FDE

A

the sequence of operations involved in executing an instruction, the cycle is repeated as each instruction of the program is executed

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

fetch

A

retrieving an instruction from main memory

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

what happens during fetch

A

address of next instruction copied from PC to MAR
address sent down address bus
read instruction command sent down CONTROL bus
instruction sent down data bus and copied to MDR
PC incremented TO hold address of next instruction
contents of MDR copied to CIR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
decode
determines what the instruction is
26
what happens in decoding
instruction held in CIR is split into OPCODE and OPERAND OPCODE (basic operation and addressing mode) determines TYPE of instruction and HARDWARE needed to execute it and OPERAND holds address of data to be used with the operation which is copied to the MAR/ holds actual data to be operated on, copied to MDR and may be passed onto the ALU/accumulator
27
execute
carrying out instruction
28
what happens during execution
appropriate instruction/opcode is carried out on operand. result is stored in appropriate register. cpu sets up to begin another cycle
29
factors affecting processor performance
clock speed number of cores/duplicate processors linked together on a single chip amount and type of cache
30
system clock
generates a series of signals, switching between 1 and 0 millions of times per second, synchronising CPU operations
31
system clock and CPU performance
CPU continually runs FE cycle, speed is governed by system clock/clock chip. each CPU starts as clock changes from 0 to 1 most of the time operations can't be performed faster than clock speed but some may take longer than one clock cycle the faster the clock speed the faster the instructions executed
32
1Hz v 1 GHz
1 clock cycle per sec v 1 billion cycles per sec
33
typical PC speed
2-4 GHz
34
higher clock speed?
faster performance, hotter, more power consumed/overclocking, expensive
35
lower clock speed
lower performance needs less power (good battery life) less costly
36
LMC number of instructions, memory locations and max data value and number of bits in one word
11 instructions, 100 memory locations, 999 greatest data value 16 bit word
37
secondary storage device
a peripheral/external device which holds data and programs for a long period of time, even when switched off
38
RAM adv
quick access, allow changes to be made, allow files to be used
39
what to take into account for storage devices
cost, speed, capacity, portability
40
Secondary storage disadv
can't be accessed directly by processor, slower retrieval speeds
41
all storage devices
create and maintain a toggle state (1/0) without power
42
magnetic storage devices
magnetic material eg ferrous particles on a disk or tape, polarised to represent 1 or 0, storing BINARY data eg hard disk drive
43
hard disk drive uses
in a typical PC main storage, storing OS, application software and files
44
adv hard disk
huge capacity, 500GB+: smaller denser s.a means 3.5in can now hold 640gb, fast access over 1000Kb/sec, random access- can be read directly from any part
45
disadv hard disk
not portable as large and moving parts, data lost if fail and no backup
46
hard disk
high speed spinning rigid (10,000RPM) disks/platters (with own drive heads), coated with magnetic ferrous particles, polarised 1/0 storing binary data. split into concentric circles and divided into tracks and sectors. drive head can access different parts and passes over parts to read/write into. drive head parked to side when not in use to prevent damage from movement.
47
optical disk uses
most application programs and games come on CDs, DVDs, blu-ray
48
adv optical disk
cheap, hold reasonable amount (800MB CD, 4.7GB DVD, 50GB), portable and drives are common in PCs, fast data transfer rates (88.5Mbit/sec)
49
disadv optical disk
scratched, can't alway overwrite, storage isn't amazing
50
How optical disks work
Using a high powered laser to burn (change chem properties of) sections of its surface making them less reflective. A laser at a lower point reads the disk by shining light onto the surface and a sensor measures how much is reflected back. Pits and lands are non reflective and reflective = 0 and 1. One single track as a tight spiral. ROM 700MB and BluRay 50GB because shorter wavelength laser = smaller pits so more to fit in same space and track tightly wound so much longer. Recordable = reflective layer with transparent dye coating, less reflective when spot laser burns a spot in the track RW: laser and magnet to heat spot and set it as 0 or 1 with magnet before cools: phase change alloy changes between amorphous and crystalline states by changing power of beam
51
Solid state disks working
Storing binary data on semiconductor material. Different areas acting as switches. Array of chips arranged on a board in standard size housing to fit into PCs. Millions of NAND flash memory cells and controller to manage pages and blocks of memory. Currents on bit and word lines, activating movement of electrons from source to drain and word line current forces a few across through insulated oxide layer to floating gate, which are trapped once current off. Some charge trapped = 0, no charge =1. Memory stored in pages and grouped into blocks. Data erased as whole blocks
52
Adv SSD
Faster than hard disk: no need to move RW head, portable and light, consume less power so better battery life and cooler, more durable, silent, not affected by magnets
53
Disadv of SSD/flash
Data can't be overwritten (has to be erased as blocks first) Limited number of writes Less capacity than hard disk drive
54
Why does RAM lead to better performance
More programs processed at the same time Process larger files No need to resort to VM
55
Input devices
``` Scanner Biometric devices Keyboard Mouse Touchscreen Sensors Barcode reader OMR OCR ```
56
Output devices
Lights, monitor, speakers, headphones, plotter, touchscreen
57
Define input device
Device allowing us to enter data into a computer system for processing
58
Define output device
Allowing us to EXTRACT data from a computer system, converting it to a form we can understand
59
concurrent processing
When several processes are running on a single processor, each given a time slice according to scheduling algorithms. It gives the appearance that several tasks are being performed simultaneously
60
adv and disadv of concurrent processing
increased throughput: number of tasks completed in a given time increases time that would be wasted waited for the user to input data is used on another task if large number of users trying to run programs and some involve a lot of computation, they will take longer to complete
61
adv and disadv of parallel programming
speeds up processing significantly esp when repetitive calculations need to be performed on large amounts of data browsers can display several web pages in separate windows. different processors do different tasks in each window graphics processors can quickly render a 3D object by working simultaneously on individual components some tasks may run faster on a single processor, some cannot take advantage of more than one processor. there is overhead in coordinating the processors