1. Home
  2. Explore
  3. Computer Science
  4. How CPUs Work

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

How CPUs Work

  • 50Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: CPU Basics and History
The component inside computers that acts as the brain of the device and performs calculations is called the
.

50 questions

  1. 1
    The component inside computers that acts as the brain of the device and performs calculations is called the
    _____
    .
    Hint

    It's a common abbreviation for a central processing unit.

    Answer

    CPU

  2. 2
    The 6502 processor from the Apple IIe was built from
    _____
    transistors.
    Hint

    This number is quite small compared to modern processors.

    Answer

    4528

  3. 3
    The M1 processor in the MacBook Pro can perform around
    _____
    calculations per second.
    Hint

    Think of a very large number; it's about a thousand times more than a billion.

    Answer

    3 trillion

  4. 4
    The shared 'technological DNA' that all processors have in common is the
    _____
    cycle.
    Hint

    It consists of three main steps that repeat continuously.

    Answer

    Fetch Decode Execute

  5. 5
    In the CPU analogy, the bookshelves represent the
    _____
    storage device.
    Hint

    It's a type of long-term storage that retains data even when the computer is off.

    Answer

    SSD

  6. 6
    In the CPU analogy, the cart represents the
    _____
    .
    Hint

    It's temporary, fast memory that holds data currently in use.

    Answer

    DRAM

  7. 7
    In the CPU analogy, the single open book on the table represents the
    _____
    .
    Hint

    It's a small, very fast memory inside the CPU itself.

    Answer

    cache memory

  8. 8
    In the CPU analogy, the sheet of paper represents the
    _____
    .
    Hint

    These are tiny storage locations inside the CPU used for immediate data.

    Answer

    registers

  9. 9
    In the CPU analogy, the calculator represents the
    _____
    .
    Hint

    It performs all arithmetic and logical operations.

    Answer

    Arithmetic Logic Unit

  10. 10
    The ALU can perform a bit shift operation, which is equivalent to multiplying a binary number by
    _____
    .
    Hint

    Think about what happens when you shift a decimal number left by one digit.

    Answer

    2

  11. 11
    The display that shows the ALU output is called the
    _____
    .
    Hint

    It accumulates the result of the last ALU operation.

    Answer

    accumulator

  12. 12
    An instruction that reads a value from memory and copies it into a register is called a
    _____
    instruction.
    Hint

    Think about moving data from storage to a working location.

    Answer

    load

  13. 13
    An instruction that writes a register value back to memory is called a
    _____
    instruction.
    Hint

    Think about saving data from a working location to storage.

    Answer

    store

  14. 14
    The register that holds the address of the next instruction to be executed is called the
    _____
    .
    Hint

    It's also known as the instruction pointer.

    Answer

    program counter

  15. 15
    A
    _____
    instruction changes the program counter to a new value, causing execution to jump to a different location.
    Hint

    It's like a 'goto' in programming.

    Answer

    jump

  16. 16
    A conditional branch instruction uses comparison flags from the ALU to decide whether to
    _____
    the program counter.
    Hint

    It may or may not modify the program counter based on a condition.

    Answer

    change

  17. 17
    During the Fetch step, the controller uses the program counter to get an instruction and places it into the
    _____
    register.
    Hint

    It holds the instruction currently being processed.

    Answer

    current instruction register (CIR)

  18. 18
    During the Decode step, the instruction is fed into a circuit called the
    _____
    .
    Hint

    It interprets the instruction and generates control signals.

    Answer

    instruction decoder

  19. 19
    The
    _____
    from the instruction decoder and timing signals are used during the Execute step to complete the instruction.
    Hint

    These signals direct the various parts of the CPU.

    Answer

    control signals

  20. 20
    The 6502 processor used a
    _____
    Megahertz clock.
    Hint

    This is a low clock speed compared to modern processors.

    Answer

    1

  21. 21
    The M1 chip uses a
    _____
    Gigahertz clock.
    Hint

    This is a common modern clock speed.

    Answer

    3.2

  22. 22
    The 6502 is an
    _____
    -bit processor.
    Hint

    It processes data in chunks of this many bits.

    Answer

    8

  23. 23
    The M1 is a
    _____
    -bit processor.
    Hint

    Modern high-performance processors use this bit width.

    Answer

    64

  24. 24
    The technique where multiple instructions are queued and executed simultaneously in different stages is called
    _____
    .
    Hint

    It's like an assembly line for instructions.

    Answer

    pipelining

  25. 25
    The M1 chip has separate
    _____
    kilobyte data and instruction caches for each performance core.
    Hint

    This is a typical cache size for modern processors.

    Answer

    64

  26. 26
    A modern CPU component that helps reduce delays from conditional branches by predicting the outcome is called a
    _____
    .
    Hint

    It guesses which way a branch will go to keep the pipeline full.

    Answer

    branch predictor

  27. 27
    The M1 chip integrates a CPU, GPU, and other components on a single chip, making it a
    _____
    .
    Hint

    It combines many parts into one package.

    Answer

    system on a chip (SoC)

  28. 28
    The ARM instruction set used by the M1 is classified as a
    _____
    architecture.
    Hint

    It stands for Reduced Instruction Set Computer.

    Answer

    RISC

  29. 29
    Intel and AMD processors typically use a
    _____
    instruction set architecture.
    Hint

    It stands for Complex Instruction Set Computer.

    Answer

    CISC

  30. 30
    RISC architectures are known for being more
    _____
    efficient than CISC.
    Hint

    Think about power consumption, important in mobile devices.

    Answer

    energy

  31. 31
    The software that converts high-level code into machine code or assembly is called a
    _____
    .
    Hint

    It translates human-readable code into processor-specific instructions.

    Answer

    compiler

  32. 32
    An alternative to the Fetch Decode Execute cycle that doesn't fetch or decode instructions but performs fixed operations is an
    _____
    .
    Hint

    It stands for Application-Specific Integrated Circuit.

    Answer

    ASIC

  33. 33
    A chip that can be reconfigured after manufacturing and is used in some automotive computers is called an
    _____
    .
    Hint

    It stands for Field-Programmable Gate Array.

    Answer

    FPGA

  34. 34
    A GPU performs a technique called
    _____
    where one instruction is executed on many data elements across multiple cores.
    Hint

    It stands for Single Instruction Multiple Threads.

    Answer

    SIMT

  35. 35
    The 6502 processor had
    _____
    different instructions it could execute.
    Hint

    This is a small number compared to modern processors.

    Answer

    56

  36. 36
    The M1 processor can complete
    _____
    different instructions.
    Hint

    This number is much larger than the 6502.

    Answer

    354

  37. 37
    The temporary memory used for active data and instructions that is faster than SSD but slower than cache is called
    _____
    .
    Hint

    It's the computer's main memory.

    Answer

    DRAM

  38. 38
    The Fetch Decode Execute cycle uses the computer's
    _____
    to regulate its pace.
    Hint

    It ticks at a constant frequency to synchronize operations.

    Answer

    clock

  39. 39
    A processor that processes 8 bits at a time is called an
    _____
    -bit processor.
    Hint

    This is the width of its registers and ALU.

    Answer

    8

  40. 40
    The main difference between a CPU and a GPU is that a GPU has many
    _____
    that perform simple operations on many data simultaneously.
    Hint

    These are the parallel processing units in NVIDIA GPUs.

    Answer

    CUDA cores

  41. 41
    The process of moving data from the SSD to the DRAM and then to cache is known as the
    _____
    step in the extended cycle.
    Hint

    It involves transferring data between storage levels.

    Answer

    Memory

  42. 42
    Writing data back from a register to memory is done in the
    _____
    step.
    Hint

    It saves the result after execution.

    Answer

    Writeback

  43. 43
    The M1 chip uses a 64-kilobyte
    _____
    cache for each performance core, separate from the data cache.
    Hint

    It stores instructions that have been fetched recently.

    Answer

    instruction

  44. 44
    The
    _____
    in a CPU stores the value of the program counter while an instruction is being fetched.
    Hint

    It temporarily holds the fetched instruction.

    Answer

    current instruction register (CIR)

  45. 45
    The
    _____
    unit in a CPU, represented by the calculator in the analogy, performs all arithmetic and logical operations.
    Hint

    It's a core component that does the actual calculations.

    Answer

    Arithmetic Logic Unit (ALU)

  46. 46
    A
    _____
    instruction compares two values and sets flags for later conditional branches.
    Hint

    It's often used before a branch to check a condition.

    Answer

    compare

  47. 47
    The process of turning C++ code into machine code for a specific CPU involves a
    _____
    .
    Hint

    It's a program that translates high-level language to low-level instructions.

    Answer

    compiler

  48. 48
    The 6502 processor had no
    _____
    because DRAM was as fast as the CPU at that time.
    Hint

    This small, fast memory was not needed when memory speeds matched the CPU.

    Answer

    cache

  49. 49
    The M1's performance core includes a
    _____
    predictor to improve pipeline efficiency.
    Hint

    It guesses the outcome of conditional jumps.

    Answer

    branch

  50. 50
    The ALU's comparison operation outputs flags such as equal, less than, and
    _____
    .
    Hint

    It's the opposite of less than.

    Answer

    greater than

1 of 50
Question 1 of 50

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent