Systems Architecture Flashcards

1
Q

What are the main components of a computer?

A

CPU (central processing unit), main memory, secondary storage, input devices, output devices

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

What is the purpose of a CPU?

A

The purpose of the CPU is to process data and execute programs

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

What are the components of a CPU?

A

Control Unit, Arithmetic Logic Unit, RAM (main memory), Buses, Registers, Clock

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

What is the ALU?

A

The Arithmetic Logic Unit (ALU) performs all the arithmetic operations and logical decisions

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

What is the CU?

A

The Control Unit uses electrical signals to control the timing and the flow of data around the CPU. It is responsible for fetching and decoding instructions so that they can run on the processor.

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

What is RAM?

A

Random Access Memory (primary storage) is the main memory of the computer where programs, data and operating systems are stored when the computer is in use.

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

What are buses?

A

They are just sets of wires, used to transfer data and signals between the CPU and memory

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

What are the different buses and what do they do?

A

Control bus - carries control signals to tell the memory or the processor what to do next
Address bus - carries memory addresses from processor to memory
Data bus - carries data and instructions both ways between memory and CPU

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

What is Von Neumann Architecture?

A

Computer programs and data are stored in the SAME RAM memory

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

What are registers?

A

Registers are extremely small, extremely fast memory located in the CPU that hold small amounts of data needed as part of the fetch-execute cycle. Each register has its own specific purpose.

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

What is the purpose of the clock?

A

The clock keeps related components in sync by generating pulses at a constant rate.

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

What are the different registers and what are their purposes?

A

Program Counter (PC) - holds the address of the next instruction to be executed
Current Instruction Register (CIR) - holds the current instruction
Memory Address Register (MAR) - Holds the addresses that are about to be sent down the address bus to memory
Memory Data Register (MDR) - Holds data or instructions that have travelled up the data bus from the memory
Accumulator (ACC) - Holds the result of the most recent calculation by the ALU.

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

What is Cache?

A

Cache is memory that is similar to RAM, but is much faster and therefore more expensive. It is located very close to the CPU

Cache memory is temporary storage for frequently used data.

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

What are the 4 things that affect how well your processor works?

A

Cache memory (size and speed)
Clock Speed
Number of cores (multiple cores)
Speed of Memory/RAM
Speed/size of any secondary storage.

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

How does clock speed affect how well the processor works?

A

The faster the clock speed, the faster the computer can perform the FDE cycle resulting in better performance because more instructions can be processed each second.

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

What is a dual core processor?

A

Two processors working independently at the same time
They will fetch, decode and execute programs simultaneously
Therefore they can process more instructions at one time - if that can be programmed

17
Q

Will multiple core processors run faster than a singular one?

A

Not necessarily, as software may be designed to only run on 1 core, some tasks cannot be split over multiple cores. Other things also affect speed of processor.

18
Q

What is an embedded system?

A

An embedded system is a computer system with a dedicated function, built into a larger system/machine (to provide a means of control). They have a limited range of functions, its OS and software is in ROM, and its functionality won’t change.

19
Q

What is a non-embedded system?

A

A non-embedded system is a computer system with multiple functions, referred to a general purpose machine.

20
Q

What are the differences between an embedded and non-embedded system?

A

An embedded system is typically:
smaller in size
lower power
lower cost
lower processing power
lower memory

21
Q

What are the characteristics of an embedded system?

A

An embedded system often uses a single microprocessor on a circuit board, and its OS and software is stored in ROM (aka firmware).
They are a small system built into a larger system.
Embedded systems have limited functions, and can’t easily be changed.
And embedded system is frequently used to control a device using limited inputs and outputs.
They’re often invisible to the user.

22
Q

What are some examples of an embedded system?

A

Heating thermostats
Dishwashers
Washing machines
Coffee machines
Traffic lights
Hospital equipment

23
Q

What are the three operations in the Fetch-Execute cycle?

A

Fetch - causes the next instruction and any data involved to be fetched from main memory
Decode - decodes the instruction
Execute - carries out the instruction

24
Q

Describe the process of the Fetch operation in the Fetch-Execute cycle.

A
  1. Firstly, address of next instruction copied from PC into MAR
    2a. 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 MDR
    2b. At the same time, the PC is incremented(goes up by 1) - because it always holds the address of the NEXT instruction
  2. The instruction in the MDR is copied to the CIR
25
What is the difference between storing data and storing an address in a register?
In computing, data refers to the information itself, like a number, a text string, or an image, while an address is a unique identifier for the location of that data within memory. An address is a memory location within RAM whereas data is the actual value.
26
What is clock speed and what is it measured in?
Clock speed is a measure of how quickly a CPU can process instructions. Clock speed is measured in Hertz. The clock speed measures the number for fetch-decode-execute cycles that can take place in 1 second A clock speed of 3.5GHz can perform up to 3.5 billion instructions per second.
27
How does overclocking and underclocking affect the performance of a CPU?
Overclocking is when the clock speed is increased higher than the recommended rate. Higher clock speed - faster performance but runs hotter and consumes more power, which could also damage the machine. Underclocking is when the clock speed is decreased lower than the recommended rate. Lower clock speed - lower performance, less costly, needs less power so good for battery life in laptop. the machine won't perform as well but it will increase the lifespan of it.
28
How does cache size affect the performance of the computer?
Cache memory is closer to the CPU than RAM, so meaning that it can provide data and instructions to the CPU at a faster rate. A computer with more cache memory (eg 8GB instead fo 4GB) should have a higher performance because repeatedly used instructions can be stored and accessed faster. However, cache memory is costly, so most computers only have a small amount.