1.1: Systems Architecture Flashcards

1
Q

What is the difference between hardware and software?

A

Hardware is a physical component of a computer, software is a program that runs on a computer

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

Draw a basic computer system model

A

Input with arrow to CPU
Memory and secondary storage with 2 way arrows to CPU
Output coming from CPU

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

Name 4 input devices

A

Mouse and keyboard, microphone, camera, thermistor

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

Name 4 output devices

A

Speaker, monitor screen, printer, actuator

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

Name the 2 main functions of the CPU

A

To process data and information
To control the rest of the computer system

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

Name 5 functions of the control unit (CU)

A

. It controls the execution of instructions in the correct sequence
. It decodes instructions
. It regulates and controls CPU timing using regular pulses
. It sends and receives control signals to and from other hardware pieces within the computer
. Controls data movement

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

What is the function of the arithmetic logic unit?

A

It performs logic operations, shift operations and arithmetic operations

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

What is the cache?

A

A small amount of fast RAM which provides fast access to frequently used instructions and data

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

What does the clock do?

A

Sends out electrical pulses at regular intervals to synchronise the components of the computer.

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

What is a register?

A

A small amount of high speed memory used to store small amounts of data that are needed during processing

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

What is an address?

A

The location of a piece of information

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

What does the program counter (PC) do?

A

Holds the memory address of the next instruction to be processed

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

What does the memory address register (MAR) do?

A

Holds the address of where data is to be fetched from or stored into

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

What does the memory data register (MDR) do?

A

Holds data or an instruction temporarily after it has been fetched from memory or about to be sent to memory

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

What does the accumulator (ACC) do?

A

Temporarily holds the result of operations carried out by the ALU

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

Describe the process of the fetch stage in the fetch-execute cycle

A

Program counter is checked for address of next instruction. The address is used by the MAR to fetch the instruction from the main memory and bring it back to the MDR. PC looks for next address.

17
Q

Describe the process of the decode stage in the fetch-execute cycle

A

Now the instruction is in the CPU, the CU decodes the instruction to see what has to be done

18
Q

Describe the process of the execute stage in the fetch-execute cycle

A

The instruction is carried out. What is done depends on the instruction, such as fetching data from the RAM and adding it to the accumulator or writing data in the accumulator into RAM

19
Q

What are the 3 main stages of the FE cycle?

A

Fetch, decode, execute

20
Q

What 3 main factors affect the CPU’s performance?

A

Clock speed, cache size, number of cores

21
Q

What does an increase in clock speed do to the CPU?

A

Increasing the clock speed increases the number of instructions processed/cycles per second

22
Q

What is clock speed measured in?

A

Hertz

23
Q

What is the average clock speed for a PC?

A

Between 2GHz and 4GHz

24
Q

What happens to CPU performance when cache size is increased?

A

The more data and instructions can be held in cache and made available quickly, increasing processor performance

25
Q

What is a core?

A

A complete copy of a CPU, each with its own registers, ALU, CU etc.

26
Q

What can the CPU do with multiple cores?

A

Run more than one fetch-execute cycle at once, thus operating faster than a single-core processor

27
Q

Why does doubling the amount of cores not double the overall speed (2 reasons)?

A

Cores need to communicate with each other which takes time, and many programs are not designed to run at maximum efficiency with multiple cores

28
Q

What is an embedded system?

A

A computer system with a dedicated function within a larger system

29
Q

Give 6 examples of embedded systems

A

Cars
Cameras
Medical equipment
Vending machines
Aircraft
Televisions
Ovens
Etc.

30
Q

Give 4 characteristics of an embedded system

A

Cannot be changed - program is held in ROM
Simple user interface, or none at all
Require little power - may run on batteries
Low cost per unit - cheap to design and build