There are 9 courses available out of which, 2 specific courses are compulsory for every student.
Therefore, every student has to choose 3 courses out of the remaining 7 courses. This can be chosen in 7C3 ways.
Thus, required number of ways of choosing the programme

= 35