Which statement describes how a basic coffee cup calorimeter works?

Which statement describes how a basic coffee cup calorimeter works?

a) It measures the mass of a substance given the specific heat and temperature of water in a cup of known size.

b) It measures the density of a substance given the mass, specific heat, and temperature of water in a cup of known size.

c) It uses the mass and specific heat of water along with a pressure gauge to measure the gain or loss of energy when a substance is added.

d) It uses the mass and specific heat of water along with a thermometer to measure the gain or loss of energy when a substance is added.