\(a,CTTQ:Ba_x^{II}\left(SO_4\right)_y^{II}\\ \Rightarrow x\cdot II=y\cdot II\Rightarrow\dfrac{x}{y}=1\Rightarrow x=1;y=1\\ \Rightarrow BaSO_4\\ PTK_{BaSO_4}=137+32+16\cdot4=233\left(đvC\right)\\ b,CTTQ:Ba_x^{II}Cl_y^I\\ \Rightarrow x\cdot II=y\cdot I\Rightarrow\dfrac{x}{y}=\dfrac{1}{2}\Rightarrow x=1;y=2\\ \Rightarrow BaCl_2\\ PTK_{BaCl_2}=137+35,5\cdot2=208\left(đvC\right)\)
\(a,\%_O=\dfrac{4\cdot16}{233}\cdot100\%\approx27,47\%\\ b,\%_O=0\%\)