課程名稱 |
計算機程式 Computer Programming |
開課學期 |
103-1 |
授課對象 |
工學院 化學工程學系 |
授課教師 |
諶玉真 |
課號 |
ChemE1004 |
課程識別碼 |
504 10300 |
班次 |
|
學分 |
3 |
全/半年 |
半年 |
必/選修 |
必修 |
上課時間 |
星期三5(12:20~13:10)星期四5,6(12:20~14:10) |
上課地點 |
普205 |
備註 |
化工系以外需經老師同意。含實習。週四56在工綜323。群組必選。 總人數上限:45人 |
Ceiba 課程網頁 |
http://ceiba.ntu.edu.tw/1031ChemE1004_ |
課程簡介影片 |
|
核心能力關聯 |
核心能力與課程規劃關聯圖 |
課程大綱
|
為確保您我的權利,請尊重智慧財產權及不得非法影印
|
課程概述 |
學習Fortran程式語言的邏輯概念及語法 |
課程目標 |
熟悉Fortran程式語言的邏輯概念及語法。
2. 能撰寫程式,解決工程及科學問題。
|
課程要求 |
教科書1 1. “Fortran 90 for Engineers and Scientists”, Larry R. Nyhoff and Sanford C. Leestma, Prentice Hall, 1997
2. “Fortran 90 Programming”, T. M. Ellis; Ivor R. Philips and Thomas M. Lahey, Addison-Wesley Publishers Ltd., 1994.
課程大綱 分配時數 備註
單元主題 內容綱要 講授 示範 習作 其他2
Introduction to Computers and the Fortran Language
1.The Computer
2.Data Representation in a Computer
3.Computer Languages 3
Basic Elements of Fortran 1.The Fortran Character Set
2.The Structure of a Fortran Program
3.Constants and Variables
4.Assignment Statements and Arithmetic Calculations
5.Intrinsic Functions
6.List-Directed Input and Output Statements 4 2
Selective Execution 1.Simple IF Construct
2.General Form of the IF Construct
3.Multiple Alternative
4.Nested IF Constructs
5.Named Construct
6.The CASE Construct 4 2
Repetitive Execution 1.Counter-Controlled DO Loops
2.Nested DO Loops
3.General DO Loops : DO-EXIT Construct
4.General DO-WHILE Loops
5.The CYCLE statements
6.Named DO Construct 4 2
Input/Output 1.Formatted Output
2.Formatted Input
3.Reading Data From a File
4.Opening Files
5.Closing Files
6.File-Positioning Statements 2 1
Programming with Functions 1.Functions
2.Introduction to Modules
3.External Functions 4 2
Programming with Subroutines 1.Subroutine Subprograms
2.Random Number Generators
3.Subroutine as Arguments 4 2
One-Dimensional Array 1.Compile-Time Arrays and Run-Time Arrays
2.Allocatable Arrays
3.Array Processing
4.The WHERE Construct
5.Arrays as Arguments 4 2
Multi-Dimensional Array 1.Input/Output of Multidimensional Arrays
2.Processing Multidimensional Arrays 4 2
2. 教學方法
上課所在地點為工學院之設備良好的電腦教室
上課以ppt配合投影機教學為主
輔以白板說明艱澀、抽象內容
除講授課程外,也安排習作時間進行,促使學生實際動手撰寫程式,並加強老師與同學間之互動
|
預期每週課後學習時數 |
|
Office Hours |
|
指定閱讀 |
|
參考書目 |
|
評量方式 (僅供參考) |
|
|