Answer: a) -0.2252, b) 0.8219
Step-by-step explanation:
Since we have given that
Sample size n = 100
Probability that candies are blue = p= 0.26
Probability that company claims that it is blue candy = P = 0.27
So, Q = 1-P= 1-0.27 = 0.73
So, Null hypothesis : 
Alternate hypothesis : 
So, the test statistic would be

Since α = 0.05
So, critical value of z = 1.96
p-value = P(Z>Z(calculated)
Using the excel function , we get that

Hence, a) -0.2252, b) 0.8219