Characteristics Of CPU Flashcards

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

Function of Control Unit

A

Coordinates activity between components and decode instructions.

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

Function of the Arithmetic Logic Unit

A

Responsible for logic and arithmetic calculations (+ - / *), logic, and shift operations.

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

What does the data bus do

A

Transmits data between instructions.

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

What does the address bus do

A

Carries the location of the address, where data is going from/to.

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

What does the control bus do

A

Transmits control signals e.g memory read/write/interrupts.

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

What does the Program Counter do?

A

Store memory address of the next instruction.

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

What does the Memory Address Register do?

A

Holds the address being read/written from.

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

What does the Memory Data Register do?

A

Holds the data that’s being read/written to/from.

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

What does the current Instruction Register do?

A

Holds the current instruction, decode into op-code and operand

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

What does the accumulator do?

A

General purpose register stores result from the ALU.

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

Explain the Fetch-Phase in the fetch-execute cycle.

A

1) Content is the PC are copies into MAR.
2) Memory is read to initiate a copy of the instruction word from memory to the MBR
3) The PC incremented, contains address to next instruction.
4) The instruction word is copied from the MBR into CIR. Instructions contain two parts: opcode and operand.

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

What is the op-code?

A

Instruction

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

What is the operand?

A

To perform the operation on.

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

Explain what happens in the Execute-Phase?

A

1) The opcode instruction in the CIR is decoded into simple operations such as ADD, STORE, and COMPARE.
2) The instructions in the CIR is executed; if the result needs to be committed by memory the address is held in the MAR
3) Unless instructions is stop the cycle is repeated

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

What are the factors that affect performance

A

1) Multiple Cores
2) Cache Memory
3) Clock Speed
4) Bus width, words

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

What is Pipelining

A

Completing the fetch-execute cycle in three separate phases instructions simultaneously.

17
Q

What is the stored programme concept

A

1) Programs needs to be held in main memory to help executed in a processor
2) The instructions is fetched at a time decoded and executed sequentially
3) The sequence of instructions can be changed by a conditional or unconditional jump in instructions

18
Q

Von Neumann Architecture

A

• Instructions and data are stored in a common main memory and transferred by a single bus.

• Cheaper to develop as control unit is easier to design.
• Programs can be optimised in size
• Good for general purpose.

19
Q

Harvard Architecture

A

• Program and dats and stored in separate main memory and transferred by two separate buses.

• Quicker execution as data and instructions can be fetched in parallel
• Memories can be different sizes which can make efficient use of space.
• Hardware connections expensive: have two buses.
• Harvard principles can be used with specialist embedded systems.

20
Q

Contemporary Processing

A

Combination of Von Neumann architecture and Harvard
• Von Neumann used when working with data and instructions in main memory Harvard Architecture to divide cache into instruction cache and data cache.

21
Q

Assembly Language

A

Assembly code uses mnemoics to represent instructions: it’s a simplified way of writing machine code
• The instructions is divided into operand and op-code in Current Instruction Register.

22
Q

RISC

A

Reduced Instruction Set Computers
• Have a small instruction set.
• Each instruction is one line of machine code and takes one clock cycle.

23
Q

CISC

A
  • Complex Instruction Set Computers
  • Have a large instruction set.
  • Used in microcontrollers and embedded systems.
24
Q

RISC vs CISC

A

RISC
- The complier has to do more work translating high level code into machine code
- More RAM required to store the code.
- Pipelining possible since each instruction takes one clock cycle.

CISC
- The complier can do less work then translating high level code into machine code.
- Less RAM is required since the code is shorter
- Many specialized instructions are made in only a few of them are used.

25
Q

Multicore processor

A

able to distribute workload across multiple processors units, thus achieving significantly higher performance by performing several tasks in parallel

26
Q

Co-processors.

A

extra processor used to supplement the functions of the primary processor

  • **maybe used in floating point arithmetic, graphics processing digital signal processing and other functions
  • carries out only a limited range of functions
27
Q

GPU

A
  • Graphics Processing Units is a specialised electronic circuit which is very efficient at manipulating computer graphics and image processing
  • Consists of thousand of small efficient cores designed for parallel processing
  • Can process large blocks of visual data simultaneously
28
Q

Function of GPU

A
  • A GPU can act together with CPU to accelerate scientific, engineering, and other applications
29
Q

What does RAM stand for

A

Read only Memory

30
Q

What does ROM stand for

A

Read only memory

31
Q

Features of RAM

A

Stores: Operating system, running programs, and data currently being used

Volatile - memory is erased when computer has no power

It can be read and written to

32
Q

Features of ROM

A

Stores: Computing bootup instructions (bootstrap), BIOS.

Non-volatile - retain memory when there’s no power to the computer

read-only.

33
Q

What is virtual memory

A

Part of the hard drive used as an extension to RAM

34
Q

How does virtual memory work

A
  • Applications or programs are loaded and coped into the RAM from secondary storage, so RAM starts to fill up.
  • You want to load another program but there’s no space.
  • The part of the hard drive is used as RAM and the programme is stored there.

Virtual storage is slower as reading and writing from RAM is much more faster