To find the probability of getting exactly 3 heads when 3 fair coins are flipped, we need to determine the number of favorable outcomes (outcomes with 3 heads) and divide it by the total number of possible outcomes.
From the sample space given, we can see that there is only one outcome with 3 heads: HHH.
The total number of possible outcomes is 2^3 = 8, as each coin can land in either heads or tails, and there are 3 coins.
Therefore, the probability of getting exactly 3 heads when 3 fair coins are flipped is 1/8.