Answer:
A) The chi-square goodness-of-fit test can only be used on counts, weights are quantitative, not counts.
B) Count the number of each kind of nut, assuming the company's percentages are based on counts rather than weights.
Explanation:
The Test of Goodnes for fit is based on the property that the χ² test is applicable when the cell probabilities depend on unknown parameters, provided that the unknown parameters are replaced with their estimates and provided that the one degree of freedom is deducted from each parameter estimated.
1) So if the estimates ( counts) are missing the test is not applicable.
2) Percentages if treated as counts can be used for the χ² test.