Unit 1: Systems Architecture Flashcards

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

What is the definition of a Computer System?

A

A computer system is a machine whose job it is to input, process and output data.

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

What are General Purpose Systems?

A

General purpose systems is a device (such as smartphones and tablets) that are used for multiple different things.

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

What is an Embedded System?

A

Embedded systems are where the computer works as part of a larger system, for example the computer system in a car, or a micro controller in a washing machine. They are only designed to do one specific task, so are often simpler than a general purpose computer.

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

What does the CPU and Memory do together?

A

They run programs. In particular, the CPU executes (runs) programs using the fetch-decode-execute cycle, whilst the memory (registers, cache, RAM and virtual memory) store the data amd programs that are currently in use.

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

What did John Von Neumann do?

A

He developed a new concept that would allow you to store program instructions as well as data in the memory.

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

What are the key features of Von Neumann Architecture?

A
  1. There is a single memory (and bus system) for accessing both data and programs
  2. The program stored in main memory and instructions are fetched and executed sequentially.

The way this works is known as the fetch-decode-execute cycle.

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

What is the Fetch-Decode-Execute cycle?

A

FETCH - The address of the instruction to be executed is copied from the Program Counter (PC) to the Memory Address

The instruction at that address is fetched from memory and copied to the Memory Data Register (MDR)

DECODE - The Control Unit decodes the instruction and decides if data needs to be fetched

EXECUTE - The instruction is executed

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

What is the Arithmetic Logic Unit and what does it do?

A

Arithmetic Logic Unit (ALU) - carries out the arithmetic and logical operations required.

AND, OR , NOT

ADD, SUB etc.

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

What is CPU performance?

A

How fast a computer can run depending on a number of factors.

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

What is Clock Speed?

A

This determines how many instruction cycles a processor is able to process every second. A clock speed of 2 gHz (gigahertz) for example would mean that 2 billion instruction cycles are processed every second.

The higher the clock speed, the more instructions can be processed every second. However, more instructions processed means more heat, and more power consumed, somall processors have a maximum ‘safe’ clock speed. This can be manually overridden which is known as overclocking.

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

How does the Number of processor cores affect CPU performance?

A

A CPU often will contain a number of processing units known as cores, each one consisting of an ALU and a Control Unit, as well as very temporary memory known as registers. The number of cores a processor has determines how many instructions it can process at the same time.

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

How does Cache size and type affect CPU performance?

A

Next to the CPU is a very fast (and expensive) type of memory called cache memory. This is where instructions that the computer is likely to reuse are stored. Since constantly fetching instructions from RAM can be slow, the CPU checks the cache memory for instructions before checking RAM, to help speed up the process. This means that the more cache there is, the more of these quick reference instructions can be stored, and therefore the faster the computer can run.

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

What is the Control Unit and what does it do?

A

Control Unit (CU) - The control unit coordinates and controls all of the activities taking place within the CPU

  • It decodes instructions and executes them
  • It receives signals from the system clock
  • It directs the timing and control other parts of the CPU
  • It decides if data needs to be fetched
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the clock and what does it do?

A

Clock - a signal which is used to synchronise everything inside a computer.

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

What is the Bus and what does it do?

A

Bus - a collection of wires through which data is transmitted from one component to another.

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

What is the Current Instruction Register and what does it do?

A

Current Instruction Register (CIR) - Holds the instruction being decoded and executed.

17
Q

What is the Memory Address Register and what does it do?

A

Memory Address Register (MAR) - Holds the memory address of the current instruction, and then the data that it uses, so that these can be fetched from memory

18
Q

What is the Memory Data Register and what does it do?

A

Memory Data Register (MDR) - Holds the actual instruction, and then the data thathas been fetched from memory

19
Q

What does the Accumulator do?

A

Accumulator (ACC) - Holds the result of an instruction before it is transferred to memory

20
Q

What is the Program Counter and what does it do?

A

Program Counter (PC) - Holds the address of the next instruction to be executed.

21
Q

What are the three types of Bus’?

A

Address Bus - Carries memory from the processor to other components such as prinary storage and input/output devices. The address bus is unidirectional.

Data Bus - Carries the data between the processor and other components. The data bus is bidirectional.

Control bus - Carries control signals from the processor to other components. The control bus also carries the clock’s pulses. The control bus is unidirectional.

22
Q

What would be the input devices on a laptop and a smartphone?

A

Laptop: keyboard, buttons, trackpad, microphone

Smartphone: microphone, buttons, GPS sensor, gyroscopic sensor, touch part of the touchscreen

23
Q

What would be the output devices of a laptop and smartphone?

A

Speakers, display

24
Q

What is a register?

A

A register is a very fast memory location in the CPU itself

25
Q

What is the purpose of the CPU?

A

To fetch and execute instructions stored in memory

26
Q

What affects CPU performance?

A
  • Clock speed
  • Processor cores
  • Cache
27
Q

How many cycles per second would ___ be:

1 kilohertz (kHz)
1 Megahertz (MHz)
1 Gigahertz (GHz)
A

1 kilohertz = 1000 cycles per second
1 Megahertz = 1,000,000 cycles per second
1 Gigahertz = 1,000,000,000 cycles per second