If exactly $5$ pupils get the correct test, then exactly $3$ pupils must get the wrong test.  No. of ways to choose $5$ pupils to get the correct test is $$\frac{8 \times 7 \times 6 \times 5 \times 4}{5 \times 4 \times 3 \times 2 \times 1}-56.$$  To make sure that the other $3$ pupils get the wrong tests, the correct number is $2$.  Hence, the total no, of ways $=56 \times2=112$. 
Eight pupils from Victory Primary School take a Mathematics test, but none of the pupils wrote his/her name on the test. The tests are therefore handed back to the pupils at random. In how many ways can exactly $5$ of the $8$ pupils get the correct test back? 
Options:
a) $$30$$ 
b) $$36$$ 
c) $$56$$ 
d) $$112$$ 
e) None of the above 