1.1 Systems Architecture (OCR GCSE Computer Science)

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/101

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

102 Terms

1
New cards

What does CPU stand for?

The Central Processing Unit.

2
New cards

What is the CPU?

The brain of the computer system.

3
New cards

What does the CPU do?

Process the data and instructions that make the computer system work.

4
New cards

What does the processing power of a CPU depend on?

It's:

-Clock speed

-Number of cores

-Cache size

5
New cards

What does the CPU architecture describe?

The main components of the CPU, their interaction with one another, and their interaction with other parts of the computer system.

6
New cards

How many main parts does a CPU have?

3

7
New cards

What are the names of the 3 main parts of a CPU?

-The control unit (CU)

-The arithmetic logic unit (ALU)

-The cache

8
New cards

Which main part of the CPU has the overall control of the CPU?

The control unit (CU)

9
New cards

What is the main job of the control unit (CU)?

To execute program instructions by following the fetch-decode-execute cycle.

10
New cards

"The Control Unit (CU) controls the flow of data __________ and __________ of the CPU."

"inside"

"outside"

11
New cards

The Control Unit controls the flow of data inside the CPU to where?

To the registers, the ALU and the cache.

12
New cards

The Control Unit controls the flow of data outside the CPU to where?

To the main memory and input/output devices.

13
New cards

What does ALU stand for?

The Arithmetic Logic Unit

14
New cards

What does the ALU do?

All the calculations and comparisons - sImple addition and subtraction, compares the size of numbers and can do multiplications and divisions using repeated addition and subtraction.

15
New cards

What register does the ALU contain?

The accumulator.

16
New cards

What type of operations does the ALU perform?

Logic operations such as AND, OR and NOT and binary shifts.

17
New cards

What is the cache?

The cache is very fast memory in the CPU.

18
New cards

"Cache is _____________ than registers, but _____________ than RAM"

"slower"

"Faster"

19
New cards

"The cache stores ____________________ used data"

"regularly"

20
New cards

Why does the cache store regularly used data?

So that the CPU can access it quickly the next time that it is needed.

21
New cards

When the CPU requests data, where does it first check?

The cache.

22
New cards

When the CPU requests data, and the data is not in the cache, where does it check next?

The RAM.

23
New cards

"Compared to RAM and secondary storage, caches have a very low _____________ and are ________________."

"capacity"

"expensive"

24
New cards

What are the three levels of cache size?

L1, L2 and L3.

25
New cards

"Compared to other cache sizes, L1 is the _________________ but has the lowest _____________."

"quickest"

"capacity"

26
New cards

"L2 cache size is _____________ than L1, but can hold _________."

"slower"

"more"

27
New cards

"L3 cache size is ____________ than L2, but can hold _________."

"slower"

"more"

28
New cards

The registers that the CPU contains do what?

Temporarily hold tiny bits of data needed by the CPU.

29
New cards

An advantage of registers is that they are...

Super quick to read/write, way quicker than any other form of memory.

30
New cards

When did Von Neumann come up with his CPU architecture?

1945

31
New cards

What does the Von Neumann architecture describe?

A system where the CPU runs programs stored in memory. Programs consist of instructions and data which are stored in memory addresses.

32
New cards

What is the function of the program counter (PC)?

To hold the memory address of the instruction for each cycle.

33
New cards

What is the function of the accumulator?

To store the immediate results of calculations in the ALU.

34
New cards

What is the function of memory?

To hold the program instructions and the program data.

35
New cards

Other than the accumulator, what other two registers are present in the CPU?

The Memory Address Register (MAR) and the Memory Data Register (MDR).

36
New cards

What is the function of the MAR?

To hold any memory address about to be used by the CPU. The address may point to data, or a CPU instruction.

37
New cards

What is the function of the MDR?

To hold actual data or instructions, which may have been fetched from the memory, or be waiting to be written to memory.

38
New cards

Which cycle do CPUs follow?

The fetch-decode-execute cycle.

39
New cards

What does the fetch instruction do?

1. Copies the memory address from the program counter to the MAR.

2. Copies the instruction which is stored in the MAR address to the MDR.

3. Increments the program counter to point to the address of the next instruction.

40
New cards

What does the decode instruction do?

The instruction in the MDR is passed to the Instruction Register where it is decoded by the CU and the CU might prep for the next step by loading values into the MDR/MAR etc.

41
New cards

What does the execute instruction do?

The instruction is carried out. If data needs to be saved, it is stored in the accumulator.

42
New cards

What does the instruction register do?

Used in the decode part of the fetch-decode-execute cycle. The control unit looks up in the instruction set what the instruction means so that the CPU can then execute it.

43
New cards

What is an embedded system?

A smaller device used to perform a specific task within a larger device, eg washing machine.

44
New cards

Why is an embedded system also called a real-time system?

Embedded systems must ensure an immediate response in order for the system to react to different situations, eg airbags in a car must deploy as soon as a collision is detected.

45
New cards

How is clock speed measured?

The clock is a vibrating quartz crystal. The faster it vibrates, the faster instructions are processed. Rates of 3-4GHz are common for standard computers.

46
New cards

State 3 methods of cooling the CPU

Heat sink

Fan

Water cooling

47
New cards

What impact does doubling the number of cores have?

Doubling the number of cores can increase processing speeds, as each processor can work on different tasks at the same time.

48
New cards

What is parallel processing?

Parallel processing occurs when multiple cores work on the same program at the same time.

49
New cards

What is multitasking?

Multitasking is when multiple cores can work on different programs at the same time.

50
New cards

Describe what is meant by a 3.2GHz CPU.

A 3.2GHz CPU has a clock speed of 3.2GHz. This gives the number of instructions which can be processed each second. A 3.2GHz processor can complete 3.2 billion processing cycles per second.

51
New cards

CPU

central processing unit

52
New cards

the purpose of the CPU

to process all of the data and instructions that make the computer system work

53
New cards

what the CPU does

fetch, decode and execute instructions

54
New cards

registers (in the CPU)

memory address register (MAR), memory data register (MDR), program counter (PC), accumulator

55
New cards

what registers are

small amount of memory on the chip

56
New cards

the purpose of the memory address register (MAR)

stores the location in memory to be used by the CPU and holds the address of where data is fetched or stored

57
New cards

the purpose of the memory data register (MDR)

holds data to be fetched from or to be written to the memory

58
New cards

the purpose of the program counter (PC)

holds the address of the next instruction

59
New cards

the purpose of the accumulator

holds the results of calculations

60
New cards

the components of the CPU

the arithmetic logic unit (ALU), the control unit (CU) and the cache

61
New cards

the purpose of the arithmetic logic unit (ALU)

performs addition and subtraction calculations, and logical decisions

62
New cards

the purpose of the control unit (CU)

decodes instructions and sends signals to control how data moves around the CPU

63
New cards

the purpose of the cache

provides fast access to frequently accessed instructions and data without having to go to the main memory (RAM)

64
New cards

factors affecting the speed of the CPU

clock speed, cache size, number of cores

65
New cards

clock speed

the number of cycles per second, measured in hertz (Hz)

66
New cards

cache size

the size of the cache which stores recently fetched instructions or data so that it can be fetched from the cache, which is much quicker than going back to the main memory (RAM)

67
New cards

embedded systems

computer systems with a dedicated function within a larger mechanical or electrical system

68
New cards

examples of embedded systems

washing machine, coffee maker, engine management system

69
New cards

the function of washing machines

to wash the clothes inside by a sequence of fill, turn, drain cycles which is controlled by a user-selected wash program

70
New cards

the function of a coffee maker

to make coffee by a sequence of water outputs which is controlled by a user input

71
New cards

the function of a engine management system

to control the fuel supply and the ignition of the combustion process, making the engine more efficient and less polluting

72
New cards

the first part of the fetch-decode-execute cycle of the CPU

copy the memory address from the program counter to the MAR and the instruction stored in the MAR address to the MDR

73
New cards

the second part of the fetch-decode-execute cycle of the CPU

decode the instruction in the MDR via the CU and prepare for next step (e.g. load values into the MAR or the MDR via the CU)

74
New cards

the third (final) part of the fetch-decode-execute cycle of the CPU

perform the instruction (e.g load data from memory, write data to memory, do a calculation or logic operation via the ALU, change the address in the PC, halt the program)

75
New cards

Input

This is the stage where data is entered into a computer system

76
New cards

Process

This is the stage where data is manipulated by the CPU

77
New cards

Output

This is the stage where you get to see the processed data

78
New cards

Program

This is software and it provides the CPU with instructions

79
New cards

Storage

This stage happens if data needs to be kept for use at a later date

80
New cards

Embedded

A specialized type of computer that performs one specific task

81
New cards

Hardware

Parts of the computer that you can physically touch, see or pickup

82
New cards

Register

A very fast type of memory located within the CPU which holds a tiny amount of information

83
New cards

Control Unit

This is the part of the CPU which controls the way that data moves around the CPU

84
New cards

Clock

This is a tiny quartz crystal inside the CPU which ticks at a steady speed. During each tick one instruction can be processed.

85
New cards

Cache

A very fast type of memory which can hold more data than a register but less than RAM

86
New cards

ALU

This part of the CPU does all of the calculations and comparisons

87
New cards

RAM Memory

This is where the CPU fetches program instructions from

88
New cards

Executes

The CPU fetches instructions from memory then decodes them and then .......... those instructions

89
New cards

The Program Counter

The software that is running, updates this with the address of the next instruction to be fetched

90
New cards

A stored program computer

Another term for the Von Neumann architecture

91
New cards

The Memory Address Register

The address of the data or instruction being accessed by the CPU is temporarily stored here

92
New cards

The Memory Data Register

The register which temporarily stores an instruction or data on its way to or from RAM

93
New cards

The Accumulator

The register used to temporarily store the results of calculations

94
New cards

Overclocking

Making the CPU clock run faster than its default settings

95
New cards

Core

A self-contained processing unit inside the CPU

96
New cards

Parallel processing

Executing several instructions at once using multiple cores

97
New cards

Heatsink

A piece of hardware included to remove excess heat from the CPU

98
New cards

Quad Core

A CPU with four cores

99
New cards

Fetch

The part of the FDE cycle where instructions are retrieved from main memory to the CPU

100
New cards

Decode

The stage where instructions are checked and validated