In order to ensure the quality of teaching in universities, this article uses the TOPSIS comprehensive evaluation algorithm to help analyze the learning attitude of school students, as well as the class atmosphere and academic atmosphere of the college. At the same time, a list of five classes with the best academic atmosphere, three colleges, and sixty students with positive and negative learning attitudes were selected. Firstly, this article conducts a quantitative analysis of the scores and participation in the tests of 9048 students. The article identifies three factors that reflect students' learning attitudes: average test score, standard deviation, and participation rate in the tests. Then, based on student test data, an evaluation model reflecting the academic atmosphere, class atmosphere, and student enthusiasm of the college was established based on student performance information. The model results were ranked to obtain the ranking of model scores for each college, class, and student. By studying student data and quantifying the characteristics that reflect their learning attitudes, three indicators that can effectively reflect student attitudes and enthusiasm were established by analyzing the attached data. When assigning weights to factors, it is necessary to consider the importance of the factor in describing student attitudes, and make judgments and trade-offs based on specific situations. In response to this situation, although the standard deviation can reflect the stability of students' grades, it is greatly limited by the number of tests, while test completion and average score can better reflect students' learning attitude and performance. Therefore, subjective weighting method can be considered to assign weights to these three indicators, which are average score, standard deviation, and test participation rate, respectively; 0.3, 0.2, 0.5. By using the TOPSIS method and combining three indicators, establish an evaluation model for the academic atmosphere of the college, a class atmosphere evaluation model, and a student motivation evaluation model. Finally, evaluate the academic atmosphere of each college, class atmosphere, and the learning enthusiasm of each student. Based on the evaluation results of the model, this article selected a list of five classes with the best academic atmosphere, three colleges, and sixty students with positive and negative learning attitudes.