ITPEC IP October 2024 Question 4

Source exam: ITPEC IP October 2024Topic: Basic Theory

ITPEC IP October 2024 — Question 4 of 100

There are 9 shortest paths from A1 to D4 via C2. The figure already shows that three shortest routes lead from A1 to C2. From C2 to D4, a shortest route must move two columns right and one row up, in any order. The three possible orders are right-right-up, right-up-right, and up-right-right.

Each of the three first segments can be combined with each of the three second segments. By the multiplication principle, the total is 3 × 3 = 9.

Answer (b)

Why not others:
- (a) 6 adds the two counts instead of combining independent path choices

- (c) 12 and (d) 20 count routes that are not shortest or overcount the allowed combinations

Key rule: For a route required to pass through a fixed node, multiply the number of shortest paths to that node by the number from that node to the destination.

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.