\(\begin{array}{c|c} Marks & 2 & 3 & 4 \\ \hline Frequency & 4 & 4…