In mathematics, calculation methods, discrete mathematics, mathematical analysis and other subjects are relatively useful to computer majors.
Of course, you must master at least one computer language.
The line generation is a simplified version of the higher generation you have learned.
Number one and number two are examination subjects for postgraduate entrance examination. Postgraduate entrance examination, according to your major, you will take different math subjects, generally from one of the best to four or four, and computer seems to be one of the best.