Question 971882
We are dealing with two rows, 7 vacant seats, and 4 students. There is no comment about the order in which the students sit in each row or the gender of the other students.  It is an issue of picking 4 people to fill 7 different slots.

Therefore, it is 7C4=35 different ways.