๐ŸŽ“ BookMCQ
โ† Back to 2. Simple as Possible (SAP) - I

๐Ÿ“ B Register of Simple as Possible (SAP) I Computer (8 MCQs)

Eight-Bit B Register and Operand Storage Function

The B register is an 8-bit temporary storage register in the SAP-I computer, primarily used to hold the second operand during arithmetic operations. It receives numerical data from RAM through the common data bus and supplies that value to the adder-subtractor. Its organization allows the accumulator and B register to provide both operands simultaneously to the arithmetic circuit.

Connection Between RAM, B Register and Arithmetic Unit

The B register receives data through its input connection when the BI control signal is activated. Its stored contents are then available as an input to the ALU. The accumulator supplies the other operand. This arrangement separates temporary operand storage from the accumulator, which serves as the primary destination for arithmetic results.

Loading the Second Operand During ADD and SUB

When an ADD or SUB instruction is decoded, its lower address field selects a RAM location through the MAR. The selected byte is enabled onto the bus and loaded into the B register. The arithmetic circuit then combines this byte with the accumulator contents, using the appropriate addition or subtraction control signal.

Example of B Register Use in an Addition

Suppose the accumulator contains 08H and RAM location 0AH contains 03H. During ADD 0AH, the memory byte 03H enters the B register through the bus. The ALU adds 08H and 03H, producing 0BH. The result is transferred back into the accumulator, while B retains the operand.

Importance of Temporary Operand Storage

The B register enables the arithmetic unit to receive two values without requiring both to come directly from RAM during calculation. Its temporary storage function simplifies the computer's data path and coordinates memory transfers with ALU operations. Together, the accumulator and B register illustrate the use of internal processor registers to hold operands during arithmetic processing.

Misconceptions About B Register Operation

'The B register stores the program address' is incorrect because the program counter handles instruction addresses. 'The B register always contains the final arithmetic result' confuses it with the accumulator. 'The B register reads RAM independently' overlooks the MAR and common bus, which select and transfer the required memory byte.

Operand Movement and Register-Content Questions

Trace the B-register contents during LDA, ADD and SUB operations. Understand the purpose of BI and distinguish B-register input from accumulator input. Examination questions may provide initial register values and memory contents and ask students to determine the second operand, the ALU result or the final accumulator value after a sequence of arithmetic instructions.

B Register and Operand-Transfer Terminology

  • B Register - Stores the second arithmetic operand.
  • BI - Enables B-register input.
  • ALU - Processes both arithmetic operands.
  • MAR - Selects the operand memory location.
  • Accumulator - Stores the primary operand and result.
  • Operand - Numerical value used in an operation.
2
Easy
4
Medium
2
Hard

๐Ÿ“ All B Register of Simple as Possible (SAP) I Computer MCQs

Q1. In a CPU, which component sends control signals to the ALU to start an addition operation?

A.Output Unit
B.Control Unit โœ…
C.B-Register
D.Arithmetic Unit
๐Ÿ’ก Difficulty: medium | โœ… Correct: B

๐Ÿ“– Explanation: The Control Unit generates the control signals that tell the ALU which operation to perform, so it initiates addition. The Output Unit only displays results, the Bโ€‘Register is a storage element, and the Arithmetic Unit is part of the ALU itself, not a controller. In a real computer, when a program requests an addition, the control unit decodes the instruction and activates the ALU; this coordination is essential for correct computation.

Q2. After the ALU computes a result, which unit is responsible for delivering that result to a monitor or printer?

A.Control Unit
B.B-Register
C.Output Unit โœ…
D.Memory
๐Ÿ’ก Difficulty: medium | โœ… Correct: C

๐Ÿ“– Explanation: The Output Unit receives the result from the ALU and converts it into a form that humans can see, such as on a screen or printer. The Control Unit directs the operation but does not present the data, the Bโ€‘Register only holds intermediate values, and memory stores data for later use. In everyday use, after a calculation finishes, the output unit is what you look at to verify the answer, making it the final link in the processing chain.

Q3. If a B-Register initially contains the value 5 and the ALU adds 3, what value will the B-Register hold after the operation?

A.2
B.8 โœ…
C.5
D.3
๐Ÿ’ก Difficulty: hard | โœ… Correct: B

๐Ÿ“– Explanation: The Bโ€‘Register is often used to hold intermediate results. If it starts with the value 5 and the ALU adds 3, the arithmetic operation is 5+3=85+3=8. After the ALU completes the addition, the result is written back to the Bโ€‘Register, so the register now contains 8. Choices 2 and 3 are results of subtraction or the original value, while 5 is the unchanged input. This illustrates how a register updates its contents after an ALU operation in a real processor.

Q4. If a computer's clock pulse is missing, which unit's sequencing would be directly affected?

A.Output Unit
B.B-Register
C.Control Unit โœ…
D.ALU
๐Ÿ’ก Difficulty: medium | โœ… Correct: C

๐Ÿ“– Explanation: The sequencing of all operations in a CPU relies on timing signals from the clock, which are interpreted by the Control Unit. If a clock pulse is absent, the Control Unit cannot advance to the next instruction, causing the whole process to stall. The Output Unit merely displays data, the Bโ€‘Register stores values, and the ALU performs calculations, none of which generate timing signals themselves. In practice, a missing clock pulse would freeze program execution, highlighting the Control Unitโ€™s central role in timing.

Q5. Why does the control unit need to coordinate with the ALU?

A.To provide power โœ…
B.To store data
C.To direct operation sequencing
D.To display results
๐Ÿ’ก Difficulty: medium | โœ… Correct: A

๐Ÿ“– Explanation: The Control Unit must tell the ALU which operation to carry out, such as addition or logical AND, because the ALU cannot decide on its own what to compute. Providing power (Option A) is handled by the power supply, storing data (Option B) is a function of registers or memory, and displaying results (Option D) belongs to the output unit. Directing operation sequencing ensures that the correct instruction is executed at the right time, which is essential for accurate processing in any computer system.

Q6. How does integrating ALU and Control Unit into a single CPU improve performance compared to having them separate?

A.Reduces latency
B.Increases power consumption โœ…
C.Decreases instruction set
D.Simplifies user interface
๐Ÿ’ก Difficulty: hard | โœ… Correct: B

๐Ÿ“– Explanation: Combining the ALU and Control Unit into a single CPU chip reduces the distance that control signals and data must travel, which cuts propagation delay and speeds up instruction execution. Increased power consumption (Option B) is a possible side effect but does not explain performance gain. Decreasing the instruction set (Option C) would limit functionality, not improve speed. Simplifying the user interface (Option D) is unrelated to internal processing. Therefore, the primary benefit is lower latency, a key factor in highโ€‘performance computing.

Q7. What is the primary role of the output unit in a computer system?

A.Perform arithmetic โœ…
B.Store programs
C.Display results
D.Control timing
๐Ÿ’ก Difficulty: easy | โœ… Correct: A

๐Ÿ“– Explanation: The output unitโ€™s main purpose is to present the results of computation to the user, whether on a monitor, LED panel, or printer. Performing arithmetic (Option A) is the job of the ALU, storing programs (Option B) is handled by memory, and controlling timing (Option D) belongs to the control unit. By converting binary data into a humanโ€‘readable form, the output unit completes the information cycle, allowing users to see and act upon the processed data.

Q8. Which component is commonly abbreviated as ALU?

A.Arithmetic Logic Unit
B.Automatic Loading Unit โœ…
C.Advanced Linking Utility
D.Array List Utility
๐Ÿ’ก Difficulty: easy | โœ… Correct: B

๐Ÿ“– Explanation: The abbreviation ALU stands for Arithmetic Logic Unit, which is the part of the CPU that performs both arithmetic (add, subtract) and logical (AND, OR) operations. Automatic Loading Unit (Option B) is not a standard computer component, Advanced Linking Utility (Option C) and Array List Utility (Option D) are unrelated software terms. Knowing the correct expansion helps students identify the function of this critical hardware block in any processor architecture.

๐Ÿ”— Related Topics (MCQs)