Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Examinations, December 2016 — 04-BS-2, Probability and Statistics (2 hours, closed book except one hand-written information sheet and an approved calculator; any 5 of 8 questions constitute a complete paper — all 8 are answered here as a full study resource).
Reference texts: Walpole, Myers, Myers & Ye, Probability & Statistics for Engineers and Scientists, 9th ed. (Pearson) — sampling distributions, binomial/Poisson/hypergeometric models, confidence intervals, hypothesis tests, correlation and simple linear regression.
The printed domain is incomplete (it shows only "0 otherwise", with no lower or upper bound given). $12+y-y^2=-(y-4)(y+3)$ is non-negative exactly on $-3\le y\le4$; taking $y(12+y-y^2)\ge0$ additionally requires $y\ge0$, which restricts the valid support to $0\le y\le4$ (the factor vanishes at both endpoints, consistent with a proper pdf). $0<y<4$ is used throughout below as the reconstructed support.
Given. $f(y)=ky(12+y-y^2)$ on $0<y<4$, zero elsewhere.
Find. (a) $k$ and the graph of $f$; (b) $E(Y)$; (c) $\text{Var}(Y)$; (d) $F(y)$ and its graph.
Approach. Normalize $f$ by requiring $\int_0^4 f(y)\,dy=1$ to get $k$, then integrate $y\,f(y)$ and $y^2 f(y)$ for the moments, and integrate $f$ from 0 to $y$ for the cdf.
(a) Normalize to find k. $\displaystyle\int_0^4 y(12+y-y^2)\,dy=\int_0^4\left(12y+y^2-y^3\right)dy=\left[6y^2+\frac{y^3}{3}-\frac{y^4}{4}\right]_0^4=96+21.333-64=53.333=\frac{160}{3}$. Setting $k\cdot\frac{160}{3}=1$ gives $\boxed{k=\dfrac{3}{160}=0.01875}$.
(d) Cumulative distribution function. $F(y)=k\displaystyle\int_0^y t(12+t-t^2)\,dt=k\left(6y^2+\frac{y^3}{3}-\frac{y^4}{4}\right)$ for $0\le y\le4$, with $F(y)=0$ for $y<0$ and $F(y)=1$ for $y>4$. Substituting $k=3/160$: $\boxed{F(y)=0.01875\left(6y^2+\dfrac{y^3}{3}-\dfrac{y^4}{4}\right),\ 0\le y\le4}$. Check: $F(4)=0.01875(96+21.333-64)=0.01875(53.333)=1.000$, as required.
Fig. 4a — pdf f(y), 0<y<4 (peak near y≈2.16, the mean).
Fig. 4d — cdf F(y), monotone increasing from 0 to 1 on [0,4].