Which of the following scenarios describes the use of a paired ttt-test?
Comparing the test scores of two different classes of students.
Comparing the weights of patients before and after a specific diet program.
Testing if the proportion of males and females in a sample differs from 0.5.
Testing if the mean height of a sample is equal to the national average.