Arithmetic Logic Unit (ALU)

Cards (43)

  • What does ALU stand for?
    Arithmetic Logic Unit
  • Why is the ALU considered the heart of the CPU?
    It performs all calculations and comparisons
  • What is the main component of a CPU?
    Control Unit (CU)
  • What types of operations does the ALU perform?
    • Arithmetic operations:
    • Addition
    • Subtraction
    • Multiplication
    • Division
    • Logical operations:
    • AND
    • OR
    • NOT
  • What are the two main types of operations performed by the ALU?
    Arithmetic and logical
  • What is the primary function of the ALU?
    To perform arithmetic and logical operations
  • What is the role of the Arithmetic & Logic Unit (ALU) in a CPU?
    It performs arithmetic and logical operations
  • How do arithmetic operations differ from logical operations in the ALU?
    Arithmetic operations perform calculations, logical operations make decisions
  • What does the Calculation Unit do in the ALU?
    It performs the actual arithmetic and logical operations
  • What is the purpose of the Memory Unit (MU) in a CPU?
    It stores data and instructions for the CPU
  • What is the function of the Input Unit in the ALU?
    It receives data and instructions for processing
  • How do the components of a CPU work together to execute a program?
    • Input Unit sends data/instructions to the CPU
    • CU coordinates the flow of data and instructions
    • ALU performs the required computations
    • MU stores the data and instructions needed
    • Output Unit receives the processed results
  • What is the main component of a CPU?
    Control Unit (CU)
  • What are the main components of the ALU?
    Input Unit, Control Logic, Calculation Unit
  • What are the main components of a CPU and their functions?
    • Control Unit (CU): Controls the flow of data and instructions
    • Arithmetic & Logic Unit (ALU): Performs arithmetic and logical operations
    • Memory Unit (MU): Stores data and instructions for the CPU
  • What role does the Control Logic play in the ALU?
    It manages and directs operations within the ALU
  • What does the CU send to the ALU to perform arithmetic operations?
    Binary numbers and operation instructions
  • What is the role of the Arithmetic & Logic Unit (ALU) in a CPU?
    It performs arithmetic and logical operations
  • What does a carry bit indicate in the ALU?
    When numbers overflow their container
  • Where are the results of the ALU's operations stored?
    In memory or outputted
  • What are the steps the ALU follows to perform arithmetic operations?
    1. CU sends binary numbers and operation instructions
    2. Input Unit receives the numbers
    3. Control Logic manages the calculation process
    4. Calculation Unit performs the operation
    5. Results are stored in memory or outputted
    6. A carry bit indicates overflow
    7. Control Logic checks for potential overflow
  • How do the components of the ALU work together?
    • Input Unit receives data and instructions
    • Control Logic orchestrates operations
    • Calculation Unit performs arithmetic and logical operations
  • What is the function of Control Logic in the ALU?
    It manages the calculation process
  • How do the components of a CPU work together to execute a program?
    • CU fetches instructions from memory
    • CU decodes instructions and coordinates the flow of data
    • ALU performs the required arithmetic/logical operations
    • MU stores data and instructions needed for processing
    • Results are sent to the Output Unit
  • What role does the Input Unit play in the ALU's arithmetic operations?
    It receives the binary numbers
  • What are the main components of a CPU and their functions?
    • Control Unit (CU): Controls the flow of data and instructions
    • Arithmetic & Logic Unit (ALU): Performs arithmetic and logical operations
    • Memory Unit (MU): Stores data and instructions
  • What is represented by 1 and 0 in logical operations?
    • 1 represents TRUE
    • 0 represents FALSE
  • How does the ALU perform logical operations?
    It uses truth tables to define operations
  • What is the result of the OR operation when both inputs are 1?

    1
  • What is the result of the AND operation when both inputs are 1?
    1
  • What is the result of the AND operation when one input is 0?
    0
  • What is the result of the OR operation when one input is 0?
    1
  • How does the control logic check for potential overflow in the ALU?
    It checks the carry bit
  • What are the logical operations performed by the ALU?
    • AND
    • OR
    • NOT
  • What is the role of the ALU in the CPU?
    It performs calculations to process data
  • What is the purpose of the Memory Unit (MU) in a CPU?
    It stores data and instructions for the CPU
  • What is the result of the AND operation when both inputs are 0?
    0
  • What is the result of the OR operation when both inputs are 0?
    0
  • How does the ALU receive instructions?
    From other parts of the CPU
  • How can the ALU be described in relation to the CPU?
    • It is a key part of the CPU
    • It performs calculations to process data
    • It acts as the engine that drives the system