====== 204216 การเขียนโปรแกรมภาษาซี ====== ====== C Programming ====== ====== Prerequisite ====== 204101 Introduction to Computer or 204111 Fundamentals of Computer Science ===== ข่าวประกาศ ===== * ขอให้นักศึกษาเข้าร่วมกลุ่ม facebook เพื่อติดตามประกาศสำคัญต่างๆ ของรายวิชา \\ Facebook Group: http://www.facebook.com/groups/14S1.204216 ===== เวลาเรียน ===== **Section 001:** * **Lec:** Fr 14:30 - 16:30 (room CSB202) * **Lab:** Tu 14:30 - 16:30 (room CSB308) * **Instructor:** อ. ดร. อารีรัตน์ ตรงรัศมีทอง * Office: CSB107 - Lecturer 2 * Office hours: Th 13.30-16.30 * Assignment Checklist: TBA **Facebook Group:** http://www.facebook.com/groups/14S1.204216 ===== วันสอบ ===== * **สอบกลางภาค :** วันพุธที่ 8 ตุลาคม 2557 เวลา 15:30 - 18:30 น. * **สอบปลายภาค :** วันอาทิตย์ที่ 7 ธันวาคม 2557 เวลา 15:30 - 18:30 น. ===== หลักเกณฑ์การให้คะแนน ===== * คะแนนเข้าชั้นเรียน ** 5%** * คะแนนปฎิบัติการและการบ้าน **10%** * คะแนนสอบย่อย **10%** * คะแนนสอบกลางภาค **35%** * คะแนนสอบปลายภาค **40%** **//การ__ลอก__การบ้าน แบบฝึกหัดหรืองานที่ได้รับมอบหมาย ถือเป็น__การทุจริต__//** ===== เนื้อหาวิชาและแผนการสอน ===== [[http://www.cs.science.cmu.ac.th/course/204216/lecture/Course Syllabus204216_2557.pdf|Course Syllabus]] ====Schedule==== ^ Week ^^ Lecture ^ Lab ^ | 01 |14 Aug - 15 Aug | - Introduction to Computer Programming [[http://www.cs.science.cmu.ac.th/course/204216/lecture/Chapter01_IntroductionToComputerProgramming.pdf|Click]] | //no class// | | 02 |21 Aug - 22 Aug | - Getting Started in C Programming [[http://www.cs.science.cmu.ac.th/course/204216/lecture/Chapter02_GettingStarted_in_C_Programming.pdf|Click]] | //no class// | | 03 |25 Aug - 29 Aug |- Processing and Interactive Input [[http://www.cs.science.cmu.ac.th/course/204216/lecture/Chapter03_Processing_and_InteractiveInput.pdf|Click]] |- Getting Started in C Programming [[http://www.cs.science.cmu.ac.th/course/204216/assignment/Practice1.pdf|Practice 1]] | | 04 - 05 |1 Sep - 12 Sep |- Selection \\ [[http://www.cs.science.cmu.ac.th/course/204216/lecture/Chapter04_Selection_I.pdf|Selection -- Part I]] [[http://www.cs.science.cmu.ac.th/course/204216/lecture/Chapter04_Selection_II.pdf|Selection -- Part II]] |- Processing and Interactive Input \\ - Selection I [[http://www.cs.science.cmu.ac.th/course/204216/assignment/Practice2.pdf|Practice 2]] | | 06 - 07 |15 Sep - 26 Sep |- Repetition [[http://www.cs.science.cmu.ac.th/course/204216/lecture/Chapter05_Repetition.pdf|Repetition]] |- Selection II [[http://www.cs.science.cmu.ac.th/course/204216/assignment/Practice3.pdf|Practice 3]] \\ - Repetition I [[http://www.cs.science.cmu.ac.th/course/204216/assignment/Practice4.pdf|Practice 4]] | | 08 |29 Sep - 3 Oct | //Wrap Up// |- Repetition II [[http://www.cs.science.cmu.ac.th/course/204216/assignment/Practice5.pdf|Practice 5]] | | Midterm Exam **8 Oct 15.30-18.30** (Midterm exam period 6-12 Oct) |||| | 09 |13 Oct - 17 Oct |- Function I [[http://www.cs.science.cmu.ac.th/course/204216/lecture/Chapter06_Function_I.pdf|Function I]] |- Review Repetition | | 10 |20 Oct - 24 Oct |- Function Part II and Recursion \\ [[http://www.cs.science.cmu.ac.th/course/204216/lecture/Chapter07_Function_II.pdf|Function II]] [[http://www.cs.science.cmu.ac.th/course/204216/lecture/Chapter07_Recursion.pdf|Recursion]] |- Function I [[http://www.cs.science.cmu.ac.th/course/204216/assignment/Practice6.pdf|Practice 6]] | | 11 |27 Oct - 31 Oct |- Arrays, Addresses, and Pointers \\ [[http://www.cs.science.cmu.ac.th/course/204216/lecture/Chapter08_Arrays.pdf|Arrays]] [[http://www.cs.science.cmu.ac.th/course/204216/lecture/Chapter11_ArraysAddressPointer.pdf|Arrays, Addresses, and Pointers]] |- Function Part II and Recursion \\ [[http://www.cs.science.cmu.ac.th/course/204216/assignment/Practice7.pdf|Practice 7]] [[http://www.cs.science.cmu.ac.th/course/204216/assignment/Practice8.pdf|Practice 8]] | | 12 |3 Nov - 7 Nov |- Character Strings [[http://www.cs.science.cmu.ac.th/course/204216/lecture/Chapter09_CharacterString.pdf|Character Strings]] |- Arrays, Addresses, and Pointers | | 13 |10 Nov - 14 Nov |- Data Files [[http://www.cs.science.cmu.ac.th/course/204216/lecture/Chapter10_DataFile.pdf|Data Files]] |- Character Strings [[http://www.cs.science.cmu.ac.th/course/204216/assignment/Practice9.pdf|Practice 9]]| | 14 |17 Nov - 21 Nov |- Structures and Compiler Directive \\ [[http://www.cs.science.cmu.ac.th/course/204216/lecture/Chapter12_Structures.pdf|Structures]] \\ [[http://www.cs.science.cmu.ac.th/course/204216/lecture/chapter13_SelfReferenceStructure_CompilerDirective.pdf|Self Reference Structures and Compiler Directive]] |- Data Files [[http://www.cs.science.cmu.ac.th/course/204216/assignment/Practice10.pdf|Practice 10]] [[http://www.cs.science.cmu.ac.th/course/204216/assignment/favor.txt|favor.txt]] [[http://www.cs.science.cmu.ac.th/course/204216/assignment/rain.txt|rain.txt]]| | 15 |24 Nov - 28 Nov | //Wrap Up// |- Structures and Compiler Directive \\ [[http://www.cs.science.cmu.ac.th/course/204216/assignment/Practice11.pdf|Practice 11]] | | Final Exam **7 Dec 15.30-18.30** (Final exam period 1-16 Dec) |||| ===== การส่งงานผ่านเว็บไซต์ (เฉพาะการบ้านที่กําหนด) ===== ที่เว็บไซต์ของภาควิชา http://www.cs.science.cmu.ac.th->คลิกหัวข้อ กระบวนวิชา --> เว็บเพจส่งการบ้าน โดยให้คลิก Link เพื่อ Login ตามรหัสวิชา และตอนเรียน (Section) ที่ลงทะเบียนเรียน ** จะมีการแจก User name และรหัสผ่าน ในชั่วโมงปฏิบัติการ** **ให้นักศึกษาจดบันทึก User name และรหัสผ่านให้ดี อย่าทําหาย** หากส่งงานช้ากว่ากำหนด จะคิดคะแนน **80%** จากคะแนนเต็ม และไม่อนุญาตให้ส่งงานช้าเกิน **3** วัน \\ งานที่ตั้งชื่อไฟล์ไม่ตรงกับที่กำหนดในใบงาน **จะไม่ได้รับการตรวจ** * ไฟล์งานทุกไฟล์ที่ส่ง online จะต้องมีการแทรก comment ที่บรรทัดบนสุด ในรูปแบบดังนี้ /* ชื่อ นามสกุล * 5XXXXXXXX * Lab YY * Problem Z * 204216 Sec 001 */ * ไฟล์งานที่ส่งเป็นกระดาษ ให้เขียนที่หัวกระดาษ**__ด้านขวา__**ดังนี้ |< 100% >| | **ชื่อ นามสกุล**\\ **5XXXXXXXX**\\ **Lab (หรือ Lec) YY**\\ **Problem Z**\\ **204216 Sec 001**| ==== กำหนดส่งงาน (Online)==== (ภายใน **23:59** ของวันที่กำหนด) ===== IDE ===== IDE (Integrated Development Environment) หลักที่ใช้ในภาคเรียนนี้ คือ [[http://www.codeblock.org|Code::Blocks]] version 13.12 * Download * http://www.codeblocks.org/downloads/26 * ใช้ไฟล์ชื่อ [[http://www.codeblocks.org/downloads/26|codeblocks-13.12mingw-setup.exe]] สำหรับ Windows * OS อื่นๆ ให้เลือกจาก file list ในหน้า download * Installation * [[https://sites.google.com/site/kanokpolunderscore/com_pro/c_language/c_codeblock/installcodeblock| ขั้นตอนในการติดตั้ง]] * Disabling Auto Code Completion * {{:code_block_-_disable_completion.png?direct&400|}}