4 - Computer Systems Flashcards Preview

Computer Science > 4 - Computer Systems > Flashcards

Flashcards in 4 - Computer Systems Deck (34):
1

What is a computer system?

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.

2

Hardware

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

3

Software

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

4

Role of the CPU

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

5

What does the CPU do as well as processing data?

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

6

Where is the CPU located?

In the motherboard

7

What are the 3 main parts of the CPU?

Control Unit
Arithmetic Logic Unit (ALU)
Registers

8

What is the role of the ALU?

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.

9

What is the CPU clock?

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.

10

What are CPU clocks measured in/

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

11

What is Von Neumann architecture?

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

12

What does the Control Unit do?

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

13

What are buses and what do they do?

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

14

What is main memory (RAM)?

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

15

What are registers?

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

16

What is the fetch-decode-execute cycle?

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

17

How is the first instruction fetched?

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

18

How is the next instruction fetched?

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

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

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

20

How is the instruction decoded?

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

How is the instruction executed?

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

22

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

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

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

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

What is a core?

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

25

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

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

26

What is cache?

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

27

What is the effect of cache size on CPU performance?

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

28

What is the effect of cache type on CPU performance?

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

What are embedded systems?

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

30

What are some examples of embedded systems?

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

31

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

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

Non-embedded systems examples

Laptops, Desktops, Tablets

33

What is the purpose of an operating system?

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

34

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

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.