Exothermic+and+endothermic+changes

In an endothermic reaction (anything that goes in), the q of the system is positive; in an exothermic reaction (anything that goes out), the q of the system is negative.