Yes, for the first student, the examination needs to examine advanced mathematics, linear algebra, probability and mathematical statistics, and for the second student, the examination needs to examine advanced mathematics and linear algebra. Here, I suggest taking advanced mathematics first, then linear algebra, and then probability and mathematical statistics.
Advanced mathematics is the basis of linear algebra, probability theory and mathematical statistics. Advanced mathematics can provide a good learning method and thinking method for us to learn mathematics, so we must study first.