4 - Computer Systems Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a computer system?

A

A computer system takes a set of digital inputs, processes them and creates a set of outputs. This is done by a combination of hardware and software.

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

Hardware

A

Hardware is the physical components that make up a computer e.g. keyboard

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

Software

A

Software is human-written programs that contain instructions on how the hardware will operate

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

Role of the CPU

A

CPU processes data. It does this by fetching instructions from memory (RAM), decoding the instructions and then executing them

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

What does the CPU do as well as processing data?

A

The CPU controls all of the component parts of a computer e.g. the hard disk

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

Where is the CPU located?

A

In the motherboard

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

What are the 3 main parts of the CPU?

A

Control Unit
Arithmetic Logic Unit (ALU)
Registers

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

What is the role of the ALU?

A

To handle all of the data processing inside the CPU. The arithmetic part deals with arithmetic operations. The logic part deals with logic and comparisons.

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

What is the CPU clock?

A

A tiny quartz crystal inside the CPU chip that ticks at a steady speed. During each tick the CPU processes and executes a single instruction.

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

What are CPU clocks measured in/

A

They are measured in Hz. 1 GHz enables 1 billion instruction to process every second

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

What is Von Neumann architecture?

A

Von Neumann is where both the data and the software currently being used are stored in the RAM.

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

What does the Control Unit do?

A

It handles the movement of data and instructions around the computer.

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

What are buses and what do they do?

A

The buses are collections of wires through which data is transmitted from one component to another in a CPU

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

What is main memory (RAM)?

A

RAM is where the programs and data whilst in use are stored

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

What are registers?

A

Registers are a very small but fast type of memory which can hold a data value in use by the CPU

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

What is the fetch-decode-execute cycle?

A

The fetch-decode-execute cycle is where the CPU continuously reads instructions stored in main memory and executes them as required

17
Q

How is the first instruction fetched?

A

The first instruction in the program is loaded (fetched) from main memory into the CPU.

18
Q

How is the next instruction fetched?

A

The next instruction’s location of the RAM is loaded into the program counter, and then is copied to the MAR. After this, the control unit copies the instruction from the MAR onto the address bus. The RAM then reads the contents of the location and loads it onto the data bus. The content is then loaded onto the Data bus and is copied to the MBR. After this, the instruction from the MBR is copied to the instruction register.

19
Q

What registers are involved in the Fetch-Decode-Execute cycle?

A
Memory Buffer Register (MBR)
Program Counter
Accumulator
Instruction register
Memory Address Register (MAR)
20
Q

How is the instruction decoded?

A

The control unit reads the contents of the MBR, and checks that it is a valid instruction. The CPU determines exactly which operation is to be executed.

21
Q

How is the instruction executed?

A

The control unit sends signals to the ALU, which may perform a logic comparison or calculation.

22
Q

How is the fetch-decode-execute cycle a cycle?

A

Once each instruction is executed, the control unit increments the program counter and uses it to find the next instruction to be fetched, and the cycle begins all over again.

23
Q

What is the effect of clock. speed on the CPU?

A

The faster the clock, the more instructions the processor can complete per second. However, if this is too high it can cause the CPU to overheat.

24
Q

What is a core?

A

A core is a complete processing unit within the CPU, which has an ALU, a control unit and registers.

25
Q

What is the effect of the number of cores on CPU performance?

A

CPUs with multiple cores have more power and can therefore run a number of programs at the same time

26
Q

What is cache?

A

Cache is a special type of memory which is volatile, and can be accessed much faster than RAM

27
Q

What is the effect of cache size on CPU performance?

A

The larger the cache size, the better the performance because the computer is able to store more data

28
Q

What is the effect of cache type on CPU performance?

A

Level 1 cache is extremely fast but relatively small
Level 2 cache is larger than level 1 but slower
Level 3 cache is a specialised memory that works to improve levels 1 and 2.
As cache speed increases, less memory is available

29
Q

What are embedded systems?

A

A system that has computer hardware with software embedded in one of its components

30
Q

What are some examples of embedded systems?

A

treadmill, ATM, car system, microwave oven, mobile phone, TV remotes, washing machines

31
Q

How does an embedded system differ from a non-embedded system? (2 differences)

A

an embedded system doesn’t load and execute other applications, which means the system is only able to run a single application, whereas non-embedded systems do

the software of an embedded system is custom-written, to work with its specific hardware. Non-Embedded systems are more general purpose

32
Q

Non-embedded systems examples

A

Laptops, Desktops, Tablets

33
Q

What is the purpose of an operating system?

A

An operating system primary purpose is to allow applications software to communicate with the hardware.

34
Q

Where may the result of a fetch-execute cycle be stored?

A

The results of this may be stored in a register in the CPU, or may be returned to main memory if the program requires it.