We offered programming lessons for 1026 students at eight public elementary schools. The result of the questionnaire survey showed that the students who are in the higher group of “motivation of satisfaction” and “motivation of practical” in learning motivation have higher score of “awareness of logical thinking”, “exploration”, “evidence” in the critical thinking scale. We then showed the cases of lesson practice of "electric current flow" and verified that the students can understand the meaning of modeling through the programming lessons in subject.