Discrete approximations of continuous and mixed measures on a compact interval