Answer:
A) Energy is dissipated into heat and sound energy due to Friction
B) The energy goes into heat and sound energy due to friction again, otherwise the cart would accelerate due to an unbalanced force. Therefore, we know there's friction, and the friction causes energy loss.