Question

    What is the primary function of the Accumulator (AC) in a computer system?

    A To permanently store user data and programs for long-term access. Correct Answer Incorrect Answer
    B To temporarily store intermediate results during arithmetic and logic operations. Correct Answer Incorrect Answer
    C To manage and allocate memory for different processes running on the system. Correct Answer Incorrect Answer
    D To maintain a record of all input and output operations performed by the system. Correct Answer Incorrect Answer
    E To control the execution sequence of instructions in a program. Correct Answer Incorrect Answer

    Solution

    The Accumulator (AC) is a special-purpose register used in computer systems, particularly in older or simpler architectures, to temporarily hold intermediate results during arithmetic and logic operations. It plays a crucial role in the central processing unit (CPU) by serving as a workspace for calculations. Key functions of the Accumulator include: • Intermediate Storage: During operations such as addition, subtraction, or logical comparisons, the AC holds intermediate results. For instance, when adding two numbers, the result of the addition is stored in the AC before it is used for further processing or written back to memory. • Arithmetic and Logic Operations: The AC is often used to perform operations on data, with the results directly affecting or being affected by the contents of the AC. • Efficiency: By providing a temporary storage location within the CPU, the AC enables efficient execution of instructions that require intermediate results, reducing the need to access slower main memory frequently.

    Practice Next