A, B, C, D, E, F and G are travelling in a train compartment with III-tier…

2025

A, B, C, D, E, F and G are travelling in a train compartment with III-tier A.C. berths. Each of them has a different profession among Engineer, Doctor, Architect, Pharmacist, Lawyer, Journalist and Pathologist. They occupied two lower berths, three middle berths and two upper berths. A, the Engineer, is not on the upper berth. The Architect is the only other person who occupies the same type of berth as A. B and F are not on the middle berth, and their professions are Pathologist and Lawyer respectively. C is a Pharmacist. G is neither a Journalist nor an Architect. E occupies the same type of berth as the Doctor. Which of the following groups occupies the middle berth?

  1. A.

    GED

  2. B.

    GFC

  3. C.

    FEC

  4. D.

    GEC

Attempted by 1 students.

Show answer & explanation

Correct answer: D

In capacity-constrained arrangement puzzles, first lock the groups forced by seat capacity (a clue like “the only other person sharing X's slot-type” fixes a 2-seat group), then use direct exclusions to fill the remaining fixed-size groups, and only at the end resolve individual identities using the profession clues.

  1. There are 2 lower berths, 3 middle berths and 2 upper berths (7 berths for 7 people).

  2. A (the Engineer) is not on the upper berth. The Architect is described as “the only other person” occupying the same berth type as A — this phrasing fits only a 2-seat berth type, so A and the Architect must be the two lower-berth occupants.

  3. B (Pathologist) and F (Lawyer) are both excluded from the middle berths. Since the two lower berths are already taken by A and the Architect, B and F must occupy the two upper berths.

  4. C is a Pharmacist and has not yet been placed on a berth, so C must be one of the three middle-berth occupants.

  5. The Architect cannot be B (Pathologist), C (Pharmacist) or F (Lawyer), since those professions are already assigned, and G is explicitly stated not to be the Architect. That leaves D as the Architect, confirming the lower berths hold A and D.

  6. With D confirmed as the lower-berth Architect, the three middle-berth occupants are exactly the people left over: C, E and G.

  7. E occupies the same berth type as the Doctor. Since E is in the middle group, the Doctor must also be in the middle group. Among the middle occupants, C is already the Pharmacist, so the Doctor is either E or G. G is stated not to be the Journalist, and the two professions still unassigned are Doctor and Journalist, so G must be the Doctor and E must be the Journalist — both consistent with sitting in the middle berths.

Final layout, checked against every clue in the puzzle:

Berth type

Occupants

Professions

Lower

A, D

Engineer, Architect

Middle

C, E, G

Pharmacist, Journalist, Doctor

Upper

B, F

Pathologist, Lawyer

The three people in the middle berths are C, E and G.

Explore the full course: Tcs Live Preparation