CPU 1.1 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

what is a computer

A

a machine that takes data, processes it and outputs it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
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
3
Q

purpose of the CPU

A

-to fetch, decode and execute instructions
-take an input, process data and produce an output

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

what is hardware

A

-the physical parts that makes up your computer system

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

what is software

A

-software is the programs or applications that a computer system runs

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

what are embedded systems

A

a computer system with a single function, inside a larger mechanical unit

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

examples of embedded systems

A

washing machines, dishwasher

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

benefits of embedded systems

A

-far smaller than general computers
-cheaper to produce
-more reliable than general computers

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

what is the control unit

A

-sends signals to control how data moves around the CPU and to other parts of the computer system
-decodes instructions, allowing for the fetch decode execute cycle

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

what is the arithmetic logic unit

A

-performs arithmetic operations

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

examples of what the ALU does

A

-completes simple addition and subtraction, compares the size of numbers and can do multiplications and divisions using repeated addition and subtraction
-performs logic operations and binary shifts

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

where is the accumulator

A

in the ALU

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

what is the cache and how does the CPU use it

A

-very small, very fast memory in the CPU
-stores frequently used data and instructions so the CPU can access it quickly the next time it is needed.
-CPU can access data stored in the cache much faster than if retrieved from RAM

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

what happens when the CPU requests data

A

-When the CPU requests data, it checks the cache first to see if the data is there. If not, it will fetch it from the RAM

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

what are the different levels of caches

A

L1, L2 and L3.
-L1 is the quickest but has the lowest capacity
-L2 is slower than L1 but can hold more
-L3 is slower than L2 but can hold more

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

what is von neumann architecture

A

-it describes a system where the CPU runs programs stored in memory. Programs consist of instructions and data when are stored in the memory addresses

17
Q

what is the program counter

A

-it holds the memory address of the next instruction to be executed in memory

18
Q

what is the accumulator

A

-it stores intermediate results of calculations in the ALU

19
Q

what is the MAR

A

-the memory address register holds any memory address about to be used by the CPU. The address might point to data or a CPU instruction

20
Q

what is the MDR

A

-the memory data register holds the actual data or instruction. This may have been fetched from memory, or be waiting to be written to memory

21
Q

what is the fetch stage

A

-copy memory address from the program counter to the MAR
-instruction is fetch from the memory/ the address in the MAR
-copy the instruction stored in the MAR address to the MDR
-increment the program counter to point to the address of the next instruction, ready for the next cycle

22
Q

what happens at the decode stage

A

-the instruction in the MDR is decoded by the CPU. The CU may then prepare for the next step(e.g. by loading values into the MAR or MDR

23
Q

what happens at the execute stage

A

-the instruction is performed
This could be:
-loading data from memory
-writing data to memory
-doing a calculation or logic operation (using the ALU)
-changing the address in the PC, or halt the program

24
Q

what factors affect CPU performance

A

-clock speed
-number of cores
-cache size

25
Q

what is clock speed and how does it affect CPU performance

A

-this is the number of instructions a single processor can fetch, decode and execute per second measured in hertz (Hz). (usually around 3.5 GHz)
-the higher the clock speed, the greater the number of instructions that can be carried out per second

26
Q

what is number of cores and how does it affect CPU performance

A

-each core in a CPU can process data independently of the rest
-the more cores a CPU has, the more instructions it can carry out at once, so the faster it can process a batch of data

27
Q

how does cache size affect CPU performance

A

-the cache is data storage inside the CPU that’s much faster than RAM
-bigger cache can store more frequently used instructions or data, fewer fetch cycles from memory

28
Q

overclocking

A

-Some CPUs can be overclocked to make them run at a higher clock speed than the factory-set rate, but is risky if not done properly and can make CPUs overheat, causing crashes or permanent damage to the system. High performance cooling systems are usually needed(water cooling)

29
Q

what is an internal clock

A

-it provides pulse at a constant rate to synchronise components

30
Q

what are registers

A

-they are tiny, super fast pieces of onboard memory inside the CPU each with a very specific purpose

31
Q

purpose of registers

A

-very fast memory
-which the CPU can access extremely quickly