Help shape GoConqr. What should we add next?

Flashcards

1.1.1 Structure and Function of the CPU

James Middleton Computer Science AS - Level English 18 cards

Cards in this deck (18)

  1. 1What factors affect CPU Performance?The speed of processor , the speed of cache , the amount of cores
  2. 2There are 3 different types of cache please state each one and explain why we use them and their differencesThe smaller the cache the faster it performs so we have layers of cache to account for this.
    L1 - This is on the smallest scale and the processor on needing more data/instructions will first go here as it is the fastest and smallest. This is separate for each core.
    L2 - This is the next level of cache which the computer will go to next this is still specific to each core of the processor.
    L3 - This is the largest and slowest cache and i shared by all the cores of the processor.
  3. 3What is the effect of increasing the amount of cores in a processor?With more cores the processors can each be working on different tasks or can share the processing of the same task (parallel processing). However doubling the amount of cores does not necessarily double the speed of the processor as there are other factors that come into play.
  4. 4What is a GPU and what are the features?GPUs are graphics processing units and are designed specifically for
    graphics and have built in circuitry/instructions for common graphics operations . GPUs are able to perform an instruction on multiple pieces of data at one time often we want to do this when processing
    graphics (e.g. transforming points in a polygon or shading pixels) which means it can perform transformations to on screen graphics quicker than
    a CPU .
  5. 5What does CU stand for and what is it?The control unit controls the co-ordination of the processor's work. It controls the movement of data around parts of the CPU and the cache and the ram. It manages the execution of instructions:
    fetches it from a register
    decodes it
    synchronises the execution of the instruction
    Buses are used to communicate
    CU uses control bus to send commands to different parts of the processor
  6. 6What is the IAS?This is the MAIN MEMORY of the computer (very important fact).
    While the computer is in use this holds the
    • User data
    • Operating System
    • Software which is currently in use (could be application program, boot program, operations instructions etc)
  7. 7What is the ALU?This manages all arithmetic and comparison instructions.The Alu is the gateway all inputs and outputs have to pass through it befor being directed to other parts of the computer systems.
  8. 8What is the accumulator?Holds the data currently being processed and stores the result of the current processing maths and logic instructions which have taken place in the ALU
  9. 9Why do registers help the processor function, what they are and what do they do?Registers are used to check on the progress of the instruction and data as time moves on.
    They are memory locations inside the processor which work at very high speeds to reduce data processing lag which is caused by a bottle neck ( the slowest functioning part of a flow)
    Registers provide temporary storage space
    They operate at the speed of the CPU
    Names of each register can vary with manufacturer and type of processor, as can precise functionality but we will learn them as below.
  10. 10What is the program counter?The PC keeps track of where the current code is whilst it is being executed. It checks on the location of the next instruction in the IAS and it tells the processor where to go and find the next instruction.
    Key note (I did not ask this in the question but make note of it)
    1. Instructions are always numbered and stored in the order in which they need to be run
    2. After an instruction has been read the PC increments the instruction count so it immediately points to the next instruction
    3. It is also changed by instructions that alter the flow of control (selection or branching). In the LMC these are BRZ (branch if zero), BRA (branch always) and BRP (branch if positive).
  11. 11What is the MAR?The memory address register receives the address of the data/instructions that are to be fetched from or stored from the PC and store it.
  12. 12What is CIR?The current instruction register stores the most recently fetched instruction, before it has been decoded and executed.
    The instruction gets there because the main memory takes another copy of the instruction in the MDR and puts it in the CIR so it can be split into parts.
    Make note of below
    • The type of instruction needs to be known – that’s one part – that part of the instruction is sent to the CU to be decoded.
    • When the type of instruction is known the CU then sends signals to the relevant parts of the processor to carry out the instruction
    • Another part of the address shows where the data that is to be manipulated is kept, so the IAS can collect the user data to be used (via the MDR)
  13. 13What is the MDR?The memory data register holds the data that has been fetched from or stored in the memory.
    The address is held by the MAR which it passes to the IAS which then gets the data and stores it ion the MDR.
  14. 14What is the MBR?When data is transferred to and from the IAS the memory buffer register holds the data. It has a copy of the address that is stored in the MAR and it lets the processor and RAM work independently.
    When a data item is copied to the MBR it is done because then it means it can be ready to be used by the processor (possibly the ALU) or written to the secondary storage, printed etc.
  15. 15What are general purpose registers?Used to store data being used and so are only temporary stores. Using them speeds up processing as it avoids using the main memory which is a lot slower access.
  16. 16Name 5 different type of buses:Control bus, Data bus, Address Bus, Local Bus, Universal Serial Bus
  17. 17For all the buses you names above explain what each one does1. Control Bus
    Transmits control signals from the control unit to the rest of the processor
    2 Data Bus
    Carries the data from one register to another, between the processor and memory.
    3 Address Bus
    Carries the location address to tell the data bus where to put the data, or where to collect it from. Remember put=write, collect = read.
    4 Local Bus
    Controls large flows of data to secondary storage (NB not solely within the processor).
    5 Universal Serial Bus (USB)
    Used to transfer data from a computer to external devices.
  18. 18—

Information

Description
AS - Level Computer Science Flashcards on 1.1.1 Structure and Function of the CPU, created by James Middleton on 18/11/2015.
Created by
James Middleton
Views
2
Rating

Feedback

What is it about?

What should we add next?