Consider the statement S1 Jumps are allowed in the middle of the block S2 Flow…

Consider the statement

S1 Jumps are allowed in the middle of the block

S2 Flow of control must enter through the first instruction of the block

Answer: D. S2 is trueKey concept: A basic block is a straight-line sequence of instructions with a single entry point (the first instruction) and a single exit point. Statement…

  1. A.

    S1 is true

  2. B.

    S2 is false

  3. C.

    Both are true

  4. D.

    S2 is true

Attempted by 69 students.

Show answer & explanation

Correct answer: D

Key concept: A basic block is a straight-line sequence of instructions with a single entry point (the first instruction) and a single exit point.

  • Statement 'Jumps are allowed in the middle of the block' is false because allowing jumps into the middle would create additional entry points and violate the single-entry property of a basic block.

  • Statement 'Flow of control must enter through the first instruction of the block' is true because the basic block must have exactly one entry point, namely its first instruction.

  • Conclusion: The correct answer is the one that affirms the second statement and negates the first.

Explore the full course: Isro

Loading lesson…