CPU 1.1 Flashcards
what is a computer
a machine that takes data, processes it and outputs it
what does CPU stand for
-central processing unit
purpose of the CPU
-to fetch, decode and execute instructions
-take an input, process data and produce an output
what is hardware
-the physical parts that makes up your computer system
what is software
-software is the programs or applications that a computer system runs
what are embedded systems
a computer system with a single function, inside a larger mechanical unit
examples of embedded systems
washing machines, dishwasher
benefits of embedded systems
-far smaller than general computers
-cheaper to produce
-more reliable than general computers
what is the control unit
-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
what is the arithmetic logic unit
-performs arithmetic operations
examples of what the ALU does
-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
where is the accumulator
in the ALU
what is the cache and how does the CPU use it
-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
what happens when the CPU requests data
-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
what are the different levels of caches
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