The number of cans collected for recycling
If we plot the time (in hours) along x-axis and the number of cans along y-axis, then since this function accepts discrete values, the graph of this situation is discrete.
Pouring a glass of milk
If we plot the time (in secs) along x-axis, and the amount of milk poured along y-axis, then since the graph varies at each second, this situation is continuous.
The distance a car travels from a garage
If we plot the time (in secs) along x-axis, and the distance of the car along y-axis, then since the graph varies at each second, this situation is continuous.
The number of people in a restaurant
If we plot the time (in hours) along x-axis and the number of people along y-axis, then since this function accepts discrete values, the graph of this situation is discrete.