1.1 System Architecture Flashcards

1
Q

Define CPU

A

The CPU is often thought of as the “brains” of the computer. The purpose of the CPU is to fetch, decode, and execute instructions.

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

Define fetch-execute cycle

A

The CPU fetches the next instruction from RAM, it works out what to do with the instruction, then carries out the instruction.

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

Define Control Unit

A

The control unit controls the flow of data inside the CPU (to registers) and outside the CPU to RAM and input/output devices.

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

Define arithmetic logic unit

A

The ALU does all the calculations. It completes simple addition and subtraction, as well as comparisons e.g. < >=. It also performs logical operations, e.g. AND, OR.

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

Define cache

A

The cache is very fast memory in the CPU. It is slower than the registers but faster than RAM. It stores frequently used data that the CPU can access quickly.

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

Define Von Neumann

A

Von Neumann is based on the idea of a stored program concept. Both instructions and data are stored in the same memory in binary form.

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

Define Memory Address Register (MAR)

A

The MAR holds the address of where data is to be fetched or stored.

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

Define Memory Data Register (MDR)

A

The MDR holds the data fetched from or to be written to memory (RAM).

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

Define program counter

A

The PC holds the address of the next instruction in memory.

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

Define accumulator

A

The Accumulator holds the intermediate results of calculations.

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

Define clock speed

A

This is the number of instructions a single processor core can carry out per second, e.g. desktop computers, equals 3.5 GHz (3 billion instructions per second).

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

Define cache size

A

A larger CPU cache gives the CPU faster access to frequent used instructions without having to actually use instructions from RAM. This increases performance.

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

Define number of cores

A

Each core in a CPU can process data independently. The more cores a CPU has the more instructions it can carry out at once.

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

Define embedded systems

A

Embedded systems are computers, built-in to other devices like dishwashers and microwaves. They are dedicated systems so easier to design and produce.

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

What is the processor?

A

It processes data, executes instructions, “brains of computer”, clock speed measure in cycles per second (Hertz)

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

What is the typical speed of a processor?

A

MHz or GHz

17
Q

What is a core?

A

Executes instructions independently

18
Q

What is cache?

A

Fast and very small amount of memory on the processor chip. The cache acts as an intermediary between the processor and the main memory. As programs are executing, the cache holds commonly used instructions. A memory cache is a memory bank that is very fast and sits between the CPU and main memory. It is faster to access than RAM.

19
Q

What is clock speed?

A

There is an internal clock that happens on the pulse. If the clock speed increases, the faster the instructions are processed.

20
Q

What is a dual core processor?

A

It has two processors linked together within the same integrated circuit. It should have twice the processing power, but some software has not been written with dual core processors in mind.
A quad core processor has the sam problem but double the number of processors.

21
Q

What is the impact of increasing cache size?

A

Reduces the number of memory to disk transfers and so may speed up processing of these instructions.

22
Q

When might a dual core processor be no faster than a single core processor?

A

If the computer is running one program, it may not be any faster as instructions still have to be carried out in a certain sequence.

23
Q

What is Level 1 cache?

A

The data used frequently by the CPU so it is available almost instantaneously. RAM is farther away from the CPU so is much slower to receive an instruction or data from the cache.

24
Q

What is level 2 cache?

A

Affects the performance of the CPU greatly, as this is closest to RAM and reduces wait time. Whether the cache is on the CPU board will also affect performance.

25
Q

How do you calculate cycles per second?

A

Number of cores x clock speed

26
Q

What are registers?

A

Immediate memory, which is very fast temporary memory on the CPU to speed up access.

27
Q

What is the Control Unit?

A

Hardware is monitored
Input/ output of devices and response of instructions to the CPU
Data flow is controlled within the CPU
Sends control signals between internal components memory read/ memory write/ hard disk drive read/ input output write

28
Q

What are internal components?

A

RAM, ROM, processor, buses, I/o controllers

29
Q

What are external components?

A

Keyboard, mouse, printer, secondary storage

30
Q

What is a bus?

A

A set of parallel wires connecting two or more independent components of a computer system in order to pass signals between them. Data bags, address bus, control bus.

31
Q

What is the address bus?

A

Carries addresses from the processor to main memory
One directional
The processor generates an address
All instructions/ data are returned on the data bus

32
Q

What is the data bus?

A

Carries data/ instructions from main memory to processor (or from secondary storage devices)
Two way (bidirectional)
Data can be read/ written

33
Q

What is the control bus?

A

Control signals are sent along the control bus e.g memory read and memory write

34
Q

What are peripherals?

A

Any devices not directly connected to the CPU e.g mouse, CD-ROM, printer etc
I/O devices

35
Q

What is the fetch-decode-execute cycle?

A

Fetch next instruction and associated data from main memory
Interprets instruction
Perform the instruction

36
Q

What is von Neumann architecture?

A

Store the program instructions and the data all in memory

37
Q

MAR and MDR

A

The address of the instruction to be executed is copied from the PC to MAR. The instruction at that address is fetched from memory and copied to the MDR. MAR knows where to look for data, MDR keeps hold of the data until ready to be used by the CPU.

38
Q

How does the clock chip maintain a constant speed?

A

Using a vibrating crystal