Answer
a. Not necessarily.
b. Yes.
Work Step by Step
a. Heat will naturally flow from the hot object (higher temperature) to the cold object. The internal energy depends on the amount of substance and the temperature of the substance. The hot object is not necessarily the object with the higher internal energy. For example, a hot brick will have less internal energy than all the water in a swimming pool.
b. It’s possible for a small object to have the same internal energy as a larger, cooler object. Heat will flow from the hot object to the cool one. For example, a hot brick could have the same internal energy as all the cold water in a bucket.