To determine the preferred food in a city in a survey, the sample of all the people in the city represents the population.