[SCPY204] Computer Programming for Physicists

for 2nd Year Physics Student

See Course's Syllabus

Home > SCPY204: Computer programming for physicists Placeholder image


Class Schedule

Second semester of academic year 2016:
Every Thursday during 12 Jan - 19 May 2017 [the following table]

Instructor: Dr. Puwis Amatyakul

Interactive Class

For today's quiz, practice and homework, please login.


[ช่วยเข้าไปเช็ควันที่พวกเราส่งการบ้านด้วยนะครับ]


Lecture #

Topics

Readings/Assignments

L01: 12 Jan 2017 Introduction to computer and programming, Setting up development environment for C and Python, the first program [pdf] Reading: wikipedia's article [link]
L02: 19 Jan 2017 Data, Data type, program control, condition and loop, introduction to C programming [pdf]
L03: 26 Jan 2017 Function, recursion and array [pdf]
L04: 02 Feb 2017 Developing a program, review and exercises [pdf1] [pdf2]
L05: 09 Feb 2017 Introduction to Python programming [pdf] Exercise Set 01 Challenges 01
L06: 16 Feb 2017 Mid-term review, recursion in practice, exercies [pdf1] [pdf2]
L07: 23 Feb 2017 File I/O, data visualization [pdf] [ex03 data] [ex03 example] [matplotlib] [numpy]
L08: 02 Mar 2017 Mid-term examination preparation Exercise Set 02

Mid-term Examination

L09: 16 Mar 2017 Data visualization, Octave/Matlab [Dr. Chaiwoot's lecture] Exercise Set 03
L10: 23 Mar 2017 Exercise, Unix, introduction to algorithms [pdf]
L11: 30 Mar 2017 Analysis of algorithms, sorting and searching [pdf]

Programming during Songkran festival: Build you own website!
(Due: 11 May 2017, the same day of the final examination)

[uploading files to the server]

L12: 20 Apr 2017 (08:30-12:30) Data structure and graph [pdf] Homework 07
L13: 3 May 2017 (09:00-12:00)

> Project presentation
> Invited talk by Dr. Chatchai Vachiratienchai on "computer programming in real-world (physics) application"

L14: 3 May 2017 (13:00-16:00)

Advanced topics in computer programming

Final Examination
11 May 2017, P611: 09:00 - 12:00


[Exam Data]


* TBA = To be annouced!


Course Materials

Recommend books

You could use any books that you are comfortable at reading them. Just to make you are able to program in C and also Python. There are also many great tutorials on how to program [link]. However, I would recommend these books.

  1. Programming in C [link]
  2. Programming in Python [link]
  3. Computer algorithms [link]

* You will need a paasword to download the files. Come to my office (P604) for the password.

Useful Stuffs

Program developing environment

There are many tools available for you to start programming. I would, for simplicity, recommend these two useful IDEs (integrated development environment) to use during the course.

  1. Code::Blocks - a recommended IDE for C program developing.
  2. Anaconda - a recommended bundle package for Python program developing. Spyder is the IDE that we will use.

Reading (for fun!)

  1. Timeline of computer history - contains nice summary and pictures.

Inspiring Stuffs