The main purpose of the study is to establish the materials of computer adaptive and the items of computer adaptive diagnostic test based on Bayesian Networks by the one-variable linear equation unit of seventh grades. Use the materials to teach and evaluate the effects of remedial instruction. The results are as follows. 1. After taking computer adaptive diagnostic test, the compare rate can reach around 91%. The computer adaptive diagnostic test economized 9 items on average. For items predictable accuracy, items, bug type and skills can reach above 90%. 2. By comparison with the traditional teaching model, the computer teaching model shows that experimental groups’ grades and control groups’ grades have significant differences. In addition the average score of experimental groups are higher than control groups. 3. Of remedial teaching in the computer model, the rates of sub-skills reach an increasing trend, while the incidences of error types reduce the trend. It shows that there is significant progress on the low group grades students of one-variable polynomial subunit and the low and middle group grades students of one-variable linear equation subunit using the computerized teaching materials. 4. First, in learning feedback questionnaire analysis, over eighty percent students using the computerized teaching materials have better motivation for learning. Second, the student difficulty cognitive of learning increases with the basic concept, polynomial operation, and application problem. At last, over eighty percent students think that it is helpful to use computerized teaching. Therefore, the computerized adaptive dagnostic testing system and computerized teaching materials based on Bayesian Networks proposed in this study can achieve good results.