what is the molarity of a 50% by mass solution of NaOH id the density of the solution is 1.05 g/ml

50% by mass means

50 g NaOH/100 g solution.
moles NaOH = grams/molar mass.
100 g solution has volume = 100/1.05
mols/L = M.