ITPEC IP October 2018 Question 6

Source exam: ITPEC IP October 2018Topic: Algorithm and Programming

ITPEC IP October 2018 — Question 6 of 100

After two executions, the system reaches state 4. Starting at state 1, 1*11 mod 3 is 2, so the rule moves two states clockwise: state 1 to state 3. Next, 3*11 mod 3 is 0, so it moves one state clockwise: state 3 to state 4.

Answer (d)

Why not others:
- states 1 and 2 are not reached after applying both transitions

- state 3 is only the intermediate state after the first execution

Key rule: Recalculate the remainder from the current state after every transition; do not reuse the remainder from the starting state.

AI-generated — may contain errors

The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.

This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official IP past-paper collection or Report an issue.