DRT 114 · 3(2-3-5) · Year/term 1/2

Computer Programming

การเขียนโปรแกรมคอมพิวเตอร์

Progress
Notional hours: 150 h (online/self-study 75 · in class/lab 75)

Course description

Computational thinking, algorithms, variables, control structures, functions, data structures, device interfacing, data processing, sensor data handling, and introductory programming for system control.

Thai description

หลักการคิดเชิงคำนวณ อัลกอริทึม ตัวแปร โครงสร้างควบคุม ฟังก์ชัน โครงสร้างข้อมูล การรับส่งข้อมูลกับอุปกรณ์ การเขียนโปรแกรมเพื่อประมวลผลข้อมูล เซนเซอร์ และการควบคุมระบบเบื้องต้น

Description source: Curriculum draft — supplementary proposal

Course learning outcomes (CLO)

CLOOutcomePLO
CLO1Write structured Python programs to solve technology problemsPLO4
CLO2Read, process and store data from files and telemetryPLO4
CLO3Use Git and collaborative coding practicesPLO4PLO6

Learning modules

1Python basics and development environments
Weeks 1–3 · 30 h
2 KU

Online (before class) · 15 h

Study the assigned knowledge units in advance, review media and take the module quiz

In class / field · 15 h

Lab or field practice from worksheets with a safety checklist

Learning evidence: Checked worksheets and quiz results

2Control structures and functions
Weeks 4–6 · 30 h
1 KU

Online (before class) · 15 h

Study the assigned knowledge units in advance, review media and take the module quiz

In class / field · 15 h

Lab or field practice from worksheets with a safety checklist

Learning evidence: Checked worksheets and quiz results

3Files, data and libraries
Weeks 7–9 · 30 h
2 KU

Online (before class) · 15 h

Study the assigned knowledge units in advance, review media and take the module quiz

In class / field · 15 h

Lab or field practice from worksheets with a safety checklist

Learning evidence: Checked worksheets and quiz results

4Reading telemetry with pymavlink
Weeks 10–12 · 30 h
2 KU

Online (before class) · 15 h

Study the assigned knowledge units in advance, review media and take the module quiz

In class / field · 15 h

Lab or field practice from worksheets with a safety checklist

Learning evidence: Checked worksheets and quiz results

5Block programming and Git for teamwork
Weeks 13–15 · 30 h
3 KU

Online (before class) · 15 h

Study the assigned knowledge units in advance, review media and take the module quiz

In class / field · 15 h

Lab or field practice from worksheets with a safety checklist

Learning evidence: Checked worksheets and quiz results

Assessment (draft)

Labs and worksheets35%
Module quizzes10%
Midterm examination20%
Mini-project or practical exam35%

Knowledge domain

Key references

  1. Matthes, E. (2023). Python crash course (3rd ed.). No Starch Press.
  2. MAVLink Development Team. MAVLink developer guide. link