Students were sampled in order to determine their support for the legalization of gambling in their community. A sample of 150 students were asked whether or not they supported legalization of gambling, and the following results were obtained.

Do You Support? Number Of
YES 40
NO 60
NO OPINION 50

a. The value of the chi-square test statistic equals _____?
b. The number of degrees of freedom associated with this scenario is _____?