8. Computer Architecture Flashcards

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

RAM

A

Main Memory

  • Stores instructions and data for programs. Program must be in RAM in order to run.
  • Memory is volatile.
  • Each memory location is addressable.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Operating System

A

A software meant to link application software and hardware.

Handles:

  • Resource Management
  • Provides a User Interface
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

I/O Controllers and I/O devices

A

I/O Device - Hardware such as: keyboards, harddisks, mouse, monitors, printers.

I/O Controller - Interfaces between processor and I/O device e.g. keyboard controller.

CPU sends a command to it which will then send specific signals to the device it controls.

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

Buses

A

A set of parallel wires that connect independent components of a computer

Data Bus - Bidirectional carries between components
Address Bus - Mono directional, from the processor
Control Bus - Bidirectional, carries control signals e.g. write/read signals.

Bus width: Number of lines allocated to a bus. 8 Lines means 8 bit words can be transferred along the bus.

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

The Processor

A

Its main function is to execute instructions that are fetched from the RAM.

Has millions of transistors and are mostly made up from semi-conductible silicon.

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

Moore’s Law

A

Number of transistors in a dense integrated circuit should double every two years.

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

Name the components of the CPU

A

Control Unit
Arithmetic and Logic Unit
System Clock
Registers

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

Stored Program Concept

A
  • Proposed by Alan Turing and John von Neumann.
  • Program must be in main memory to be executed.
  • Machine code are fetched from main memory then executed one after another.
  • Program instructions can be replaced any time by other programs.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Components of the CPU: CU & System Clock

A

Control Unit: Fetches, decodes and executes instructions one at a time. It co-ordinates all activities on the processor.

System Clock: A signal alternating between 1 & 0 millions of times a second. Each operation on the processor starts with a clock pulse. Some operations take many clock cycles.

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

Components of the CPU: ALU & Registers

A

Arithmetic Logic Unit: Performs mathematical operations (add, mul etc) also has boolean operations such as AND, OR, XOR, NOT.

Registers: Fast memory locations on the processor or I/O controllers. Can be general purpose for use by the programmer or special purpose.

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

Dedicated Registers: PC, ACC, CIR

A

Program Counter: Stores the address of the next instruction to be fetched.

Accumulator: Stores the results of instructions.

Current Instruction Register: Holds the current instruction that is to be decoded and executed.

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

Dedicated Registers: MAR, MBR, Status Register

A

Memory Address Register: Holds the memory address to be read or written to.

Memory Buffer Register: Holds the data item to be transferred to or from a memory location.

Status Register: Contains bits which are set or cleared depending on the result of an instruction.
i.e. Zero flag is set to 1 when the result of an instruction is 0.

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

System Clock and Clock Speed

A

Every computer has a clock that supplies timing signals. All other timing signals are derived from this.

  • Measured in MHz or GHz
  • CPUs are designed to be executes at a given frequency.
  • The higher the clock speed, the more instructions can be executed in the same time period.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Word Length

A
Word Length (in bits): The higher the word length, the more bits can be processed in one operation. 
CPUs with 64 bit word size can process 64 bits using one machine code. This is twice as many as a 32 bit. CPU.

Allows bigger memory addresses to be accessed so more RAM can be used.

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

CPU Performance 1

A

Increasing the clock speed will reduce the time it takes to execute an instruction. However it also increases heat generation and power consumption.

Each core is a processor and multi-core processors can run at lower frequencies than a single core, meaning it is cooler. A dual core does not necessarily mean it will run twice as fast.

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

CPU Performance 2

A

Increasing the word length means the CPU can processor more bits in a single action. Typical word lengths are 32bit and 64bit.

Increasing bus width means the processor does not need to be kept waiting for data on RAM (known as von Neumann bottleneck) because the bigger width allows more data to be read or written to in one cycle.

Also allows more data to be addressed. (2^n of lines)

17
Q

CPU Performance 3

A

Cache memory is extremely fast and often accessed by the CPU, the higher capacity for this memory, more frequent actions can be stored which may lead to faster performance.