πŸŽ“ BookMCQ
← Back to 2. Simple as Possible (SAP) - I

πŸ“ Working of Simple as Possible (SAP) I Computer (8 MCQs)

Overall Operating Principle of the SAP-I Computer

The SAP-I computer operates by fetching instructions from memory, decoding their opcodes and executing the required data-processing operations. Its 4-bit program counter identifies one of sixteen RAM locations, while an 8-bit common bus transfers instructions and data among its functional units. The controller coordinates the accumulator, B register, ALU, instruction register and output register to complete each instruction.

Interaction Between the Program Counter and Memory Unit

The program counter sends its current address to the memory address register, which selects the corresponding RAM location. The selected memory word is transferred through the common bus into the instruction register. The program counter is then incremented, preparing it to identify the next instruction. The instruction register retains the fetched word while the controller determines its operation.

Control Signals During Arithmetic and Output Operations

After decoding, the controller activates signals that enable the required transfers. For arithmetic instructions, memory data enters the B register, and the ALU combines it with the accumulator contents. The result returns to the accumulator. For OUT, the accumulator drives the common bus and the output register captures the byte for display.

Complete Example of an SAP-I Addition Operation

Suppose RAM location 0EH contains 04H and location 0FH contains 03H. The program executes LDA 0EH, ADD 0FH, OUT and HLT in that order. The accumulator first receives 04H, then the ALU adds 03H to produce 07H. The output register captures 07H before the computer halts.

Connection Between Clock Pulses and Sequential Processing

The clock provides timing pulses that organize register transfers and control operations into individual steps. The controller uses timing states and opcode information to determine which signals must be active during each step. This coordinated process demonstrates the relationship between a processor's control unit and data path, concepts that also appear in more complex microprocessors such as the 8085.

Misunderstandings About SAP-I Computer Operation

'The ALU fetches instructions from RAM' confuses the arithmetic unit with the memory and instruction-fetch circuitry. 'The program counter holds the arithmetic answer' confuses instruction sequencing with accumulator storage. 'All control signals remain active throughout execution' is incorrect because individual signals are activated only during the appropriate timing steps.

Operational Sequence and Register-Transfer Questions

Be able to explain the complete fetch-decode-execute process and trace data movement among PC, MAR, RAM, IR, accumulator, B register and ALU. Understand how clock timing controls individual operations. Examination questions may present a program and ask for the sequence of register contents, the resulting arithmetic value or the output generated before HLT.

Operating Mechanism and Control Terms

  • Clock - Supplies timing pulses.
  • MAR - Selects the RAM address.
  • IR - Retains the fetched instruction.
  • Control Signal - Enables a specific operation.
  • ALU - Performs arithmetic calculations.
  • Execution Cycle - Performs the decoded instruction.
2
Easy
4
Medium
2
Hard

πŸ“ All Working of Simple as Possible (SAP) I Computer MCQs

Q1. What is the primary function of the Control Unit in a computer?

A.Perform arithmetic calculations
B.Direct the operation of other units and manage data flow
C.Store data permanently βœ…
D.Generate visual output
πŸ’‘ Difficulty: easy | βœ… Correct: C

πŸ“– Explanation: The Control Unit does not perform calculations itself; its main role is to orchestrate the activities of all other components. It fetches instructions, decodes them, and issues control signals that tell the ALU, memory, and I/O devices what to do and when. Options A and D describe tasks of the ALU and Output Unit, while option C describes storage. Therefore, option B correctly captures the Control Unit’s responsibility to direct operations and manage data flow across the system.

Q2. How do clock pulses influence the sequencing of operations in the Control Unit?

A.They store intermediate results
B.They provide power to the ALU
C.They encrypt data
D.They act as timing signals that synchronize each step of instruction execution βœ…
πŸ’‘ Difficulty: medium | βœ… Correct: D

πŸ“– Explanation: Clock pulses serve as the heartbeat of a processor; each pulse marks the boundary between successive micro‑operations. The Control Unit uses these pulses to advance from fetching an instruction to decoding it, then to issuing the appropriate control signals for the ALU and other units. Without regular timing, steps would overlap or be skipped, causing unpredictable behavior. Options A, B, and C describe unrelated functions such as storage, power supply, or security, so they are incorrect. Option D correctly identifies clock pulses as timing signals that synchronize instruction execution.

Q3. Why are the Arithmetic Logic Unit (ALU) and the Control Unit combined into the Central Processing Unit (CPU) rather than remaining separate components?

A.Combining them reduces communication delay and allows tighter coordination of instruction decoding and execution
B.It saves physical space but makes the system slower βœ…
C.Because they perform identical functions
D.To simplify software development by eliminating the need for an operating system
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: Integrating the ALU and Control Unit into a single CPU block minimizes the distance that signals must travel, which cuts latency and speeds up the fetch‑decode‑execute cycle. The Control Unit can instantly deliver decoded opcodes to the ALU, ensuring that arithmetic or logical operations occur at the right moment. Option B incorrectly claims the system becomes slower; in reality, integration improves speed. Option C is false because the units have distinct roles, and option D misstates the relationship to software. Therefore, option A accurately explains the performance advantage of combining them.

Q4. A program needs to compute 12 \\times 7\ and then display the result on a monitor. Which sequence correctly describes the flow of data through the computer units?

A.Output Unit β†’ ALU β†’ Control Unit
B.Control Unit β†’ Output Unit β†’ ALU
C.Control Unit directs ALU to multiply, then ALU sends result to Output Unit βœ…
D.ALU performs multiplication independently without control signals
πŸ’‘ Difficulty: medium | βœ… Correct: C

πŸ“– Explanation: The Control Unit first fetches the instruction and decodes the opcode that specifies multiplication. It then sends a control signal to the ALU to perform 12 \\times 7\. After the ALU calculates the product (84), it places the result on a bus where the Control Unit routes it to the Output Unit, which converts the binary value into a visual display on the monitor. Option A reverses the order, option B inserts the Output Unit before the ALU, and option D ignores the essential role of the Control Unit in coordinating the operation. Hence, option C is correct.

Q5. If a computer's output device such as an LED panel is not lighting up after a calculation, which unit is most likely responsible for sending the result to the device?

A.Arithmetic Logic Unit
B.Output Unit βœ…
C.Control Unit
D.Memory Unit
πŸ’‘ Difficulty: medium | βœ… Correct: B

πŸ“– Explanation: After the ALU finishes a calculation, the result is transferred to the Output Unit, which formats the data for the specific device and drives the electrical signals that cause LEDs to illuminate. The Control Unit oversees the process but does not directly interface with the display hardware, while the ALU only performs the arithmetic, and memory merely stores values. Therefore, the Output Unit is the component that actually sends the result to the LED panel, making option B correct.

Q6. During a high‑speed data processing task, the clock pulse generator malfunctions, causing irregular timing. What is the most immediate effect on the Control Unit's operation?

A.The ALU will produce incorrect arithmetic results
B.The output unit will display garbled characters
C.Memory will lose stored data
D.Instruction sequencing will become unpredictable, leading to possible execution errors βœ…
πŸ’‘ Difficulty: hard | βœ… Correct: D

πŸ“– Explanation: The Control Unit relies on a steady stream of clock pulses to move through the fetch‑decode‑execute cycle. If the timing becomes irregular, the unit cannot reliably determine when to issue the next control signal, causing instructions to be fetched out of order or overlapped. This disrupts sequencing and can trigger execution errors or system hangs. While the ALU, output unit, and memory may eventually show symptoms, the direct and immediate consequence of a faulty clock is unpredictable instruction sequencing, making option D correct.

Q7. How does the Control Unit determine which operation the ALU should perform for a given instruction?

A.It decodes the opcode and sends a control signal specifying the operation βœ…
B.It asks the user to select the operation
C.It randomly chooses an ALU function
D.It relies on the output unit to decide
πŸ’‘ Difficulty: medium | βœ… Correct: A

πŸ“– Explanation: Each instruction contains an opcode that identifies the required operation, such as addition or logical shift. The Control Unit extracts this opcode during the decode phase and generates a specific control line that activates the corresponding circuit inside the ALU. The user does not intervene, and the selection is not random nor delegated to the output unit. Therefore, option A correctly describes the decoding process that directs the ALU, while the other options misrepresent how the operation is chosen.

Q8. A student writes a simple program that adds two numbers and prints the sum. Which unit first receives the instruction from the program?

A.Output Unit
B.ALU
C.Control Unit βœ…
D.Memory
πŸ’‘ Difficulty: easy | βœ… Correct: C

πŸ“– Explanation: When a program is executed, the processor begins by fetching the first instruction from memory and handing it to the Control Unit. This unit decodes the command and then coordinates the ALU to perform the addition and the Output Unit to display the result. The Output Unit and ALU act only after the Control Unit has interpreted the instruction, and memory merely stores the code. Thus, the Control Unit is the first to receive the instruction, making option C correct.

πŸ”— Related Topics (MCQs)