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

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
Clock Speed
Multiple cores
Speed of Memory

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

Higher clock speed - faster performance but runs hotter and consumes more power (overclocking)
Lower clock speed - lower performance, less costly, needs less power so good for battery life in laptop
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.

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, inside a larger mechanical unit.

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 is a single microprocessor that includes RAM, ROM and a CPU.
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