The paper analyzes and discusses the necessity of integrating computational thinking into basic computer teaching by combining characteristics of medical undergraduates and the current situation and tendency of basic computer teaching, and states the thought and method of solving problems with the computational thinking by taking "mind mapping" and "program design thought" as the teaching cases, in order to cultivate the consciousness and ability of students in constructing problem solutions by taking advantage of the computational thinking.