259201 — Computer Programming for Engineers
Lecture Slides
Course Description
Introduction to computers for engineers. Principles of computer hardware and software. Engineering problem solving by using computers. Principles of high-level computer programming languages.
คอมพิวเตอร์เบื้องต้นสำหรับวิศวกร หลักการระบบคอมพิวเตอร์ฮาร์ดแวร์และซอฟต์แวร์ แนวคิดและการวางขั้นตอนในการแก้ปัญหาทางวิศวกรรม หลักการภาษาการเขียนโปรแกรมคอมพิวเตอร์ระดับสูง
Lecture Slides
Importantเนื้อหาเสริมเท่านั้น
สไลด์และเนื้อหา Extras เหล่านี้เป็น เนื้อหาเสริม สำหรับประกอบการเรียนเท่านั้น เนื้อหาที่เป็นทางการของกระบวนวิชาดูได้จาก exam.cmu.ac.th
| Module | Topic | Slides |
|---|---|---|
| 1 | Course Orientation / Introduction to Programming | Slides, Extras |
| 2 | Computational Thinking | Slides, Extras |
| 3 | Variables and Types, Operators, Math | Slides, Extras |
| Input / Output and f-string | Slides, Extras | |
| 4 | Collections: List | Slides, Extras |
| Collections: Tuple, Set and Dictionary | Slides, Extras | |
| 5 | Conditions: Boolean, in, if-else, if-elif-else | Slides, Extras |
| 6 | Iterations (I): while-loop | Slides (?), Extras |
| 7 | Iterations (II): for-loop | Slides (?), Extras |
| 8 | Iterations and Collections | Slides (?), Extras |
| 9 | Functions | Slides (?), Extras |
| 10 | List Comprehension and 2D Arrays | Slides (?), Extras |
| 11 | Basic Data Visualization with Matplotlib | Slides (?), Extras |
| 12 | N-Dimensional Arrays with Numpy (I) | Slides (?), Extras |
| N-Dimensional Arrays with Numpy (II) | Slides (?), Extras |
ทบทวนรวมข้ามโมดูล (Cumulative Review)
โจทย์แบบ เขียนเอง (เลือก construct เอง) และ หา Bug แล้วเขียนต่อ ที่ผสมทักษะหลายโมดูล
| ช่วง | เนื้อหา | Extras |
|---|---|---|
| 5–8 | Control Flow (เงื่อนไข · loop · loop ซ้อน) | Extras |
| ≤ 10 | พื้นฐาน Python (รวมฟังก์ชัน · comprehension · 2D) | Extras |
| 11–12 | NumPy & Matplotlib | Extras |
เรียบเรียงโดยคณาจารย์ภาควิชาวิศวกรรมคอมพิวเตอร์ คณะวิศวกรรมศาสตร์ มหาวิทยาลัยเชียงใหม่
© ภาควิชาวิศวกรรมคอมพิวเตอร์ คณะวิศวกรรมศาสตร์ มหาวิทยาลัยเชียงใหม่