Answer:

Step-by-step explanation:
Here, we want to know what class does each reaction belong to
An exothermic reaction has heat given off. The temperature of the surroundings is raised as a result of that. In notation terms, the change in enthalpy is negative and heat is added to the product side of the equation of reaction
An endothermic reaction otherwise has heat absorbed. The temperature of the surroundings is reduced as a result. In notation terms, the change in enthalpy is positive and heat is added to the reactant side of the equation of reaction
From all of these, we conclude that:
a) Endothermic
b) Exothermic