Abstract:Two main approaches are used in qualitative diagnostic reasoning.These approaches are the first principle approach and the heuristic knowledge approach.Systems based on the first one can handle hard problems and new situation.On the other hand,systems based on the second perform diagnostic tasks faster but can deal only with the most common problem cases.This paper provides a model using both the deep and shallow knowledges, and presents some algorithms.