Seven boxes A, B, C, D, E, F and G are kept one over the other but not…

2025

Seven boxes A, B, C, D, E, F and G are kept one over the other but not necessarily in the same order. Only four boxes are kept between G and A. Only C is kept above G. Only two boxes are kept between B and F. D is kept immediately above E. F is not kept immediately above D. How many boxes are kept above E?

  1. A.

    5

  2. B.

    3

  3. C.

    4

  4. D.

    2

Show answer & explanation

Correct answer: C

Concept

In a floor/level-based (vertical stacking) arrangement, all seven boxes occupy one fixed column of positions. A clue phrased as "only K boxes are between/above X" pins an exact position once combined with the total box count, while "immediately above/below" and "K boxes between" clues fix relative order among the remaining boxes. Solve by anchoring every exact-position clue first, then testing each valid relative-order combination against the remaining clues to eliminate all but one arrangement.

Application

  1. Fix the seven positions from bottom (1) to top (7).

  2. "Only C is kept above G" means exactly one box sits above G, so G occupies position 6 and C occupies position 7 (the topmost slot).

  3. "Only four boxes are kept between G and A" means the positions of G and A differ by 5 (4 boxes strictly between them, plus 1 more step). With G at position 6, A must be at position 1 (position 11 does not exist).

  4. The remaining boxes B, D, E and F now occupy positions 2, 3, 4 and 5 in some order.

  5. "D is kept immediately above E" restricts D and E to one of three adjacent pairs within {2, 3, 4, 5}: (E=2, D=3), (E=3, D=4), or (E=4, D=5).

  6. "Only two boxes are kept between B and F" means the positions of B and F differ by 3. Testing (E=2, D=3) leaves {4, 5} for B and F — a difference of only 1, so this pair fails. Testing (E=4, D=5) leaves {2, 3} for B and F — again a difference of only 1, so this pair also fails.

  7. Only (E=3, D=4) survives: it leaves {2, 5} for B and F, and 5 − 2 = 3, satisfying the "two boxes between B and F" clue.

  8. "F is not kept immediately above D" rules out F occupying position 5 (which would be immediately above D at position 4). So F takes position 2, and B takes the remaining position 5.

  9. The complete order from bottom to top is: A (1), F (2), E (3), D (4), B (5), G (6), C (7).

Cross-check

  • G (position 6) and A (position 1): the boxes at positions 2–5 (F, E, D, B) sit between them — exactly four, matching the first clue.

  • Above G (position 6): only position 7 (C) — matching the second clue.

  • B (position 5) and F (position 2): the boxes at positions 3–4 (E, D) sit between them — exactly two, matching the third clue.

  • D (position 4) is immediately above E (position 3), matching the fourth clue.

  • F (position 2) is two positions below D (position 4), so F is not immediately above D — matching the fifth clue.

Result

E is at position 3, so the boxes above E are D, B, G and C — 4 boxes.

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…