Computer Science 1.1- CPU ( SAVEMYEXAMS)

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

1/46

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.

47 Terms

1
New cards

What is the purpose of the CPU?


The purpose of the CPU is to fetch, decode and execute instructions.

2
New cards

True or False?

The CPU is the brain of the computer and its job is to take an input, process data and produce an output.

True.

The CPU is the brain of the computer and its job is to take an input, process data and produce an output.

3
New cards

Define the fetch-execute cycle.

The fetch-execute cycle is the cycle that the central processing unit (CPU) runs through billions of times per second to make a computer work.

4
New cards

During which stage of the fetch-execute cycle is the next instruction fetched from memory?

During the fetch stage of the cycle, the next instruction or data must be fetched from the computer's memory (RAM).

5
New cards

What happens during the decode stage of the fetch-execute cycle?

During the decode stage of the cycle, the CPU needs to work out what is required from the instruction.

6
New cards

What are two events that take place during the execute stage?

During the execute stage, the CPU will carry out the instruction that was fetched, such as performing a calculation or storing a result in memory.

7
New cards

State the three key stages of the fetch-execute cycle.

The three key stages are: fetch, decode, execute.

8
New cards

An input is...

An input is clicking a button on the gamepad (or any user input to the computer).

9
New cards

A process is...

A process is the CPU inside the system following a set of instructions to carry out a task based on the input.

10
New cards

An output is...

An output is the result produced by the computer, such as the player moving on screen.

11
New cards

What are the four key components of the CPU?

The four key components of the CPU are:

  • Arithmetic Logic Unit (ALU)

  • Control Unit (CU)

  • Cache

  • Registers

12
New cards

Define Arithmetic Logic Unit (ALU).

The Arithmetic Logic Unit (ALU) performs arithmetic operations and logical decisions.

13
New cards

What is the function of the Control Unit (CU)?

The Control Unit (CU) coordinates how data moves around the CPU by sending signals to control the flow of data, and it decodes the instructions fetched from memory.

14
New cards

Define cache.

Cache is very small, very fast memory located in the CPU which is used to provide quick access to frequently used instructions and data.

15
New cards

What is the purpose of Cache?

The purpose of Cache is to prevent the CPU from having to repeatedly fetch frequently used instructions from RAM, speeding up performance.

16
New cards

Define registers.

Registers are extremely small, extremely fast memory located in the CPU, where each register has its own specific purpose.

17
New cards

True or False?

The more cache there is, the fewer instructions need to be fetched from RAM.

True.

The more cache there is, the more frequently used instructions or data can be stored, resulting in fewer fetch cycles from RAM.

18
New cards

What component performs logical decisions like "IF X > 5 THEN ..."?

The Arithmetic Logic Unit (ALU) performs logical decisions like "IF X > 5 THEN ...".

19
New cards

What does the Control Unit (CU) decode?

The Control Unit (CU) decodes the instructions fetched from memory.

20
New cards

Which has a faster read/write speed, cache or RAM?

Cache has a significantly faster read/write speed than RAM.

21
New cards

What is the Von Neumann architecture?

The Von Neumann architecture is a design of the CPU proposed by John Von Neumann in the 1940s, which outlines how the computer memory, input/output devices and processor all work together.

22
New cards

Name the four main registers in the Von Neumann architecture.

The four main registers are:

  • Program Counter (PC)

  • Memory Address Register (MAR)

  • Memory Data Register (MDR)

  • Accumulator (ACC)

23
New cards

What is the purpose of the Program Counter (PC) register?

The Program Counter (PC) holds the memory address of the next instructions to be executed.

24
New cards

What happens to the Program Counter during the fetch-execute cycle?


The Program Counter increments by 1 as the fetch-decode-execute cycle runs.

25
New cards

Define Memory Address Register (MAR).

The Memory Address Register (MAR) holds the memory address of where data or instructions are to be fetched from.

26
New cards

What does the Memory Data Register (MDR) store?

The Memory Data Register (MDR) stores the data or instruction which has been fetched from memory.

27
New cards

Define Accumulator (ACC).

The Accumulator (ACC) stores the results of any calculations that have taken place in the Arithmetic Logic Unit (ALU).

28
New cards

True or False?

The Von Neumann Architecture consists of 5 main registers.

False.

The Von Neumann Architecture consists of 4 main registers: Program Counter, Memory Address Register, Memory Data Register, and Accumulator.

29
New cards

What register holds the address of the next instruction to fetch?

The Program Counter (PC) holds the memory address of the next instructions to be executed.

30
New cards

What register temporarily stores fetched data or instructions?

The Memory Data Register (MDR) stores the data or instruction which has been fetched from memory.

31
New cards

What are the three common characteristics of the CPU that impact its performance?

The three common characteristics are:

  • Clock Speed

  • Cache Size

  • Number of Cores

32
New cards

Define clock speed.

Clock speed is measured in Hertz (Hz) and measures the number of fetch-decode-execute cycles that can take place in 1 second.

33
New cards

True or False?

Modern computers have a clock speed measured in Gigahertz (GHz), meaning billions of cycles per second.

True.

Modern computers have a clock speed in Gigahertz (GHz), meaning billions of cycles per second.

34
New cards

What is the impact of a faster clock speed?

The faster the Clock Speed, the more instructions can be fetched and executed per second.

35
New cards

What does a Clock Speed of 3.5GHz mean?

A Clock Speed of 3.5GHz means it can perform up to 3.5 billion instructions per second.

36
New cards

What is cache used for?

Cache is used as temporary storage to provide quick access to frequently used instructions and data.

37
New cards

What is the benefit of a larger cache size?

The larger the Cache Size, the more frequently used instructions or data can be stored, resulting in fewer fetch cycles from RAM and improved performance.

38
New cards

Define number of cores.

Each core works like its own CPU, so multiple cores allow multiple processing units to fetch, decode and execute instructions simultaneously.

39
New cards

True or False?

False.

A dual-core CPU (2 cores) running at 3.6GHz can perform 2 x 3.6 billion instructions = 7.2 billion instructions per second.

A quad-core CPU (4 cores) running at 2.5GHz can perform 4 x 2.5 billion instructions = 10 billion instructions per second.

40
New cards

For a dual-core 2.5GHz processor, what does "dual-core" mean?

For a dual-core processor, "dual-core" means there are two cores (processing units) that can fetch, decode and execute instructions.

41
New cards

Define embedded system.

An embedded system is a computer system with a single function, inside a larger mechanical unit.

42
New cards

What are three examples of embedded systems?

Examples of embedded systems include:

  • Heating thermostats

  • Hospital equipment

  • Washing machines

43
New cards

What are the three key properties of an embedded system?

The three key properties of an embedded system are:

  • small size

  • use less power than general-purpose computers

  • lower cost

44
New cards

True or False?

A laptop is an example of an embedded system.

False.

A laptop is not an example of an embedded system. A laptop is an example of a general-purpose computer.

45
New cards

Why do embedded systems use less power?

They have a single dedicated function rather than being general-purpose computers.

46
New cards

True or False?

A fridge is an embedded system.

False.

While a fridge has a single main function, it does not contain a CPU, so it is not considered an embedded system.

47
New cards

Are mobile phones considered embedded systems?

No.

Mobile phones are general-purpose computing devices, not single-function embedded systems.