Given that 277J of heat are absorbed when 1.12g of sodium nitrate are dissolved in water, calculate the heat of reaction.

q = 277 J

qrxn = 277/1.12 = ? J/g.
If you want it in J/mol, then
(J/g) x molar mass = ? J/mol.