cpu architecture performance and embedded systems
使用闪卡高效复习COMPUTER-SCIENCE科目知识点
共计闪卡
47张
1 systems architecture
闪卡自测
What is the purpose of the CPU?
所有闪卡
闪卡 1
问题
What is the purpose of the CPU?
查看答案
答案
The purpose of the CPU is to fetch, decode and execute instructions.
闪卡 2
问题
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
问题
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
问题
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
问题
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
问题
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
问题
State the three key stages of the fetch-execute cycle.
查看答案
答案
The three key stages are: fetch, decode, execute.
闪卡 8
问题
An input is...
查看答案
答案
An input is clicking a button on the gamepad (or any user input to the computer).
闪卡 9
问题
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
问题
An output is...
查看答案
答案
An output is the result produced by the computer, such as the player moving on screen.
闪卡 11
问题
What are the four key components of the CPU?
查看答案
答案
The four key components of the CPU are:
闪卡 12
问题
Define Arithmetic Logic Unit (ALU).
查看答案
答案
The Arithmetic Logic Unit (ALU) performs arithmetic operations and logical decisions.
闪卡 13
问题
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
问题
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
问题
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
问题
Define registers.
查看答案
答案
Registers are extremely small, extremely fast memory located in the CPU, where each register has its own specific purpose.
闪卡 17
问题
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
问题
What component performs logical decisions like "IF X > 5 THEN ..."?
查看答案
答案
The Arithmetic Logic Unit (ALU) performs logical decisions like "IF X > 5 THEN ...".
闪卡 19
问题
What does the Control Unit (CU) decode?
查看答案
答案
The Control Unit (CU) decodes the instructions fetched from memory.
闪卡 20
问题
Which has a faster read/write speed, cache or RAM?
查看答案
答案
Cache has a significantly faster read/write speed than RAM.
闪卡 21
问题
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
问题
Name the four main registers in the Von Neumann architecture.
查看答案
答案
The four main registers are:
闪卡 23
问题
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
问题
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
问题
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
问题
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
问题
Define Accumulator (ACC).
查看答案
答案
The Accumulator (ACC) stores the results of any calculations that have taken place in the Arithmetic Logic Unit (ALU).
闪卡 28
问题
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
问题
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
问题
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
问题
What are the three common characteristics of the CPU that impact its performance?
查看答案
答案
The three common characteristics are:
闪卡 32
问题
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
问题
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
问题
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
问题
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
问题
What is cache used for?
查看答案
答案
Cache is used as temporary storage to provide quick access to frequently used instructions and data.
闪卡 37
问题
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
问题
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
问题
True or False? A dual-core CPU with a Clock Speed of 3.6GHz can fetch, decode & execute more instructions in 1 second that a quad-core CPU with a Clock Speed of 2.5GHz?
查看答案
答案
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
问题
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
问题
Define embedded system.
查看答案
答案
An embedded system is a computer system with a single function, inside a larger mechanical unit.
闪卡 42
问题
What are three examples of embedded systems?
查看答案
答案
Examples of embedded systems include:
闪卡 43
问题
What are the three key properties of an embedded system?
查看答案
答案
The three key properties of an embedded system are:
闪卡 44
问题
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
问题
Why do embedded systems use less power?
查看答案
答案
They have a single dedicated function rather than being general-purpose computers.
闪卡 46
问题
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
问题
Are mobile phones considered embedded systems?
查看答案
答案
No. Mobile phones are general-purpose computing devices, not single-function embedded systems.