🎓 BookMCQ
← Back to 2. Simple as Possible (SAP) - I

📝 Execution Cycle of Simple as Possible (SAP) I Computer (18 MCQs)

Purpose of the Instruction Execution Cycle

The execution cycle performs the operation specified by the opcode of an instruction already fetched into the SAP-I instruction register. The controller examines the instruction and activates the necessary register-transfer and processing signals. Depending on the instruction, execution may involve loading memory data, performing addition or subtraction, transferring a result to the output register or halting the computer.

Opcode Decoding and Selection of Execution Operations

The instruction register contains an 8-bit instruction divided into an upper 4-bit opcode and a lower 4-bit address field. The controller uses the opcode to identify the required operation. For memory-referencing instructions, the address field is transferred through the bus to the MAR, selecting the operand from RAM for the execution sequence.

Execution Steps for Memory and Arithmetic Instructions

For LDA, the selected RAM byte enters the accumulator. For ADD, RAM data enters the B register before the ALU adds it to the accumulator. SUB uses the same operand-transfer path but selects subtraction in the ALU. OUT enables the accumulator onto the bus and loads the output register, while HLT stops normal sequencing.

Tracing the Execution of an ADD Instruction

Assume the accumulator contains 06H and RAM location 0EH contains 04H. When ADD 0EH executes, the instruction address field selects that memory location. RAM places 04H on the bus, and the B register captures it. The ALU adds both values, placing 0AH in the accumulator.

Timing Relationship Between Instruction Fetch and Execution

Each SAP-I instruction requires a fetch sequence followed by an instruction-dependent execution sequence. The controller uses clock timing states to activate the required signals in the correct order. Arithmetic instructions require more execution operations than a simple output transfer. This illustrates how instruction complexity determines the number of internal register transfers and control actions needed.

Misunderstandings About Instruction Execution

'Every instruction performs an ALU operation' is incorrect because OUT and HLT do not require arithmetic. 'ADD stores its result in RAM' is incorrect because the accumulator receives the result. 'Execution always takes exactly the same number of timing steps for every instruction' overlooks the different control sequences required by LDA, ADD, SUB, OUT and HLT.

Instruction-Dependent Execution and Result Tracing

Understand the difference between fetching an instruction and executing its operation. Practise tracing the lower address field, memory access, B-register loading and accumulator changes. Examination questions may ask which control signals are activated, how addition differs from subtraction, where the result is stored or how the OUT and HLT instructions affect subsequent operation.

Execution and Control-Sequence Terms

  • Opcode - Identifies the required operation.
  • Decode - Interprets the instruction opcode.
  • Execution - Performs the specified instruction.
  • B Register - Holds the second arithmetic operand.
  • SU - Selects subtraction operation.
  • EO - Enables ALU output onto the bus.
4
Easy
6
Medium
8
Hard

📝 All Execution Cycle of Simple as Possible (SAP) I Computer MCQs

Q1. What does the acronym ALU stand for in computer architecture?

A.Arithmetic Logic Unit ✅
B.Advanced Linkage Utility
C.Array Load Undertaking
D.Algorithmic Linear Unit
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: The correct answer is A because ALU is universally defined as the Arithmetic Logic Unit, the component that performs arithmetic (e.g., addition, subtraction) and logical (e.g., AND, OR) operations. Options B, C, and D are fabricated terms that have no meaning in computer architecture. Recognizing the name of the ALU is essential for any discussion of the execution cycle, since every instruction ultimately relies on this unit to manipulate data.

Q2. What is the primary role of the Control Unit in a CPU?

A.Perform arithmetic operations
B.Manage data flow and sequence of operations ✅
C.Store permanent data
D.Generate graphics output
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: Option B is correct because the Control Unit orchestrates the flow of data between components and sequences the steps each instruction must follow. It does not perform calculations itself (A), nor does it provide long‑term storage (C) or handle graphics rendering (D). Knowing the Control Unit’s function is key to understanding how the fetch‑decode‑execute cycle progresses in real‑world processors.

Q3. How do the ALU and Control Unit collaborate during the execution cycle?

A.ALU controls timing while Control Unit performs calculations ✅
B.Control Unit directs which operation the ALU carries out
C.Both units independently execute instructions
D.Control Unit stores results generated by the ALU
💡 Difficulty: easy | ✅ Correct: A

📖 Explanation: The Control Unit sends control signals that tell the ALU which specific operation (add, subtract, logical AND, etc.) to perform, making B the correct choice. Option A reverses their roles, C suggests they work without coordination, which never happens, and D misstates that the Control Unit stores results—storage is handled by registers or memory. This partnership is the heart of every instruction processed by a computer.

Q4. Why are clock pulses essential for the Control Unit's operation?

A.They provide power to the CPU
B.They synchronize the sequencing of instructions ✅
C.They store data in memory
D.They display output on the screen
💡 Difficulty: easy | ✅ Correct: B

📖 Explanation: Clock pulses act as a metronome, ensuring that the Control Unit advances through fetch, decode, and execute phases in lockstep, so B is correct. Power delivery (A) comes from the power supply, not the clock. Storing data (C) is a function of memory, and producing visual output (D) belongs to the output unit. Without a regular clock, instructions would overlap or be missed, breaking real‑world program execution.

Q5. Which component is responsible for presenting the final results of a computation to the user?

A.Control Unit
B.Arithmetic Logic Unit
C.Output Unit ✅
D.Memory Unit
💡 Difficulty: medium | ✅ Correct: C

📖 Explanation: The Output Unit handles displaying or printing results, so C is correct. The Control Unit (A) only coordinates actions, the ALU (B) performs calculations but does not interface with users, and the Memory Unit (D) stores data internally. In everyday devices—such as a laptop showing a spreadsheet—the output hardware translates binary outcomes into human‑readable form, linking the execution cycle to tangible results.

Q6. If a control signal that tells the ALU to add two numbers is missing, what is the most likely outcome?

A.The ALU will add the numbers anyway ✅
B.The processor will halt or produce incorrect results
C.The Control Unit will perform the addition itself
D.The Output Unit will correct the error
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Missing the add‑control signal means the ALU receives no instruction, causing the processor to either stall (halt) or execute a default/undefined operation, leading to wrong results—making B correct. The ALU cannot guess the operation (A), the Control Unit does not perform arithmetic (C), and the Output Unit cannot fix computation errors (D). This scenario illustrates how precise control signals are vital for reliable execution in real systems.

Q7. What distinguishes a logical operation from an arithmetic operation inside the ALU?

A.Logical operations use floating‑point numbers, arithmetic uses integers
B.Logical operations manipulate bits with Boolean rules, arithmetic operations compute numeric values ✅
C.Logical operations are slower than arithmetic ones
D.Logical operations require the Output Unit
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: Logical operations such as AND, OR, NOT work on individual bits according to Boolean algebra, while arithmetic operations like addition or multiplication compute numeric values—so B is correct. Option A mixes data types incorrectly, C’s speed claim depends on implementation and is not a defining distinction, and D misplaces the Output Unit’s role. Recognizing this difference helps engineers design instruction sets that efficiently use the ALU.

Q8. Why are the ALU and Control Unit often combined into a single CPU chip?

A.To reduce manufacturing cost and latency between them ✅
B.Because they perform the same function
C.To simplify software programming
D.To increase the size of the computer
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: Integrating the ALU and Control Unit onto one chip minimizes the distance data travels, lowering latency and cost—hence A is correct. They do not perform identical tasks (B); the Control Unit directs while the ALU computes. Software complexity (C) is unaffected by hardware packaging, and increasing computer size (D) is contrary to modern design goals. This integration is why modern CPUs achieve high performance in everyday devices.

Q9. During the fetch‑decode‑execute cycle, which step directly follows the decoding of an instruction?

A.Fetching the next instruction ✅
B.Executing the decoded operation
C.Storing the result in memory
D.Generating a clock pulse
💡 Difficulty: medium | ✅ Correct: A

📖 Explanation: After an instruction is decoded, the CPU knows which operation to perform, so it immediately proceeds to execution—making B correct. Fetching the next instruction (A) occurs after the current instruction completes, storing results (C) is part of execution or post‑execution, and clock generation (D) is continuous and not a distinct step. Understanding this order is crucial for diagnosing timing issues in real processors.

Q10. How does instruction sequencing affect overall processor performance?

A.Sequencing determines the physical size of the CPU
B.Proper sequencing reduces idle time of the ALU and Control Unit ✅
C.Sequencing only matters for graphics rendering
D.Sequencing changes the voltage of the power supply
💡 Difficulty: medium | ✅ Correct: B

📖 Explanation: When instructions are ordered efficiently, the ALU and Control Unit spend less time waiting for data or control signals, improving throughput—so B is correct. CPU size (A) is a hardware design factor, graphics (C) is a specific workload, and power voltage (D) is unrelated to sequencing. Efficient sequencing is why modern compilers reorder code to maximize real‑world performance.

Q11. What advantage does pipelining provide to the execution cycle?

A.It allows multiple instructions to be processed at overlapping stages ✅
B.It eliminates the need for an ALU
C.It reduces the clock speed to zero
D.It merges the Output Unit with Memory
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: Pipelining splits the execution cycle into stages so that different instructions occupy different stages simultaneously, increasing instruction throughput—hence A is correct. It does not remove the ALU (B), nor does it stop the clock (C), and it does not physically merge unrelated units (D). Real processors like modern smartphones rely on pipelining to achieve high performance while keeping power consumption low.

Q12. A microcontroller must add two 8‑bit numbers and then display the sum on an LED array. Which sequence of units is most efficient?

A.ALU → Control Unit → Output Unit ✅
B.Control Unit → ALU → Output Unit
C.Output Unit → ALU → Control Unit
D.ALU → Output Unit → Control Unit
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: The Control Unit first fetches and decodes the add instruction, then directs the ALU to compute the sum, after which the result is sent to the Output Unit for display—making B correct. Starting with the ALU (A) ignores instruction control, sending data directly to output before computation (C) is impossible, and ending with the Control Unit (D) would not produce a visible result. This ordering mirrors how embedded devices perform arithmetic then present results.

Q13. If a CPU’s clock speed is doubled, what is the most direct effect on the execution cycle duration?

A.Each instruction takes twice as long to complete ✅
B.Each instruction takes half as long to complete
C.The ALU performs more complex operations
D.The Output Unit becomes faster
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: Doubling the clock frequency halves the period of each clock pulse, so each stage of the fetch‑decode‑execute cycle can finish in half the time, making B correct. Instruction latency does not increase (A); the complexity of ALU operations (C) is independent of clock speed, and the Output Unit’s speed (D) is not directly altered by the internal clock. This relationship explains why faster clocks improve overall program execution in real computers.

Q14. During a conditional branch, the Control Unit must decide whether to jump to a new address. Which component provides the condition result?

A.Output Unit
B.ALU ✅
C.Memory Unit
D.Power Supply
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: The ALU evaluates the condition (e.g., zero flag, comparison) and supplies the result to the Control Unit, enabling the branch decision—so B is correct. The Output Unit (A) only displays data, the Memory Unit (C) stores data but does not compute conditions, and the Power Supply (D) is unrelated. This flow is typical in real processors when implementing if‑else statements or loops.

Q15. A system designer wants to minimize latency between fetching an instruction and executing it. Which design change is most effective?

A.Increasing the size of the Output Unit ✅
B.Integrating the Control Unit and ALU on the same chip
C.Adding more clock pulses per second without changing hardware
D.Using a slower memory module
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: Adding more clock pulses (i.e., increasing clock frequency) reduces the time each stage of the cycle takes, directly lowering fetch‑to‑execute latency—making C correct. Simply enlarging the Output Unit (A) does not affect instruction flow, integrating units (B) already exists in most CPUs and yields marginal gains, and slower memory (D) would increase latency. Real‑world CPUs often raise clock rates to meet performance targets.

Q16. When an instruction requires both addition and logical AND, how does the CPU typically handle it?

A.It performs both operations simultaneously in a single ALU ✅
B.It executes them sequentially using the same ALU
C.It sends one operation to the ALU and the other to the Control Unit
D.It outsources one operation to an external co‑processor
💡 Difficulty: hard | ✅ Correct: A

📖 Explanation: Most CPUs use a single ALU that can perform different operations but only one at a time, so the Control Unit schedules the addition first and then the logical AND—making B correct. Simultaneous execution (A) would need multiple ALUs, which is not assumed here. The Control Unit (C) does not perform calculations, and external co‑processors (D) are used only for specialized tasks, not typical simple instructions. This sequencing is observable in many real instruction pipelines.

Q17. If an error occurs in the Control Unit that causes it to skip the decode stage, what is the most likely symptom?

A.The ALU will produce correct results faster
B.The processor may execute random or unintended operations ✅
C.The Output Unit will display an error message automatically
D.Memory will become corrupted instantly
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: Skipping decoding means the CPU does not know which operation to perform, so it may execute whatever bits happen to be present, leading to random or unintended behavior—hence B is correct. Correct results (A) require proper decoding, the Output Unit (C) does not autonomously generate error messages, and memory corruption (D) is a possible downstream effect but not the immediate symptom. This illustrates the critical role of decoding in reliable execution.

Q18. A programmer writes a loop that increments a counter until it reaches 255. Which component monitors the counter’s value to decide when to exit the loop?

A.Output Unit
B.Control Unit ✅
C.ALU
D.Memory Unit
💡 Difficulty: hard | ✅ Correct: B

📖 Explanation: The Control Unit checks status flags set by the ALU (e.g., zero or overflow) after each increment to determine whether the loop condition is satisfied, so B is correct. The ALU performs the addition but does not decide control flow, the Output Unit (A) only displays data, and the Memory Unit (D) merely stores the counter. This division of labor mirrors how real processors implement loop termination conditions.

🔗 Related Topics (MCQs)