{
  "id": "SNAPIMP-2023-S1-Q30",
  "exam": "SNAP",
  "year": 2023,
  "slot": "SNAP 2023 Slot 1",
  "official_slot": null,
  "question_no": 30,
  "section": "Logic",
  "sub_section": null,
  "topic": null,
  "sub_topic": null,
  "difficulty": "Hard",
  "ideal_time_seconds": 120,
  "set": null,
  "context_text": null,
  "question_text": "7 people A-G live on floors 1-7 (1 is bottom). 1) D lives on floor 4. 2) Two people live between D and G. 3) A lives on an odd-numbered floor above D. 4) Only one person lives between A and C. 5) B lives immediately above C. 6) E lives on an odd-numbered floor below D. 7) If A lives on the top floor, then G does not live on an even floor. Who lives on floor 6?",
  "question_html": "<p>7 people A-G live on floors 1-7 (1 is bottom). 1) D lives on floor 4. 2) Two people live between D and G. 3) A lives on an odd-numbered floor above D. 4) Only one person lives between A and C. 5) B lives immediately above C. 6) E lives on an odd-numbered floor below D. 7) If A lives on the top floor, then G does not live on an even floor. Who lives on floor 6?</p>",
  "figures": [],
  "options": [
    {
      "id": "A",
      "text": "F",
      "html": "F",
      "image": null
    },
    {
      "id": "B",
      "text": "A",
      "html": "A",
      "image": null
    },
    {
      "id": "C",
      "text": "B",
      "html": "B",
      "image": null
    },
    {
      "id": "D",
      "text": "C",
      "html": "C",
      "image": null
    }
  ],
  "answer": {
    "key": "C",
    "text": "B",
    "official_key": "C",
    "cetking_key": null
  },
  "answer_verified": false,
  "solution_text": "Step 1: D = 4. Two people between D and G: G = 1 or 7. Step 2: A on an odd floor above 4: A = 5 or 7. E on an odd floor below 4: E = 1 or 3. Step 3: Try G = 7: then A = 5; one person between A and C gives C = 3 or 7, and 7 is G so C = 3; B immediately above C would be floor 4 = D. Contradiction, so G = 1. Step 4: G = 1 forces E = 3. Step 5: If A = 5: C = 3 (taken by E) or 7; C = 7 puts B on floor 8, impossible. So A = 7. Clue 7: A on top means G is not on an even floor; G = 1, fine. Step 6: One between A(7) and C: C = 5. B immediately above C: B = 6. F takes floor 2. Step 7: Floor 6 = B. Why not the others: A) F is on floor 2. / B) A is on floor 7. / D) C is on floor 5. Quick check: Floors 1 G, 2 F, 3 E, 4 D, 5 C, 6 B, 7 A: two between D and G, A odd above D, one between A and C, B directly above C, E odd below D, G odd - all clues hold. Correct answer: C.",
  "solution_html": "Step 1: D = 4. Two people between D and G: G = 1 or 7. Step 2: A on an odd floor above 4: A = 5 or 7. E on an odd floor below 4: E = 1 or 3. Step 3: Try G = 7: then A = 5; one person between A and C gives C = 3 or 7, and 7 is G so C = 3; B immediately above C would be floor 4 = D. Contradiction, so G = 1. Step 4: G = 1 forces E = 3. Step 5: If A = 5: C = 3 (taken by E) or 7; C = 7 puts B on floor 8, impossible. So A = 7. Clue 7: A on top means G is not on an even floor; G = 1, fine. Step 6: One between A(7) and C: C = 5. B immediately above C: B = 6. F takes floor 2. Step 7: Floor 6 = B. Why not the others: A) F is on floor 2. / B) A is on floor 7. / D) C is on floor 5. Quick check: Floors 1 G, 2 F, 3 E, 4 D, 5 C, 6 B, 7 A: two between D and G, A odd above D, one between A and C, B directly above C, E odd below D, G odd - all clues hold. Correct answer: C.",
  "g_strategy": {
    "note": "Cetking™'s famous G Strategy: Sacred Art of Shortcut & Sacred Art of Tukka Shortcut — available after login on cetking.com.",
    "login_url": "https://cetking.com/login/",
    "page_url": "https://cetking.com/snap-2023-slot-1-q30-people-a-g-live-on-floors/#q-SNAPIMP-2023-S1-Q30"
  },
  "page_url": "https://cetking.com/snap-2023-slot-1-q30-people-a-g-live-on-floors/#q-SNAPIMP-2023-S1-Q30",
  "json_url": "https://cetking.com/api/snap/q/SNAPIMP-2023-S1-Q30.json",
  "publisher": {
    "name": "Cetking",
    "url": "https://cetking.com"
  }
}