1.1- Systems Architecture Flashcards

(35 cards)

1
Q

What does CPU stand for and where is it found?

A

CPU stands for Central Processing Unit. It is found in the motherboard.

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

What is the purpose of the CPU?

A

The purpose of the CPU is to process data and instructions by constantly repeating the fetch-execute cycle.

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

What are the four main parts of the CPU?

A
  1. Control Unit
  2. Arithmetic and Logic Unit
  3. Registers
  4. Cache
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the control unit do?

A

The control unit (CU) sends control signals to direct the operation of the CPU. Control signals are sent to the ALU and other components such as RAM. It also decodes instructions as part of the fetch-execute cycle. It controls the timing and flow of data inside the CPU (to registers, cache, ALU) and outside the CPU (to main memory and input/output devices).

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

What is a register?

A

A register is a temporary storage space for one instruction or address. Different registers are used during the fetch-execute cycle.

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

What are the five main registers used in the fetch-execute cycle?

A
  1. Program counter (PC)
  2. Memory Address Register (MAR)
  3. Memory Data Register (MDR)
  4. Current Instruction Register (CIR)
  5. Accumulator (ACC)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does the program counter do?

A

This is found in the Control Unit. It tracks the RAM address of the next instruction to be fetched.

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

What does the MAR do?

A

This stores the RAM address of the current instruction or data that the CPU needs to access, or the address in memory to which data is to be transferred.

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

What does the MDR do?

A

This stores the instruction that has been transferred from the RAM to the CPU. It holds the data that has been retrieved from memory, or that is about to be stored in memory

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

What does the CIR do?

A

This stores the instruction that has been fetched from RAM and is about to be decoded or executed.

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

What does the accumulator do?

A

This stores the result of mathematical or logical calculations.

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

What does the Arithmetic and Logic unit do?

A

The arithmetic and logic unit (ALU) performs simple calculations and logical operations. It contains the accumulator register.

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

What is Cache memory used for?

A

Cache memory is used to temporarily store data that is frequently accessed, so that the CPU can access it quickly the next time it is needed. When the CPU requests data, it checks the cache first, then the RAM.

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

What are the levels of cache memory?

A

Cache memory is split into different levels (L1 is the fastest but has the lowest capacity, L2 slower but holds more, L3 slower but holds more).

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

What the comparisons between Cache and RAM?

A

Cache is much slower to access than registers but much faster than RAM. Caches have a low capacity and are much more expensive compared to RAM.

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

What is the architecture of a computer?

A

The way a computer is designed is known as its architecture.

17
Q

What is the most common type of computer architecture?

A

The most common type of architecture is Von Neumann architecture. This architecture is named after Jon von Neumann who developed the concept of a stored program computer in the 1940s. Before being able to store programs in memory, instructions had to be manually inputted.

18
Q

What does a computer with Von Newman architecture do and how does this compare to Harvard architecture?

A

A computer with von Neumann architecture stores both program instructions and data in the same memory (RAM). Other architectures like Harvard, have two separate memory locations: one for program instructions and one for data.

19
Q

What are buses?

A

Data is transferred between components on pathways called buses.

20
Q

What are the main types of bus and what do they do?

A

Control bus – carries control signals to tell the memory or processor what to do next, e.g. :
– Memory READ – find out what is in a memory location
– Memory WRITE – change the value in a memory location
– clock signals – time to do the next instruction
Address bus – carries memory addresses from processor to memory
Data bus – carries data and instructions both ways

21
Q

How does the fetch-execute cycle work?

A
  1. The program counter (PC) register displays the address in RAM of the next instruction to be processed.
  2. This value is copied into the Memory Address Register (MAR).
  3. These steps happen simultaneously:
    a) The contents of the MAR are sent down the address bus. A READ signal is sent down the control bus The main memory looks at what is in that memory location and sends it up the data bus to the Memory Data Register (MDR)
    b) The PC register is incremented by 1- preparing the CPU for the next instruction to be fetched.
  4. The instruction in the MDR is copied into the Current Instruction Register (CIR).
  5. The instruction in the CIR is decoded (understood) and executed (processed). The result of any execution is stored in the Accumulator (ACC) register.
  6. The cycle repeats by returning to the first step and checking the program counter for the address of the next instruction.
22
Q

What are the factors that affect CPU performance?

A
  1. Cache Memory
  2. Clock Speed
  3. Number of cores
23
Q

What is cache memory?

A

temporary storage for frequently accessed data.

24
Q

How does cache memory impact CPU performance?

A

Cache memory is closer to the CPU than RAM, meaning that it can provide data and instructions to the CPU at a faster rate. A computer with more cache memory (eg 8GB over 4GB) should have a higher performance because repeatedly used instructions can be stored and accessed faster.

25
What are the disadvantages to cache memory?
However, cache memory is expensive, so most computers only have a small amount.
26
What is clock speed?
Clock speed is a measure of how quickly a computer can process instructions. It is measured in gigahertz (GHz) and an average desktop computer might have a clock speed of 3.5 GHz.
27
What is the impact of clock speed on CPU performance?
The faster the clock speed, the faster the computer can perform the fetch-execute cycle, resulting in better performance because more instructions can be processed each second.
28
What is overclocking?
Overclocking is when the computer’s clock speed is increased higher than the recommended rate. This will make the computer work faster, but it can lead to overheating and can damage the machine.
29
What is underclocking?
Underclocking is when the computer’s clock speed is decreased lower than the recommended rate. This will make the computer perform slower, but will increase the lifespan of the machine.
30
What is a core?
A core is a complete set of CPU components (control unit, ALU and registers). Each core can complete its own fetch execute cycle. A multi-core CPU has more than one set of components in the same CPU.
31
What is the impact of the number of cores on CPU performance?
A single core processor can execute one instruction at a time, a dual core processor can execute two instructions and a quad core processor can execute four instructions simultaneously. Therefore, a computer with more cores will have a higher performance because it can process more instructions at once.
32
What are the disadvantages to having too many cores?
However, if one core is waiting for another to finish processing, performance may not increase at all. Some software is not written to make use of multiple cores, so it will not run any quicker on a multicore computer.
33
What is an embedded system?
An embedded system is a computer system built into a larger machine to provide a means of control. They perform a specific pre-programmed task that is stored in ROM.
34
What does an embedded system use?
An embedded system uses a combination of hardware and software. They perform only specific tasks and often have a small amount of storage and low processing power.
35
What are some examples of embedded systems?
Washing machine- has a control chip managing the cycles. Traffic light- has a control chip that determines whether to turn red or green.