Skip to content
DenseChip
Learn
PracticeCode labInterview

DenseChip

Navigate

Menu

LearnPracticeCode labInterview

Tools

All toolsSV editorCode repoResume
DenseChip

Practice, courses, and chip-design tools in one focused workspace.

LearnPracticeCode labInterviewToolsLearning paths

© 2026 DenseChip

AboutContactPrivacyTerms
Skip to lesson

Course contents

  • How to Use This Puzzle Bank
  • SystemVerilog Language Puzzles25
  • Difficulty Guide
  • Full Topic Map
  • Interview-Day Tips
  • OOP & Testbench Puzzles25
  • Concurrency & Timing Puzzles25
  • Randomization & Constraint Puzzles25
  • SVA Assertion Puzzles25
  • Functional Coverage Puzzles25
  • Logic & Aptitude Puzzles25
    • Classic Brain Teasers
    • Probability Puzzles
      • Biased Coin to Fair Bit (Von Neumann)
      • Expected Tosses Until First HH
      • Two Children, At Least One Boy
      • Monty Hall Switching Odds
      • Birthday Collision Threshold
      • Bayes on Failing Test Alerts
    • Digital Logic Puzzles
    • Debugging Riddles
    • Logic & Aptitude Puzzles: Tricky Q&A
  • Scenario & Debug Puzzles25
  • Interview Prep: Puzzle Rounds5
  • DV Puzzle Cheatsheet
Loading lesson

‹Probability Puzzles
  1. Topics
  2. DV Interview Puzzles
  3. Logic & Aptitude Puzzles
  4. Probability Puzzles
  5. Two Children, At Least One Boy

VLSI DV Interview Puzzles · All levels

Two Children, At Least One Boy

A family has two children. Given that at least one child is a boy, what is P(both are boys)? Assume boy/girl equally likely and independent.

On this page

    Puzzle

    Difficulty: Easy · Puzzle 3 of 6 · Topic: Probability Puzzles

    A family has two children. Given that at least one child is a boy, what is P(both are boys)? Assume boy/girl equally likely and independent.

    Hint

    Write conditioned sample space explicitly.

    Step-by-step solution

    Diagram
    1) Unconditioned equiprobable outcomes: BB, BG, GB, GG.
    2) Condition 'at least one boy' removes GG.
    3) Remaining equally likely outcomes: BB, BG, GB.
    4) Only BB satisfies 'both boys'.
    5) Therefore probability is 1/3.

    Answer

    Answer: P(both boys | at least one boy) = 1/3.

    Why candidates get it wrong

    Answering 1/2 by assuming the other child is independent without conditioning.

    Interviewer follow-up

    How does answer change if condition is 'older child is a boy'?

    Related topics

    • Back to Probability Puzzles

    • Logic & Aptitude Puzzles section

    Previous

    163 / 210

    Next: Monty Hall Switching Odds

    Up next

    Up nextMonty Hall Switching Odds

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • Biased Coin to Fair Bit (Von Neumann)
    • Birthday Collision Threshold
    • Bayes on Failing Test Alerts