1.1 Flashcards

(40 cards)

1
Q

What is the brain of the computer

A

CPU

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

Types of output a computer can produce

A

Visual, Sound, Vibrational

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

Describe the control unit and its function

A

Co-ordinates all activities of CPU
Directs flow of information between CPU and other devices
Accepts next instruction, decodes it and handles its execution
Sends memory read-write signals on the control bus
Co-ordinates and communicates with all components in the CPU

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

Describe the program counter and its function

A

Holds address of next instruction to be executed
Either, next instruction to be executed in a sequence
Or address jumped to from jump or branch command

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

Describe the Memory Address register and its function

A

Holds the addresses of memory locations for data and instructions for which the contents are to be fetched or to which data is to be written
Sends these addresses down to memory down the address bus

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

Describe the Memory Data register and its function

A

Temporarily store data which is read from or written to memory
Sometimes known as memory buffer register
All data uses MDR and data bus

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

Describe the Current Instruction register and its function

A

Holds the current instruction being executed
Contents of MDR copied here if instruction
Contains the opcode and operand

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

Describe the Arithmetic Logic Unit and its function

A

Performs arithmetic and logical operations on data
ADD MULTIPLY
SUBTRACT DIVIDE
Bitwise operation shifts left and right
Results held in ACC

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

Describe the accumulator and its function

A

General purpose register
Stores temporary data while instructions are being carried out
Results of ALU carried out are stored here

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

Describe the address bus

A

Carries memory addresses that identify where the data is being read from or written to
Uni-directional

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

Describe the data bus

A

Carries the binary 1s and 0s that make up the actual information transferred around the computer
Bi-directional

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

Describe the control bus

A

Carries the command and control signals to and from every component of the CPU
Bi-directional

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

What is a computer

A

An electronic device that takes an input as data processes and produces an output

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

What is a program

A

A set of instructions

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

Describe the F-D-E cycle

A

The program counter is checked
The address stored is copied to the MAR
The address is sent along the address bus to main memory
The CU sends a read signal along the control bus to main memory
Contents stored in main memory are sent along the data bus to the MDR
Instructions are copied into the CIR
Program counter is incremented by 1

The instruction held in the CIR is decoded by the decode unit
Load address in accumulator (for load)

Execution (based on load)
Address sent to MAR
Address sent down address bus to main memory
Control unit sends a read signal along the control bus to main memory
Contents are sent along the data bus to the MDR
Contents of MDR are copied to ACC

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

What is the Opcode

A

What is done in the F-D-E cycle

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

What is the Operand

A

What the opcode is done to

18
Q

What is program branching

A

Where different lines of code are executed depending on if certain conditions are met

19
Q

What is clock speed and its measurement

A

hertz, number of clock cycles (FDE cycles per second)

20
Q

What are the 3 factors affecting CPU performance

A

Cache size, clock speed, number of cores

21
Q

What is cache

A

Temporary storage of data to be read from and written to
Located on or near CPU
Very fast to access

22
Q

What is a core

A

A complete copy of a CPU

23
Q

Increase clock size increase performance

A

Clock cycle = no of FDE cycles per second
More FDE cycles done equals more instructions executed increasing performance

24
Q

Increase cache size increase performance

A

More frequently used instructions can be stored in the fast to access cache
increasing performance

25
Increase cores increase performance
More independent processors can perform own FDE cycle More instructions processed Increase performance
26
Why might dual core not be exactly 2x number of instructions processed
Cores need to communicate with each other Some programs aren't built for multi core
27
What is pipelining fundamentally
Executing one instruction while another is decoded and another is fetched
28
Components in CPU in pipelining vs non-pipelining
Components are always in use in one part of the FDE cycle
29
2 types of pipelining
Instruction pipelining, arithmetic pipelining
30
What is the instruction pipeline
Various stages the instruction must move through a processor
31
What is the arithmetic pipeline
Parts of an arithmetic operation that can be broken down and overlapped as they are carried out
32
What is flushing a pipeline
When an instruction in the pipeline shouldn't be executed so the pipeline is flushed
33
Why might you have to flush a pipeline
In selection statements (branching)
34
Characteristics of Von Neumann architecture
Shared memory space for instruction and data Instructions and data stored in the same format SINGLE processor follows linear FDE cycle One instruction at a time Registers used as fast access to instructions and data
35
Harvard architecture characteristics
Instructions and data stored in separate memory units Each has its own bus Reading and writing can be done at the same time as fetching an instruction Used by RISC processors
36
Name for modern computer architecture
Architecture
37
Types of contemporary architecture
SIMD MIMD
38
SIMD explained and use
Parallel processing where single instruction is carried out on multiple data at the same time- used by graphic processors
39
MIMD explained
Multiple instructions are carried out on multiple data items across several cores
40
Distributed computing explained
When computers on a shared network take part in a bigger problem