Continuous graphs are those which allow the x-value to be any point in a given interval. On the other hand, discrete graph allows only certain points to be the values of x in a given interval.
Both of the given situation above can be represented only by the discrete graph given that each will allow only certain points to be the values of x.