1.1 Hardware - CPU Flashcards

Learn About the CPU

1
Q

What does CPU stand for?

A

Central Processing Unit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What numerical values are stored in the computer?

A

Ones and Zeros

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Where are the values stored in the CPU

A

In the Transistors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the binary in transistors do?

A

One means it lets current pass through
Zero means it won’t pass current through

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the purpose of a CPU?

A

Process Data and instructions as well as control the rest of the computer system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Where does the CPU get its data from?

A

Input Device or memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Where is the Data stored while being processed

A

Primary Storage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What process does a CPU go through.

A

Receives instructions or data form an input source or the memory, its then processed and sent to the output or secondary storage.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Name some input devices

A

Keyboard
Mouse
Camera
Scanner
Microphone
Trackball
2D/3D Scanner
Touch Screen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Name Output Devices

A

Monitor
Speaker
Printer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is meant by CPU architecture.

A

The design of the Microprocessor, a integrated circuit. Where the components of the CPU combine to make a single unit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the 6 main components of a CPU. What do they do? Advanced

A

Control Unit (CU) - This manages and executes the instructions. Makes sure that everything happens at the right time and in the correct order. Runs the fetch-decode-execute cycle.

Arithmetic Logic Unit (ALU) - This performs arithmetic and logic calculations. It can also compare data. The gateway between primary and secondary storage.

Registers - High Speed Memory that stores data to be processed. Stores result from the ALU and is faster than internal Memory. Stores small data needed for processing. There are many types of registers.

Internal/Cache Memory - Fast access temporary storage known as Random Access Memory (RAM). Stores Data from the Registers when data is not in use.

Buses - Wires which through the data travels around the motherboard or different parts of the computer. There are 3 types of buses.

Clock - Sends regular pulses to synchronise the computer’s hardware components. The frequency of the pulses is known as clock speed which is measured in Hertz(Hz)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the 6 main components of a CPU. What do they do? Basic

A

Control Unit (CU) - Manages and executes the instructions.

Arithmetic Logic Unit (ALU) - Gateway between primary and secondary storage that does calculations.

Registers - High Speed Memory that stores ALU Data.

Internal/Cache Memory - Fast access temporary storage RAM.

Buses - Wires that data travels through.

Clock - Synchronises computer components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Describe the 3 types of Buses

A

Address Bus - When data is saved the address of the location needs to be sent. The storage address alway travels along with the address bus.

Data Bus - Data needs to be moved between several parts of a computer. The path the data takes is called a Data Bus.

Control Bus - Used by the controller to send control signals throughout the computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Name the 5 different registers.

A

Program Counter (PC)
Current Instruction Register (CIR)
Accumulator (ACC)
Memory Address Register (MAR)
Memory Data Register (MDR)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What design are most General Purpose Computers based on?

A

Von Neumann Architecture

17
Q

What is the Von Neumann Architecture?

A

Storing the program instructions in the same memory as the data.

18
Q

What are the key elements of Von Neumann Architecture?

A

Data & Instructions are stored as Binary digits and stored in the primary storage.

Instructions are fetched from memory in order

Processor decodes and executes instructions then fetch next instruction.

Cycle continues until no instructions left.

19
Q

Explain the 5 registers used in Von Neumann Architecture.

A

Program counter (PC) holds the memory address of the next instruction to be fetched from primary storage.

Memory address register (MAR) has the address of the current instruction that is to be fetched from the memory, or the address of where it will be transferred to.

Memory Data Register (MDR) holds the contents from address in the MAR or data that is going to be moved to primary storage.

Current Instruction Register (CIR) holds instructions which are currently being decoded and executed.

Accumulator (ACC) is used by the ALU to hold data being processed along with the results of calculations.

20
Q

What are the 7 steps of the fetch-decode-execute cycle.

A
  1. Memory address held in the Program Counter is copied into the Memory Address Register.
  2. Address in the PC is increased by 1. PC holds the address of the next instruction to be fetched.
  3. Processor sends signal along with address bus to the memory address held in the Memory Data Register.
  4. Instruction and Data held in that memory address is sent along the data bus to the Memory Data Register.
  5. Instructions/Data held in MDR is copied to the Current Instruction Register.
  6. Instruction/Data held in CIR is decoded then executed. Results are stored in the Accumulator.
  7. Cycle returns to step One.
21
Q

What factors can affect the CPUs Performance?

A

Clock Speed
Cache Size
Nr of Cores

22
Q

What is the unit of measurement for Clock Speed?

A

Hertz (Hz)

23
Q

What does the Clock speed affect?

A

Speed that the computer can run the fetch-decode-execute cycle. Higher Clock Speed = More instruction done in set amount of time.

24
Q

What is Overclocking? State the effects of doing this.

A

Manually setting the clock speed to be faster.
This increases speed but uses more energy and creates more heat, If this heat isn’t transferred out then the CPU can overheat and shorten the lifespan.

25
Q

What is Underclocking?

A

Setting the speed lower than original design using less power and making less heat. This increases the Battery Life of the Device.

26
Q

What is Cache?

A

Fast access random access memory that is very expensive. Due to costs computer usually have very little of it (kB or MB).

27
Q

What does Cache do?

A

Temporarily stores data and instructions that the CPU is likely to use.

28
Q

How does the Cache amount affect the CPU?

A

Allows for fast processing as CPU doesn’t need to wait for it to come form the RAM.
More storage = Less time processor needs time to fetch instructions.

29
Q

What are CPU Cores?

A

The PU in a CPU is a Core

30
Q

What do Cores do?

A

Each core can run a fetch-decode-execute cycle on instructions.

31
Q

How do cores affect the Computer?

A

With more cores more instructions can be done at the same time.
More core = More Processing Power

32
Q

What can hold back the cores in a CPU?

A

If instruction 2 needs the result of instruction 1 then it will wait for Instruction 1 to finish processing.