What can we say about the temperature change of a sample of water when the value of q is negative?
The temperature of the water increased.
The temperature of the water decreased.
It depends on whether mass and specific heat values are positive or negative.