\(\begin{array}{c|c} Values & 0 & 1 & 2 & 3 & 4 \\ \hline Frequency…