Theoretical yield = 0.10 g of hydrogen gas. % yield = 80%
The first thing you need to do when you see this sort of problem is write down the balanced chemical equation. In this case, you are reacting water with sodium metal. In general, alkali metals will react with water to produce the alkali metal hydroxide (and hydrogen):
From this you get the mole ratio of sodium to hydrogen gas by examining the coefficients of the balanced chemical equation:
2 moles of sodium metal will yield one mole of hydrogen gas.
So how much sodium do we have to start with?
We therefore will produce:
And then, finally, How many grams of hydrogen is that?
Now we can only use 2 significant figures, so the final theoretical yield is 0.10 g of hydrogen gas.
The % yield is simply the actual yield (0.080 g) divided by the theoretical yield (0.10 g) multiplied by 100 %:
Theoretical Yield is 0.10g
The Percent Yield is 79%
First, We know that
So the Sodium to Hydrogen gas
First lets convert our Sodium to Moles.
Now we will apply the Mole ratio to figure out the theoretical yield (in mol) of the Hydrogen gas.
Lets turn this into grams
So 0.10g is the Theoretical yield (with significant figures  )
The percent yield is the actual (experimental) yield divided by the theoretical.
The percent yield is 79% with 2 sig-figs. Your teacher may say it is 80%; I would tell him/her to not apply sig-figs until the answer.