課程名稱 |
計算機程式設計 Computer Programming |
開課學期 |
100-1 |
授課對象 |
理學院 數學系 |
授課教師 |
丁培毅 |
課號 |
MATH1402 |
課程識別碼 |
201 15300 |
班次 |
|
學分 |
3 |
全/半年 |
半年 |
必/選修 |
必帶 |
上課時間 |
星期一7,8,9(14:20~17:20) |
上課地點 |
共104 |
備註 |
上機時間:星期二 18:30~21:15。
上機教室:計中212。 限本系所學生(含輔系、雙修生) 總人數上限:80人 |
Ceiba 課程網頁 |
http://ceiba.ntu.edu.tw/1001math_cprog |
課程簡介影片 |
|
核心能力關聯 |
核心能力與課程規劃關聯圖 |
課程大綱
|
為確保您我的權利,請尊重智慧財產權及不得非法影印
|
課程概述 |
本課程於 97/9 開始於 ntu math dept 至 107/04 因系上已無需求, 收回帳號而結束維護 |
課程目標 |
感謝助教以及積極討論的同學, 如需要資料或是需要討論請洽 pyting@mail.ntou.edu.tw |
課程要求 |
1. 每週一 15:30 - 18:20 課堂上課
2. 每週二 18:30 - 21:15 上機實習
3. 每週二 23:59 作業繳交
4. 期中與期末考 |
預期每週課後學習時數 |
|
Office Hours |
每週二 20:00~21:00 |
指定閱讀 |
J. R. Hanly and E. B. Koffman, Problem Solving and Program Design in C,
6-th Ed., ISBN 0-321-46464-8, Addison-Wesley 新月 |
參考書目 |
參考閱讀: 陳健宗, 圖解C語言, 博碩, 2009/07 |
評量方式 (僅供參考) |
No. |
項目 |
百分比 |
說明 |
1. |
實習課程參與 |
5% |
星期二 18:30 - 21:15 計中 212 |
2. |
期中考 |
25% |
|
3. |
期末考 |
30% |
|
4. |
作業 |
30% |
|
5. |
課程參與 |
10% |
隨堂考試/Office Hour 提問/線上提問 |
|
週次 |
日期 |
單元主題 |
第2週 |
09/19 |
計算機基礎運作模型與開發軟體之使用<br>Introduction to basic computer model and programming environment |
第3週 |
09/26 |
程式設計概觀,第一個 C 程式,基本格式化輸出輸入,變數之概念、變數型態與資料表示法<br>Programming overview, your first C program, basic formatted input/output, variable types and data representation |
第4週 |
10/03 |
運用函式練習 Top-down 設計<br>Top-down design with functions |
第6週 |
10/17 |
條件控制及條件式<br>Selection controls and conditions |
第7週 |
10/24 |
迴圈控制<br>Repitions and Loop controls |
第8週 |
10/31 |
區塊、函式、參數傳遞、與模組化設計<br>Blocks, functions, function parameters, and modular programming |
第9週 |
11/07 |
期中考<br>Midterm exam |
第10週 |
11/14 |
資料型態<br>Simple Data types |
第11週 |
11/21 |
陣列變數, 字串處理<br>Arrays, String processing, Better C Program |
第12週 |
11/28 |
字串處理<br>String processing |
第13週 |
12/05 |
遞迴<br>Recursion |
第14週 |
12/12 |
使用者自定資料型態 - struct 及 union
User-defined types - struct and union |
第15週 |
12/19 |
使用者自定資料型態 - struct 及 union<br>User-defined types - struct and union |
第16週 |
12/26 |
檔案輸出入<br>Text and Binary File Processing<br>指標與動態記憶體<br>Dynamic memory allocation |
第17週 |
01/02 |
其他程式設計相關事項, 指標與動態記憶體, 簡易資料結構<br>Programming in the large, Dynamic memory allocation, Simple Data Structure |
第18週 |
01/09 |
期末考<br>Final exam |
|