There are ways to choose 2 student that get nothing. Each prize can be given to one of 2 remaining students. So total number of variants equals to (2 variants when one of the students gets all prizes. So answer for the first question is
To find the answer for the second question we need to add number of ways where 3 students get nothing that equals to 4 (when one of the students gets all prizes). So the answer is