We give a Sturm-type comparison theorem and a convexity theorem for difference equations. We apply the convexity results to discrete orthogonal polynomials, such as the Hahn and Meixner polynomials by obtaining estimates on the second difference of their zeros. We show that the corresponding theorems for q-difference equations also hold, and present the results on the q-Laguerre polynomials.