He travelled 250 m four times: home to shop, shop to home, home to shop and shop to home. Therefore, total distance = 1000 m. Since he returned home, displacement = 0 m.
Home/class 9 science chapter 4 describing motion around us solutions