In an ANOVA test, the degree of freedom for between-group (numerator) is equal to the number of groups minus 1, and the degree of freedom for within-group (denominator) is equal to the total number of cases minus the number of groups.
In this case, there are three groups, so the degree of freedom for between-group is 3 - 1 = 2. The total number of cases is 30, and since there are three groups, the degree of freedom for within-group is 30 - 3 = 27.
Therefore, the correct answer is:
a) 2 and 27.