Due to the pandemic that is currently being experienced worldwide, educational institutions (HEIs) have had to reinvent and innovate the mode of teaching, in order to continue the process of training students at all educational levels. Higher education has not been immune to this situation, the institutions of this educational level face various challenges in remote teaching: one of them, perhaps the most important, was to answer the question: How to get the student to continue their undergraduate studies remotely? In this sense, it was necessary, on the part of the students and the teachers, a preparation to go from the face-to-face to the virtual mode. This paper addresses the specific case of the analysis of the teaching-learning process of the Teaching-Learning Unit (UEA for its acronym in Spanish) of Structured Programming and Numerical Methods for Engineering at the undergraduate level, at the Universidad Autónoma Metropolitana, Unidad Azcapotzalco (UAM-A) and its relation to the student's way of thinking. Likewise, the analysis will be carried out if the way of thinking of the students of the sample influences their academic performance when studying the subject of Structured Programming and Numerical Methods for Engineering.