Answer:
Depend on the rate of temperature applied.
Step-by-step explanation:
Liquid expands on heating.
When liquid is heated then there is an increase in the average speed of it's molecules as a result molecules starts moving faster and hence kinetic energy of the liquid also get increased. This kinetic energy is directly proportional to the temperature applied. So, increase in temperature result in increase in kinetic energy which reduces the inter-molecular force of fluid and as a result liquid expands.
Liquid contracts on cooling.
Fall in temperature results in reduced kinetic energy which in turn also decreases the kinetic energy of the molecules of liquid thereby increasing the inter-molecular force of attraction of fluid that's why liquid contracts on cooling.