1.1: SYSTEMS ARCHITECTURE Flashcards

1
Q

What is the purpose of the CPU?

A

To process data and instructions stored in memory by repeatedly carrying out the fetch-decode-execute cycle.

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

Explain the fetch-decode-execute cycle?

A

-an instruction is fetched from memory, decoded by the control unit and executed, and the cycle repeats

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

Functions of the control unit: MAIN POINT and additional ones (4 in total)

A
  • issues control signals that control hardware
  • provides timing signals
  • fetches, decodes and executes instructions
  • moves data around the system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Functions of the Arithmetic Logic Unit: (3)

A
  • performs arithmetic and logical calculations/ operations.
  • acts as a gateway between primary memory and secondary storage. Data transferred between them passes through the ALU.
  • bit shifts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are registers and what is their function? (2)

A
  • small amounts of high-speed memory contained within the CPU.
  • used by processor 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
6
Q

What is the purpose and REASON that cache is important within the CPU? (what does it do, and how does that affect the CPU) (2)

A
  • hold data and instructions that the processor is likely to reuse
  • allows for faster processing as the processor does not have to wait for the data and instructions to be fetched from RAM.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the purpose of a clock?

A

used to coordinate all of the computer’s component

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

How does the clock complete its function?

A

-sends out a regular electrical pulse which synchronises all the components.

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

What is the correlation between the clock and clock speed?

A

The frequency of the pulses is known as the clock speed.

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

What is a bus and what is its function? (2)

A
  • high-speed internal connection.

- used to send control signals and data between the processor and other components.

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

program counter:

A

stores the address of the next instructions to be run (fetched from primary memory), and increments by 1 for every time an instruction is run

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

memory address register (MAR):

A

stores the address where the next data will be fetched from

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

memory data register (MDR):

A

stores the data that has just been fetched

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

current instruction register (CIR):

A

holds the instruction that is currently being decoded and executed

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

accumulator (ACC):

A

temporarily stores results by the operations carried out by the ALU

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

Function of the Address bus:

A

-carries memory addresses from the processor to other components (such as primary memory and input/output devices)

17
Q

Function of the Data bus:

A

carries the actual data between the processor and other components.

18
Q

Function of the Control bus:

A

carries control signals from the processor to other components. The control bus also carries the clock’s pulses.

19
Q

EQ: Identify 2 input devices and one output device that may be connected to the CPU.

A

Input: keyboard, mouse, scanner, digital camera, microphone, webcam

Output: monitor, printer, speaker

20
Q

3 factors that affect CPU performance:

A

clock speed

  • cache size
  • number of cores
21
Q

what is clock speed?

A

-number of fetch-execute cycles per second.

22
Q

Why is cache memory more efficient than RAM?

A
  • cache memory operates much faster than memory, as data is transferred in and out of cache memory more quickly.
  • therefore it makes the CPU more efficient as less time is spent waiting for data to be transferred.
23
Q

what is clock speed measured in and how does it correlate to the number of instructions?

A

-clock speed is measured in hertz. The higher the frequency, the more instructions can be performed in any given moment of time.

24
Q

How will the CPU optimise its use of cache? and for what reason?

A
  • use the fastest cache before using the next level or using RAM.
  • in order to improve the performance speed
25
Q

What is a core capable of doing?

A

-each core is capable of fetching, decoding and executing its own instructions.

26
Q

What is the correlation between # of cores and CPU performance?

A

-the more cores a CPU has, the greater the number of instructions it can process in a given space of time.

27
Q

What is a possible problem that can be encountered w/ cores?

A

-the processor may not be able to perform multiple operations simultaneously if the software it is running is not designed for multi-core processors

28
Q

What is an embedded system?

A

a small computer that forms part of a larger system, device or machine

29
Q

Does an embedded system require a full operating system? and why?

A

-no since they perform limited and very specific tasks

30
Q

Why must embedded systems be reliable? Explain your answer. (2)

A
  • they cannot be modified once manufactured

- the program that controls them is held in ROM

31
Q

What is the purpose of an embedded system?

A

to control the device and to allow a user to interact with it.

32
Q

Give some examples of embedded systems:

A
  • Traffic lights
  • Sound system
  • Tumble dryer
  • Electronic games
  • Digital watches
  • Washing machine
  • Dish washer
33
Q

why do embedded system usually have slower clock speed?

A

-they don’t need to do a lot of processing since they have simple instructions compared to a desktop PC

34
Q

What is an advantage of using a microcontroller?

A
  • cheaper to manufacture

- fewer components that could go wrong which makes them more reliable

35
Q

What assumption can you make from the fact that embedded systems often use less power than computer systems? and give an example of how this could be applied to real life.

A

-they are appropriate for use in small devices in which battery life is a consideration, for example, a smart watch

36
Q

Characteristics if an embedded system: (3)

A
  • usually have a slower clock speed than desktop computers
  • often use microcontrollers- which contain the CPU, RAM & ROM on one chip
  • often use less power than computer systems