All Exams Test series for 1 year @ ₹349 only
Question

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 A and E. Only G is kept above A. Only two boxes are kept between B and C. D is kept immediately above F. C is not kept immediately above D. How many boxes are kept above D?

The correct answer is
Three

Seven Boxes Arrangement Logic Puzzle

This problem requires us to determine the vertical order of seven boxes (A, B, C, D, E, F, G) based on a set of clues and then find out how many boxes are placed above box D.

Analyzing the Arrangement Constraints

Let's break down the given conditions:

  • There are 7 boxes stacked one above the other. We can represent their positions from 1 (top) to 7 (bottom).
  • 4 boxes between A and E: This means there are 5 levels separating A and E. Possible position pairs (absolute difference) are 5, e.g., (1, 6) or (2, 7).
  • G is kept above A: The position number of G must be smaller than the position number of A (Pos(G) < Pos(A)).
  • 2 boxes between B and C: This means there are 3 levels separating B and C. This implies arrangements like B _ _ C or C _ _ B.
  • D is kept immediately above F: This forms a fixed block 'DF', meaning D is at position $p$ and F is at position $p+1$.
  • C is not kept immediately above D: C cannot be at position $p$ if D is at position $p+1$.

Determining Possible Positions for A and E

Given 7 positions, the 5-level separation (4 boxes between) for A and E means they must occupy position pairs with a difference of 5. The only possible pairs are (1, 6) and (2, 7).

We need to consider the constraint that G must be above A.

  • Case (A, E) = (1, 6): If A is at position 1, G cannot be above A. This case is invalid.
  • Case (E, A) = (1, 6): E at 1, A at 6. Arrangement: $E _ _ _ _ A _$. This is possible.
  • Case (A, E) = (2, 7): A at 2, E at 7. Arrangement: $_ A _ _ _ _ E$. This is possible.
  • Case (E, A) = (2, 7): E at 2, A at 7. Arrangement: $_ E _ _ _ _ A$. This is possible.

So, the valid pairs for (A, E) or (E, A) are (1, 6), (2, 7), and (7, 2).

Evaluating Arrangement Scenarios

Let's test the potential arrangements systematically.

Scenario 1: A at position 2, E at position 7

Arrangement: $_ A _ _ _ _ E$ (Positions 1 to 7).

  1. Place G: Since G must be above A (Pos(G) < Pos(A)=2), G must be at position 1. Arrangement: $G A _ _ _ _ E$.
  2. Available Slots: Positions 3, 4, 5, 6 remain for boxes B, C, D, F.
  3. Fit Blocks: We need to place the 'DF' block (2 adjacent boxes) and satisfy the B _ _ C / C _ _ B condition (which requires 4 slots total). These four boxes (B, C, D, F) must fit within the 4 available slots (3, 4, 5, 6).
  4. Analysis:
    • If we place the B/C structure, it takes all 4 slots. There is no room left for the adjacent 'DF' block. For example, if B is at 3 and C is at 6 (B _ _ C), slots 4 and 5 are between them. This leaves slots 3, 4, 5, 6 occupied by B, {box}, {box}, C. We still need to place D and F adjacently. This is impossible within this constraint.

This scenario (A=2, E=7) cannot satisfy all conditions.

Scenario 2: E at position 1, A at position 6

Arrangement: $E _ _ _ _ A _$ (Positions 1 to 7).

  1. Available Slots: Positions 2, 3, 4, 5, 7 are available for G, B, C, D, F.
  2. Constraint Check: G must be above A (Pos(G) < 6). So G can be in 2, 3, 4, 5.
  3. Fit Blocks: The B/C structure requires 4 slots. The only way to fit it is using positions 2, 3, 4, 5. Arrangement: $E [B/C block] A _$.
  4. Analysis:
    • If B/C occupies slots 2, 3, 4, 5, then G, D, F must fit in slot 7 and potentially others if B/C arrangement isn't contiguous. But the requirement is '2 boxes between B and C', implying B _ _ C. This takes 4 slots. The remaining slot is 7. We also need to place D and F adjacently.
    • Try placing DF first:
      • DF at (2,3): $E D F _ _ A _$. Slots 4, 5, 7 left for G, B, C. Can't fit B _ _ C.
      • DF at (3,4): $E _ D F _ A _$. Slots 2, 5, 7 left for G, B, C. Can't fit B _ _ C.
      • DF at (4,5): $E _ _ D F A _$. Slots 2, 3, 7 left for G, B, C. Can't fit B _ _ C.
    • Furthermore, G must be above A. If B/C block is in 2,3,4,5, G cannot be placed. If G takes slot 2, then B/C cannot be placed. This scenario is impossible.

This scenario (E=1, A=6) cannot satisfy all conditions.

Scenario 3: E at position 2, A at position 7

Arrangement: $_ E _ _ _ _ A$ (Positions 1 to 7).

  1. Available Slots: Positions 1, 3, 4, 5, 6 are available for G, B, C, D, F.
  2. Place B/C Structure: The B _ _ C or C _ _ B structure requires 4 slots. The only possibility is positions 3, 4, 5, 6. Arrangement: $_ E [B/C block] A$.
  3. Subcase 3.1: B at 3, C at 6 (B _ _ C structure)
    • Partial Arrangement: $_ E B _ _ C A$.
    • Remaining slots: 1, 4, 5. Remaining boxes: G, D, F.
    • Place DF: The DF block must be placed adjacently. Slots (4, 5) are available. Arrangement: $_ E B D F C A$.
    • Place G: The only remaining slot is 1. Arrangement: $G E B D F C A$.
    • Verify Constraints:
      • 7 boxes: Yes.
      • 4 between A(7) and E(2): Yes (B, D, F, C in slots 3, 4, 5, 6).
      • G(1) above A(7): Yes.
      • 2 between B(3) and C(6): Yes (D, F in slots 4, 5).
      • D(4) immediately above F(5): Yes.
      • C(6) not immediately above D(4): Yes.
      This arrangement is valid.
  4. Subcase 3.2: C at 3, B at 6 (C _ _ B structure)
    • Partial Arrangement: $_ E C _ _ B A$.
    • Remaining slots: 1, 4, 5. Remaining boxes: G, D, F.
    • Place DF: The DF block must go in slots (4, 5). Arrangement: $_ E C D F B A$.
    • Place G: The only remaining slot is 1. Arrangement: $G E C D F B A$.
    • Verify Constraints:
      • 7 boxes: Yes.
      • 4 between A(7) and E(2): Yes (C, D, F, B in slots 3, 4, 5, 6).
      • G(1) above A(7): Yes.
      • 2 between C(3) and B(6): Yes (D, F in slots 4, 5).
      • D(4) immediately above F(5): Yes.
      • C(3) not immediately above D(4): Yes.
      This arrangement is also valid.

Calculating Boxes Above D

We found two possible valid arrangements:

  1. Top to Bottom: G, E, B, D, F, C, A
  2. Top to Bottom: G, E, C, D, F, B, A

In both arrangements, D is located at the 4th position from the top.

The boxes above D are those in positions 1, 2, and 3.

Therefore, there are 3 boxes kept above D.

Was this answer helpful?

Important Questions from Box Puzzle

  1. 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 C and F. Only A is kept above C. Only two boxes are kept between D and E. G is kept immediately above B. E is not kept immediately above G. How many boxes are kept above G?

  2. Seven boxes F, G, H, I, K, L, and O are kept one over the other but not necessarily in the same order. Only three boxes are kept below H. Only two boxes are kept between H and O. Only L is kept above G. F is kept at some place below I and at some place above K. Which box is kept at second position from the bottom?

  3. Seven boxes F, G, H, M, N, O and P are kept one over the other but not necessarily in the same order. Only two boxes are kept below O. Only one box is kept above N. Only one box is kept between N and H. G is kept immediately above M. F is kept at some place below P. How many boxes are kept between P and G?
  4. Seven boxes A, B, C, D, E, F and G are kept one over the other but not necessarily in the same order. Only three boxes are kept above A. Only one box is kept between F and A. Only three boxes are kept between F and E. E is kept at some place above A. B is kept immediately below E. G is kept at one of the places above D. C is not kept immediately above or below F. How many boxes are kept above B?
  5. Seven boxes A, B, C, D, E, F and G are kept one over the other but not necessarily in the same order. Only two boxes are kept between G and A. Only F is kept above B. No box is kept below A. E is kept at some place below C but at some place above D. How many boxes are kept between D and F?
Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App