By signing in you confirm you are 18 or older, or have your parent’s or guardian’s consent.

UPSC Prelims 2017 CSAT, question 77

Topic: Arrangements and puzzles

Passage · Q76 to Q78

Consider the given information and answer the three items that follow.

Eight railway stations A,B,C,D,E,F,GA, B, C, D, E, F, G and HH are connected either by two-way passages or one-way passages. One-way passages are from CC to AA, EE to GG, BB to FF, DD to HH, GG to CC, EE to CC and HH to GG. Two-way passages are between AA and EE, GG and BB, FF and DD, and EE and DD.

Q77

In how many different ways can a train travel from FF to AA without passing through any station more than once?

  1. (a) 1
  2. (b) 2
  3. (c) 3
  4. (d) 4Correct answer

Solution.

Answer: (d) 4

  1. From station FF, the only outgoing passage is F→DF \to D (since B→FB \to F is one-way into FF). From DD, the train can proceed either to HH or to EE without repeating any station.
  2. Enumerating all simple paths from FF to AA: (1) F→D→H→G→C→AF \to D \to H \to G \to C \to A; (2) F→D→E→G→C→AF \to D \to E \to G \to C \to A; (3) F→D→E→C→AF \to D \to E \to C \to A; and (4) F→D→E→AF \to D \to E \to A (going G→B→FG \to B \to F would repeat FF). This gives exactly 44 different ways (d).