The Bayesian network algorithm plays a pivotal role in enhancing the teaching and learning process in higher education institutions by facilitating personalized and adaptive learning experiences. This algorithm leverages probabilistic graphical models to represent relationships among various educational variables, such as student performance, learning resources, and teaching methods. Additionally, Bayesian networks aid instructors in optimizing course design and instructional strategies by identifying areas for improvement and evaluating the effectiveness of different teaching approaches. This paper explores the application of Hidden Markov Chain Bayesian Networks (HMCBN) in analyzing teaching effectiveness within higher education institutions. Teaching effectiveness is a multifaceted concept influenced by various factors, including teaching strategies, student characteristics, and learning outcomes. Traditional statistical methods often struggle to capture the dynamic and interdependent nature of these factors. Through the construction of HMCBN models, this study investigates the probabilistic relationships between teaching strategies, student characteristics, learning outcomes, and teaching effectiveness. For teaching strategies, the probabilities [0.3, 0.5, 0.2] indicate the likelihood of each strategy being employed, suggesting that Strategy 2 is the most frequently utilized, followed by Strategy 1 and Strategy 3. Similarly, the probabilities [0.4, 0.3, 0.3] for student characteristics suggest a relatively balanced distribution among the three characteristic categories. In terms of learning outcomes, the conditional probabilities reflect the influence of both teaching strategies and student characteristics on the outcomes achieved. For each combination of teaching strategy and student characteristic, the probabilities [0.1, 0.3, 0.6], [0.4, 0.5, 0.1], [0.3, 0.4, 0.3], [0.2, 0.5, 0.3], [0.3, 0.4, 0.3], [0.4, 0.3, 0.3], [0.1, 0.7, 0.2], [0.4, 0.5, 0.1], and [0.5, 0.4, 0.1] represent the probabilities of achieving different learning outcomes given specific combinations of teaching strategies and student characteristics.