How many moles of o2 molecules are there in 50dm3 of o2 gas at STP?

A cubic decimeter is a liter, so we're talking 50L of oxygen gas at STP. 1mol of any gas at STP occupies 22.4L of space, so 50/22.4 = about 2.2mol of oxygen.