====== 204111 วิทยาการคอมพิวเตอร์เบื้องต้น ====== ====== Fundamentals of Computer Science ====== ==== 2015 S1 ==== ===== ข่าวประกาศ ===== * [Dec 09] [[http://goo.gl/C0zB3W|ประกาศเรื่องการสอบปลายภาค]] จะมีใบ syntax แจกให้นะครับ {{:2015:mementopython3-english_v2.03.pdf|python cheat sheet}} * [Dec 01] ให้ นศ มารับโพยสรุปที่เคยจดไว้ตอนสอบ midterm คืนด้วยครับ สอบ Final นี่เอากระดาษเข้าได้เข้าได้หนึ่งแผ่นขนาดไม่เกิน F4 ครับ * [Nov 27] ให้ นศ ทุกคน upload การบ้านขึ้น Grader **ทุกการบ้าน** พร้อมเขียนชื่อและรหัศนศให้ครบตั้งแต่สัปดาห์ที 2 ไม่อย่างนั้นหัก 20% ครับ * [Nov 25] พรุ่งนี้ (26 พ.ย.) สอบปฏิบัติปลายภาค เวลา 17.30-19.00 น. Sec001 และ Sec003 สอบห้อง 301 Sec002 สอบห้อง 307 * [Nov 20] Week 14's Assignment is out * [Nov 13] [[https://goo.gl/LGkQlZ|Week 13's Assignment]] is out * [Nov 12] **[Quiz]** เรื่อง Data Representation - Integer and Floating Point และ Bitwise Operation วันพฤหัสบดีที่ 19 พฤศจิกายน 2558 CSB100 และ CSB207 เวลา 17.30-19.00 น. * [Nov 04] {{:2015:hwassgn_11_extra_credit.pdf|Extra Credit}} สำหรับการบ้าน Week 11 ส่งภายใน 23:59 วันที่ 6 พฤศจิกายน * [Oct 28] Grader for week 11's assignments is online * [Oct 29] [[http://goo.gl/QsV2Ct|ประกาศสอบย่อยครั้งที่ 2 (ปฎิบัติ)]] วันพุธที่ 4 พฤศจิกายน เวลา 17.30 น - 19.00 น * [Oct 28] Grader for week 10's assignments is online. Please resubmit all your work. * [Oct 19] Grader for week 9's assignments is online * [Oct 19] [[http://goo.gl/WbboQi| ประกาศสอบปฏิบัติการกลางภาค]] วันพุธที่ 21 ตุลาคม เวลา 18.00 น - 19.30 น * [Oct 12] การบ้านสัปดาห์ที่ 9 Online แล้วใน piazza ครับ ส่งภายใน 23.59 พุธที่ 21 ตค ทั้ง 3 Sec * [Oct 03] ประกาศ[[http://www.cs.science.cmu.ac.th/course/204111/score/204111SecAllQuiz_I.html|คะแนน Quiz I]] * [Oct 01] ประกาศ [[http://www.cs.science.cmu.ac.th/course/204111/lib/exe/fetch.php?media=2015:midterm_exam_score_breakdown_2015.png|อัตราส่วนเนื้อหา]] สอบกลางภาค และห้องสอบ * [Sep 22] แบบฝึกหัด {{:2015:boolean_exercise_1-2.pdf|Boolean Algebra}} เพิ่มเติม และ {{::2015:boolean_exercise_2_tutor_with_ans.pdf|เฉลย}} * [Sep 20] เฉลยการบ้าน Numbers อยู่ใน CMU Mail ขอให้นักศึกษาเช็คด้วยครับ * [Sep 14] [[https://piazza.com/class_profile/get_resource/ieh7qhbse6y621/ier5m3dbv8o1rz|เฉลย]]การบ้าน Boolean Algebra * [Sep 14] Material ของรายวิชาจะอยู่ที่ [[https://piazza.com/chiang_mai_university/fall2015/204111/resources#resources| Piazza]] ครับ ให้ นศ ทุกคนไป Activate Account ตาม Link ใน CMU Mail ด้วย * [Sep 14] ย้าย Grader ของรายวิชาไปที่ http://bit.ly/1UKILBH * [Sep 05] [[http://goo.gl/QKIL97| ประกาศสอบย่อยครั้งที่ 1]] วันพฤหัสฯที่ 24 กันยายน เวลา 18.30 น - 19.30 น * [Sep 05] [[http://bit.ly/1EH673U|แก้ Slide]] Lab Week 2 หน้า 18 ครับ * [Sep 05] Grader for week 4's assignments is online * [Aug 18] **Sec003** ให้นักศึกษาอ่าน slide "Programming with Python" ที่แจกในคาบวันนี้ก่อนเข้าเรียน Lab ศุกร์นี้ครับ * [Aug 16] นศ ที่ส่งงานแล้ว ให้ดูในหน้า assignment checklist ว่าขึ้น OK หรือไม่ ถ้าไม่ขึ้นแสดงว่าชื่อผิดครับ (update อัตโนมัติทุกชั่วโมง) * [Aug 15] นศ ที่ลง cmu mail ไว้ น่าจะได้รับ password ส่งการบ้านแล้วนะครับ ขอให้ check mail และทดลองส่งการบ้านด้วยครับ * [Aug 14] กรอก CMU mail นะครับ password ส่งการบ้านจะส่งเข้าเมลต้นอาทิตย์หน้า https://goo.gl/whW60v \\ * [Aug 10] Sec002 คาบ Lecture (วันอังคาร) ย้ายไปเรียนห้อง CSB203 ===== วัตถุประสงค์กระบวนวิชา ===== นักศึกษาสามารถ - อธิบายเกี่ยวกับอัลกอริทึมและการแก้ปัญหาการทำงานของคอมพิวเตอร์ ตลอดทั้งแนวคิดของภาษาโปรแกรม - ออกแบบและพัฒนาอัลกอริทึม และเขียนโปรแกรมขั้นต้นได้ ===== เวลาเรียน ===== **Section 001:** * **Lec:** Mo 14:30 - 16:30 (room CSB201) * **Lab:** Th 14:30 - 16:30 (room CSB303) * **Instructor:** อ. ดร. อารีรัตน์ ตรงรัศมีทอง * Office: CSB107 * Office hours: TBA * Assignment Checklist: https://goo.gl/IqgkGN **Section 002:** * **Lec:** Tu 9:30 - 11:30 (room CSB203) * **Lab:** Fr 9:30 - 11:30 (room CSB303) * **Instructor:** อ. ดร. รัศมีทิพย์ วิตา * Office: CSB107 * Office hours: TBA * Assignment Checklist: https://goo.gl/eLEhu3 **Section 003:** * **Lec:** Tu 09:30 - 11:30 (room CSB210) * **Lab:** Fr 09:30 - 11:30 (room CSB308) * **Instructor:** อ. กิตติพิชญ์ คุปตะวาณิช * Office: CSB107 * Office hours: TBA * Assignment Checklist: https://goo.gl/pZDLgv **Facebook Group:** http://www.facebook.com/groups/15S1.204111 ===== วันสอบ ===== * **สอบย่อย:** วันที่ 24 กันยายน 2558 เวลา 18:30 - 19:30 น. * **สอบกลางภาค :** วันที่ 7 ตุลาคม 2558 เวลา 15:30 - 18:30 น. * **สอบปฏิบัติการกลางภาค :** วันที่ 21 ตุลาคม 2558 เวลา 18:00 - 19:30 น. * **สอบปลายภาค :** วันที่ 11 ธันวาคม 2558 เวลา 15:30 - 18:30 น. ===== หลักเกณฑ์การให้คะแนน =====
  • คะแนนเข้าชั้นเรียน, ปฏิบัติการ, และการบ้าน
  • 25%
  • สอบย่อย (Quiz)
  • 10%
  • สอบปฏิบัติการ
  • 10%
  • สอบกลางภาค
  • 25%
  • สอบปลายภาค
  • 30%
    **//การ__ลอก__การบ้าน แบบฝึกหัดหรืองานที่ได้รับมอบหมาย ถือเป็น__การทุจริต__// โดยจะ__ไม่ได้__รับการพิจารณาให้__คะแนน__ในงานนั้นๆ __ทั้งผู้ลอก__ __และผู้ให้ลอก__** ===== เนื้อหาวิชาและแผนการสอน ===== |< 100% 1.5em 9em 32% 32% >| ^ **Week** ^^ **Lecture** ^ **Lab** ^ **Readings** ^ | 01 | 10-Aug - 15-Aug |- Intro to Computer Science \\ - History of Computing |- Computational Thinking\\ - Visual Programming |__Lec__: - | |:::|:::|:::|:::|__Lab__: {{:2015:204101_w02-lab_-code-dot-org.pdf|Intro to Code.org}}| | 02 | 17-Aug - 22-Aug |- Math for CS: Numbers \\ - Programming with Python |- Types, Literals, Variables, Operators, and Expressions |__Lec__: [[#เอกสารเพิ่มเติม | [2]]] Ch1 | |:::|:::|:::|:::|__Lab__: [[#เอกสารเพิ่มเติม | [3]]] Ch1 & Ch2| | 03 | 24-Aug - 29-Aug |- Problem Solving Processes \\ - Functions Part I |- Functions Part II \\ - Input/ output Redirection |__Lec__: [[#เอกสารเพิ่มเติม | [1]]] Ch 3 & 6, [[#เอกสารเพิ่มเติม | [3]]] Ch 3 | |:::|:::|:::|:::|__Lab__: [[#เอกสารเพิ่มเติม | [1]]] Ch 3 & 6, [[#เอกสารเพิ่มเติม | [3]]] Ch 3 | | 04 | 31-Aug - 05-Sep |- Math for CS: Boolean Algebra | - Conditionals Part I \\ - Case Study: Min, Max and More |__Lec__: | |:::|:::|:::|:::|__Lab__: {{:2015:flowgorithm_manual.pdf|Flowgorithm}} | | 05 | 07-Sep - 12-Sep |- Conditionals Part II\\ - Syntax, Semantic, Testing and Debugging |- Logic Gates \\ - Python Style Guide | | | 06 | 14-Sep - 19-Sep |- Iterations Part I |- Iterations Part II\\ - Input/ output Redirection (cont'd) | | | 07 | 21-Sep - 26-Sep |- Iterations Part III |- Iteration Part IV\\ - Errors and Exceptions | | | 08 | 28-Sep - 03-Oct |- Iterations Part V |- //Programming & Algorithm Practice// | | Midterm Exam **7 Oct 15.30 - 18.30** (Midterm exam period 5 - 11 Oct) ||||| | 09 | 12-Oct - 17-Oct |- Bitwise Operations\\ - Data Representation Part I |- Bitwise Operations\\ - Data Representation | | | 10 | 19-Oct - 24-Oct |- Strings | - Data Representation Part II| | | 11 | 26-Oct - 31-Oct |- One-Dimensional Lists and Tuples |- One-Dimensional Lists and Tuples\\ - Sieve of Eratosthenes\\ - Input/ output Redirection (cont'd) | | | 12 | 02-Nov - 07-Nov |- Sorting and Searching|- Sorting and Searching | | | 13 | 09-Nov - 14-Nov |- Two-Dimensional Lists |- Two-Dimensional Lists | | | 14 | 16-Nov - 21-Nov |- Sets and Dictionaries\\ - Intro to Python Libraries | - Sets and Dictionaries\\ - Intro to Python Libraries | | | 15 | 23-Nov - 28-Nov |- //Programming & Algorithm Practice// |- //Programming & Algorithm Practice// | | | Final Exam **11 Dec 15.30 - 18.30** (Final exam period 30 Nov - 15 Dec) ||||| ===== การส่งงานผ่านเว็บไซต์ (เฉพาะการบ้านที่กําหนด) ===== [[http://hw.cs.science.cmu.ac.th/CS_HW/p204111.html]] หรือที่เว็บไซต์ของภาควิชา http://www.cs.science.cmu.ac.th->คลิกหัวข้อเว็บเพจส่งการบ้านโดยให้คลิก Link เพื่อ Login ตามรหัสวิชา และตอนเรียน (Section) ที่ลงทะเบียนเรียน ** จะมีการแจก User name และรหัสผ่าน ในชั่วโมงปฏิบัติการ** **ให้นักศึกษาจดบันทึก User name และรหัสผ่านให้ดี อย่าทําหาย** หากส่งงานช้ากว่ากำหนด จะคิดคะแนน **80%** จากคะแนนเต็ม และไม่อนุญาตให้ส่งงานช้าเกิน **3** วัน \\ งานที่ตั้งชื่อไฟล์ไม่ตรงกับที่กำหนดในใบงาน **จะไม่ได้รับการตรวจ** * ไฟล์งานทุกไฟล์ที่ส่ง online จะต้องมีการแทรก comment ที่บรรทัดบนสุด ในรูปแบบดังนี้ #!/usr/bin/env python3 # ชื่อ นามสกุล # 5XXXXXXXX # Lab YY # Problem Z # 204111 Sec 00A * ไฟล์งานที่ส่งเป็นกระดาษ ให้เขียนที่หัวกระดาษ**__ด้านขวา__**ดังนี้ |< 100% >| | **ชื่อ นามสกุล ลำดับที่ ##**\\ **5XXXXXXXX**\\ **Lab (หรือ Lec) YY**\\ **Problem Z**\\ **204111 Sec 00A**| ==== กำหนดส่งงาน ==== * ไม่รับงานส่งสายหลังจากวันที่ที่ระบุในวงเล็บ (เกิน 3 วันจากกำหนดส่ง) |< - - 9em 15em 6em 6em 6em>| ^ Assignment ^ Problem ^ File Naming Format ^ Due Date ^^^ ^ ::: ^ ::: ^ ::: ^ 001 ^ 002 ^ 003 ^ ===== IDE ===== IDE (Integrated Development Environment) หลักที่ใช้ในภาคเรียนนี้ คือ IDLE (Python 3.4 Built-in IDE จาก python.org) * Windows * install [[http://www.cs.science.cmu.ac.th/course/204111/IDE/CygwinETCx86_111_v1_5.zip|software bundle ของรายวิชา]] //(recommended)// [[111_bundle_install | วิธีติดตั้ง]] * หรือสามารถติดตั้งเอง [[http://www.python.org/downloads/windows | python.org]] * OSX [[https://www.python.org/downloads/mac-osx/ | python.org]] * Ubuntu: sudo apt-get install python3 sudo apt-get install idle3 ===== Software อื่นๆ ===== * IDE * [[http://www.iep-project.org | IEP]] (cross-platform) * [[https://wingware.com/downloads/wingide-101 | Wing 101]] (windows) * [[https://www.jetbrains.com/pycharm/ | Pycharm]] (cross-platform) * [[https://www.visualstudio.com/en-us/products/vs-2015-product-editions.aspx | Visual Studio 2015]] (windows) * Text Editor * [[http://www.sublimetext.com/3 | Sublime Text 3]] //recommended// (cross-platform) * [[https://notepad-plus-plus.org/ | Notepad++]] (windows) * [[https://atom.io | Atom]] (cross-platform) * [[http://lighttable.com/| Light Table]] (cross-platform) * Visual Programming * [[http://www.code.org|Code.org]] * [[http://www.flowgorithm.org/|Flowgorithm]] * Free Diagram Drawing Tools * [[https://www.lucidchart.com/|Lucid Chart]] (Web Application) * [[http://www.yworks.com/en/products_yed_about.html|yED]] (Windows, Mac OS X, Linux, java) ===== เอกสารเพิ่มเติม ===== [1] //[[http://www.greenteapress.com/thinkpython/|Think Python: How to Think Like a Computer Scientist]]// by Allen B. Downey \\ [2] //[[http://bookboon.com/uk/student/it/gentle-introduction-to-mathematics-for-computer|Mathematics for Computer Scientists]]// by Janacek and Close \\ [3] //[[http://oho.ipst.ac.th/python-book/|หนังสือเรียนภาษาไพทอน]]// สถาบันส่งเสริมการสอนวิทยาศาสตร์และเทคโนโลยี \\ [4] //[[http://docs.python.org/3/reference/index.html |The Python Language Reference]]// from python.org \\ [5] //[[http://docs.python.org/3.0/library/index.html |The Python Standard Library]]// from python.org \\ [6] //[[http://docs.python.org/3/reference/index.html |The Python Tutorial]]// from python.org ===== ภาคการศึกษาอื่นๆ ===== * [[http://www.cs.science.cmu.ac.th/course/204111/doku.php?id=2014_semester_i|2014 Semester I]] * [[http://www.cs.science.cmu.ac.th/course/204111/2013S1/|2013 Semester I]]