(a) In hydrogen the energy depends only on n:
E(3d)=−322.18×10−18=−2.42×10−19 J,E(4s)=−422.18×10−18=−1.36×10−19 J
3d is lower than 4s in hydrogen, by (−1.36×10−19)−(−2.42×10−19)=1.06×10−19 J. So the student's word "always" is wrong.
(b) Potassium has many electrons, and orbital energy then depends on both n and l. A 4s electron spends part of its time close to the nucleus, inside the inner shells, so it is shielded less and feels a larger effective nuclear charge than a 3d electron does. In terms of the (n+l) rule, 4s has n+l=4 and 3d has n+l=5, so 4s is lower and is filled first.
(c) 3d is filled first. Both have n+l=5 (3+2 and 4+1), and when (n+l) is equal, the orbital with the smaller n has the lower energy. So 3d fills before 4p, which is why the 3d series (Sc to Zn) comes before Ga to Kr in period 4.