The Function of the CPU, The Von Neumann Architecture, Characteristics of the CPU, Memory, Storage

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/109

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

110 Terms

1
New cards

What is the CPU often known as?

The brain of the computer

2
New cards

What is the job of the CPU?

To process data

3
New cards

What are examples of data processing tasks?

Searching, sorting, calculating and decision making

4
New cards

What cycle does the CPU follow to process data?

Fetch - Decode - Execute cycle

5
New cards

Where are a program's data and instructions loaded when opened?

RAM

6
New cards

Where does the CPU store fetched data and instructions temporarily?

Registers

7
New cards

What is used by the CPU to locate the next item in memory?

Address bus

8
New cards

What hardware allows data to travel from RAM to the CPU?

Data bus

9
New cards

What happens in the decode step of the CPU cycle?

The CPU understands the instruction

10
New cards

What happens in the execute step of the CPU cycle?

Data processing occurs and instructions are carried out

11
New cards

What are the three areas of the CPU responsible for processing?

Control Unit, Cache, Arithmetic and Logic Unit (ALU)

12
New cards

What are the three main jobs of the Control Unit?

Managing hardware, managing input and output signals, synchronising the FDE cycle with clock signals

13
New cards

What were computers like before 1945?

Preprogrammed machines set up with wires and switches for specific tasks

14
New cards

What did a computer program used to be considered part of?

The machine

15
New cards

Who had a new idea about computer design in 1945?

John Von Neumann

16
New cards

What was Von Neumann's idea?

To store program and data together, independent of the machine

17
New cards

What advantage did Von Neumann’s idea offer?

The same computer could run different programs

18
New cards

Where are data and instructions held in Von Neumann architecture?

Together in memory

19
New cards

What happens to data and instructions in Von Neumann architecture?

They are fetched, decoded and executed one at a time

20
New cards

What did Von Neumann's design eliminate the need for?

Rewiring the circuitry to run new programs

21
New cards

What is an instruction set in a Von Neumann CPU?

A list of instructions the CPU understands

22
New cards

What does the ADD instruction do?

Add numbers together

23
New cards

What does the SUB instruction do?

Subtract numbers from each other

24
New cards

What does the STA instruction do?

Store value in the accumulator

25
New cards

What does the LDA instruction do?

Load value from the accumulator

26
New cards

What does the BRA instruction do?

Branch to a different part of the program

27
New cards

What does the OUT instruction do?

Output a value after processing

28
New cards

What happens in the first part of the fetch-decode-execute cycle?

Instructions and data are fetched from memory and loaded into specialised registers

29
New cards

What does the program counter do?

Keeps track of the number of steps carried out

30
New cards

Where is the program counter value copied to in the first step?

MAR

31
New cards

What does the MAR represent?

The address of the instruction to be fetched

32
New cards

How is the instruction found?

By looking up the value in the MAR

33
New cards

Where is the instruction first loaded after being fetched?

MDR

34
New cards

Where is the instruction moved after the MDR?

IR

35
New cards

How is the instruction decoded?

By looking up the IR instruction in the character set

36
New cards

What happens when the instruction is executed?

The value is loaded into the accumulator

37
New cards

What happens to the program counter after the first cycle?

It is updated to 1

38
New cards

What determines the speed of the fetch-decode-execute cycle?

The CPU’s clock chip

39
New cards

What does the CPU clock chip use to maintain a constant rate?

A vibrating crystal

40
New cards

What is the speed of the clock measured in?

Hertz

41
New cards

What does 500Hz mean?

500 cycles per second

42
New cards

What is a typical modern CPU clock speed?

3GHz

43
New cards

How many cycles per second is 3GHz?

3 billion

44
New cards

What is increasing a CPU’s clock speed called?

Overclocking

45
New cards

Why is overclocking potentially dangerous?

It makes the CPU hotter

46
New cards

What can’t operate at the same speed as the CPU?

RAM

47
New cards

How does the CPU overcome the slower speed of RAM?

By using cache memory to copy continuing instructions

48
New cards

Why is cache memory faster than RAM?

It has read speeds similar to the CPU

49
New cards

Where does the Control Unit look first for the next instruction?

Cache memory

50
New cards

How does a larger cache improve processing time?

It increases the chance that the next instruction is already in the CPU

51
New cards

What is a solution if CPUs can’t go faster?

Add more CPU chips

52
New cards

What are multiple CPU chips called?

Cores

53
New cards

What can each core do independently?

Carry out its own Fetch – Decode – Execute cycle

54
New cards

What does this allow a CPU to do?

Process more data during the same time period

55
New cards

What is parallel processing?

When two instructions of the same program are processed at the same time

56
New cards

What is multi-tasking with multiple cores?

Each core processes instructions from different programs at the same time

57
New cards

What is a computer?

A programmable machine that takes in data, processes it, and outputs the result

58
New cards

What is an embedded system?

A system where computers run specific tasks only

59
New cards

Why don’t embedded systems need separate components?

Because they won’t need updating with new software or hardware

60
New cards

How are the components of embedded systems arranged?

On a single circuit board

61
New cards

What are embedded systems typically built for?

A larger system

62
New cards

Why is RAM needed?

To store programs that are currently being used

63
New cards

What does RAM enable in computing?

Multi-tasking

64
New cards

How does RAM help with multi-tasking?

It copies the data needed by programs so it can be passed to the CPU when needed

65
New cards

How does RAM store data?

As small charges of electricity in tiny transistors

66
New cards

Why is RAM considered volatile memory?

Because it loses data when there is no power

67
New cards

Where are programs loaded from when opened by the user?

From the hard disk onto the RAM

68
New cards

Why are programs loaded onto RAM?

So the CPU can access data and instructions at an acceptable rate

69
New cards

What is a capacitor in RAM similar to?

A sink or bucket holding water

70
New cards

What does a full capacitor represent?

1

71
New cards

What does an empty capacitor represent?

0

72
New cards

What does the transistor in RAM do?

It acts as a switch to read or change the capacitor's state

73
New cards

How does Dynamic RAM store data?

In a capacitor that must be constantly refreshed

74
New cards

How does Static RAM store data?

Using flip-flops that do not need refreshing

75
New cards

What type of memory is ROM?

Non-volatile

76
New cards

What is ROM used for in a computer?

To store boot sequence instructions

77
New cards

How does flash memory store data?

By trapping electrons in position using a large electric current

78
New cards

What happens to unused programs to prevent system slowdown?

They are relocated to secondary storage

79
New cards

Why does relocating programs take time?

Because hard-disk data speeds are much slower

80
New cards

What is a limitation of having smaller amounts of RAM?

Limited multi-tasking and greater use of slower virtual memory

81
New cards

What is an advantage of having larger amounts of RAM?

Faster performance and effective multi-taskin

82
New cards

How does magnetic storage store data?

By using different patterns of magnetisation in a magnetisable material

83
New cards

What does a magnetised point represent in magnetic storage?

1

84
New cards

What does a demagnetised point represent in magnetic storage?

0

85
New cards

How does optical storage store data?

By using marks arranged in patterns, with pits and lands on the surface

86
New cards

What happens when a laser hits land on optical media?

The beam reflects, representing 0

87
New cards

What happens when a laser hits a pit on optical media?

The beam does not reflect, representing 1

88
New cards

How is flash memory data stored?

By forcing electrons through a barrier and trapping them in position

89
New cards

What does the flash of electric current in flash memory do?

It arranges electrons in a way that represents data

90
New cards

What is a characteristic of a hard disk?

Desktops, large (TB), high speeds, heavy, damage-prone, limited life, cheap

91
New cards

What is magnetic tape used for?

Backup data

92
New cards

What are the characteristics of magnetic tape?

Very large (TB), high write but low read, small, light, durable, reusable, cheap

93
New cards

What is the capacity of a CD-ROM?

Small (MB)

94
New cards

How durable is a CD-ROM?

Fair durability

95
New cards

What is the characteristic of Blue-Ray and DVD-ROM?

Written once but can be re-read unlimited times

96
New cards

What is the storage capacity of a Solid State Drive?

Moderate (GB)

97
New cards

What is the speed of a Solid State Drive?

Super fast

98
New cards

What are the characteristics of a Solid State Drive?

Very portable, durable, multiple re-usability, expensive

99
New cards

What is the storage capacity of a Flash SD card?

Small (GB)

100
New cards

What are the characteristics of a Flash SD card?

Super fast, extremely portable, durable, multiple re-usability, expensive