1.1 Systems Architecture Flashcards

1
Q

What is the Program Counter

A

Holds the address of the next instruction to be executed and adds one each time so that it points to the next instruction

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

Fixed program machine

A

Has one purpose - eg. calculator

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

Stored program machine

A

Has changeable programs

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

What is the Accumulator (Acc)

A

a special purpose memory location that holds the results of any calculations performed by the arithmetic logic unit (ALU)

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

What is the Memory Data Register (MDR)

A

Holds data or a program instruction temporarily when it is fetched from memory or data that is waiting to be written to memory

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

What is the Memory Address Register (MAR)

A

Holds the address (location in memory) of where the data is to be fetched from and then where it is to be stored

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

How is instruction data and program data stored in the computer

A

In Binary form

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

What is the Random Access Memory (RAM)

A

The main memory of the computer. Acts as storage for programs and data while the programs are being executed

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

What does the ALU do?

A

It does the arithmetic calculations & logic and shift operations

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

What are buses

A

They are the wires that carry all the data around

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

What is a cache

A

Temporary storage that provides fast access to frequently used instructions and data. It is used to avoid taking extra time going all the way to RAM

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

What are registers

A

A superfast memory location within the CPU, used in the execution of instructions

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

What three things can affect the performance of the CPU?

A
  • Clock speed
  • Cache size
  • Number of cores
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a gigahertz? (GHz)

A

1 billion cycles per second

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

How does clock speed affect the CPU?

A

Clock speed is the number of instruction cycles that a CPU can do per second so a faster clock speed means a faster CPU

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

How does cache size affect the CPU?

A

There are three cache sizes:-
Fastest - Can hold the least amount of data - most expensive
Slower - can hold more data
Slowest - Can hold the most data at a time - least expensive

17
Q

How does the number of cores affect the CPU?

A

The more cores there are, the faster the computer can work. This is because parallel processing can take place with more than one instruction being executes simultaneously. However, double the core does not equal double the speed.

18
Q

What is a core

A

A complete copy of the CPU each with its own components (ALU, Acc, etc).

19
Q

What is a quad-core processor

A

a processor with 4 cores

20
Q

What is an embedded system

A

An embedded system is a computer system with a dedicated or single function and is usually found within a larger mechanical or electrical system. It often has a very basic or no user interface.

21
Q

what is a register

A

a very fast memory location within the CPU used in the execution of instructions

22
Q

What is the purpose of the CPU

A

It fetches, decodes, and executes instructions & manages the rest of the hardware

23
Q

What happens in the Fetch-Decode-Execute cycle

A

FETCH
- The Program Counter is loaded with the location of the next instruction to be executed.

- This address is then loaded into the Memory address register (MAR) which is connected directly to the address bus. What this means is that the address bus is now pointing to the instruction in RAM     The Pc is then incremented by one so that it holds the address of the next instruction to be executed
- This instruction is copied from RAM on to the data bus which then allows the Memory Data Register (MDR) to store a copy of it.

DECODE
The purpose of the decode phase is to look at the content of the MDR and work out if it is a relevant instruction that the CPU can carry out.
• Check to see if the MDR contains a valid CPU instruction - if it does, load the instruction register with the instruction. If it is not valid, then ideally an error is flagged so that the program can deal with it.

EXECUTE

  • actually carrying out the instruction present in the instruction register.
  • results of processing are held in the accumulator
24
Q

What does the Control Unit do?

A

Coordinates all the activities inside the CPU and regulates and controls processor timing

25
Q

What is Clock Speed

A

The speed at which a processor operates. Measured in Hertz (cycles per second).

26
Q

Main Characteristics of an Embedded system

A
  • Program which controls the equipment can’t be changed
  • Has a very limited operating system
  • Very simple to no user interface
27
Q

Common CPU compoents

A

ALU
CU
Cache
Registers

28
Q

What is Von Neumann architecture

A

the design upon which many general purpose computers are based

29
Q

A processor based on Von Neumann architecture has which five special registers

A
  • Program counter
  • MAR
  • MDR
  • Accumulator
    (- CIR)
30
Q

Examples of embedded systems

A
  • central heating systems
  • engine management systems in vehicles
  • domestic appliances, such as dishwashers, TVs and digital phones
  • digital watches
  • electronic calculators
  • GPS systems
  • fitness trackers
31
Q

computer A has a 3.2 GHz processor
computer B has a 1.2 GHz processor

explain why computer A will usually run faster than computer B

A
  • it will have a higher clock speed
  • so it will be able to complete more fetch-execute cycles per second
  • therefore more instructions can be completed per second