Components Of A Computer Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What does the control unit do?

A

Controls and coordinates what the CPU is doing. Directs the flow of data between CPU and other devices. It accepts the next instruction, decodes it into several steps and manages its execution.

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

What is a bus?

A

A bus is a set of parallel wires connecting two or more components of a computer.

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

What are the three buses the CPU is connected to?

A

address, data and control

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

How does the CPU use the address bus?

A

When the CPU wants to access a location in the main memory, it sends the address to the memory along the address bus.

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

How is the data bus used?

A

Data retrieved from the main memory is returned to the CPU on the data bus

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

What is the ALU?

A

Arithmetic Logic Unit. Performs arithmetic and logical operations.

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

Name the five registers in the CPU

A
Program Counter
Current Instruction Register
Memory Address Register
Memory Data Register
Accumulator

Not the ALU idiot

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

What is the PC used for?

A

Holds the address of the next instruction to be executed.

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

What is the CIR used for?

A

Holds the current instruction being executed, divided into operand and opcode

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

What is the MAR used for?

A

Holds the address of the memory location where data is being retrieved/written to

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

What is the MDR used for?

A

Used to temporarily store the data read from or being written to memory.

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

Describe the fetch phase of the Fetch-execute cycle

A

The address of the next instruction is copied from the PC to the MAR.
The contents of the MAR are sent along the address bus to main memory.
The data held at that address in memory is returned along the data bus and copied to the MDR. Simultaneously the content of the PC is incremented.
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
13
Q

Describe the decode phase of the fetch-execute cycle

A

The instruction in the CIR is passed to the decode unit to be decoded by splitting it into the opcode and operand.
The decoded address is stored in the MAR.
It goes along the address bus to the address in the main memory. The data there is passed along the data bus and stored in the MDR and is then sent to the ALU where it is executed.

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

What is the accumulator used for?

A

Used to save the result of operations carried out in the ALU.

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

What is pipelining?

A

As the current instruction is being executed in the ALU, the next instruction is being fetched from memory.

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

What is von Neumann architecture?

A

Data and instructions are together in memory. The same data bus is used to transfer both data and instructions from main memory and a single address bus is used.

17
Q

What is the stored program concept?

A

machine code instructions are fetched and executed serially by a processor that performs arithmetic and logical operations.

18
Q

What is Harvard architecture?

A

When instructions and data are stored in two different memories. This allows for parallel data and instruction buses to be used.

19
Q

What is CISC?

A

Complex Instruction Set Computers. Complex instructions are built into the machine’s hardware, which means less lines of code have to be written in the assembly program.

20
Q

What is RISC?

A

Reduced Instruction Set Computer. Only simple instructions that take one clock cycle are available.

21
Q

What are the advantages of CISC? (3 things)

A

The compiler has to do less work to translate high level languages into machine code.
The instructions are short, so they take up less space in RAM.
Programmers writing in assembly have to write less code

22
Q

What are the disadvantages of CISC?(3 things)

A

Many specialised instructions are built into the hardware that are rarely used.
Processors require more circuitry and so are more expensive to make
Processors use more power as they contain more components such as capacitors.

23
Q

What are the disadvantages of RISC? (3 things)

A

The compiler has to do more work to translate high level languages into machine code.
The instructions are large, so they take up more space in RAM.
Programmers writing in assembly have to write more code.

24
Q

What are the advantages of RISC?(2 things)

A

All instructions take the same time, so pipelining is possible.
Processors have less circuitry so they are cheaper to make.

25
Q

What is a co-processor?

A

An extra processor used to supplement the functions of the primary processor. It may be specialised at performing a certain task, such as handling graphics.

26
Q

What are the advantages of a multi-core system?

A

Allows you to process one set of instructions faster by splitting the workload between different cores.
Allows you to run multiple programs at one time.

27
Q

What does a GPU do?

A

A GPU handles computer graphics and image rendering. It is very efficient at doing repetitive tasks, such as updating the pixels on a monitor.

28
Q

What is the structure of a GPU?

A

A GPU is made up of thousands of small cores connected in a parallel architecture.

29
Q

Name 4 factors that affect the performance of a CPU

A

Clock speed
Number of cores
Cache memory size
If pipelining is being used

30
Q

What is contemporary architecture?

A

Contemporary processors use a combination of Harvard and Von Neumann architecture.
Von Neumann is used when working with data and instructions in main memory, but uses Harvard architecture for the cache.