Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Examinations, December 2017 — 04-BS-2 Probability and Statistics, 2 hours, closed book except one hand-written information sheet and an approved calculator. Eight questions of equal value; the exam instructs "any 5 questions constitute a complete paper," but all 8 are answered here as a full study resource.
Reference texts: Walpole, Myers, Myers & Ye, Probability & Statistics for Engineers and Scientists (9th ed.) — used throughout for distribution theory, estimation, and hypothesis-testing procedures.
Find. (A)(a) Test $H_0: p=0.64$. (A)(b) Sample size for error 0.01 at 99% confidence. (B)(a) Test $H_0: \mu=155{,}000$. (B)(b) Sample size for error 400 at 99% confidence.
Approach. Use the large-sample $Z$-test for a proportion and for a mean, then invert the margin-of-error formula ($E=z\sqrt{pq/n}$ or $E=z\sigma/\sqrt{n}$) to solve for the required $n$, rounding up to the next integer.
6(A)(a) Test H₀: p = 0.64. $\hat{p}=1000/1600=0.625$:
$$Z = \frac{\hat{p}-p_0}{\sqrt{p_0q_0/n}} = \frac{0.625-0.64}{\sqrt{0.64(0.36)/1600}} = \frac{-0.015}{0.012} = -1.25.$$
Since $z_{0.025}=1.96$ and $|-1.25|<1.96$, we fail to reject H₀ — the proportion is not significantly different from 0.64.
6(A)(b) Sample size for error 0.01, 99% confidence. Using $p_0=0.64$ as the planning value and $z_{0.005}=2.576$:
$$n = \frac{z_{0.005}^2\,p_0q_0}{E^2} = \frac{(2.576)^2(0.64)(0.36)}{(0.01)^2} = 8850.7 \Rightarrow \boxed{n=8{,}851}.$$
6(B)(a) Test H₀: μ = 155,000.
$$Z = \frac{160{,}000-155{,}000}{24{,}000/\sqrt{1600}} = \frac{5{,}000}{600} = 8.33.$$
Since $|8.33|\gg 1.96$, we reject H₀ at α=0.05 — with this large a sample, even a modest USD 5,000 gap is highly statistically significant: the true mean salary is significantly different from (higher than) USD 155,000.
6(B)(b) Sample size for error USD 400, 99% confidence. Using $s=24{,}000$ as the planning σ and $z_{0.005}=2.576$:
$$n = \left(\frac{z_{0.005}\,\sigma}{E}\right)^2 = \left(\frac{2.576(24{,}000)}{400}\right)^2 = 23{,}885.6 \Rightarrow \boxed{n=23{,}886}.$$