計算機概論與程式設計
Introduction to Computers and Programming
學期
106-1
學分
3
學分
當期課號
1068
永久課號
UEE1302
開課單位
電機工程學系
授課教師
蔡中庸
校區
光復
類別
必修
上課時間表
| 節 | 週一 | 週四 |
|---|---|---|
2 09:00–09:50 | 計算機概論與程式設計 EE105 | |
5 13:20–14:10 | 計算機概論與程式設計 EE105 2 節連堂 | |
6 14:20–15:10 | ||
A 18:30–19:20 | 計算機概論與程式設計 EE105 3 節連堂 | |
B 19:30–20:20 | ||
C 20:30–21:20 |
* 根據陽明交大上課時間表所列
概述
計算機概論與程式設計是步入計算機領域暨程式設計的第一門課,內容分為三大主要部份。第一部份的主題是計算機系統的基本概念。第二部份的主題是網際網路及相關資訊,設計個人首頁。 第三部份的主題 (也是本學期的學習重點) 是介紹C/C++語言的基本程式設計,同時訓練學生如何將一般的問題轉換書寫成程式,以利用電腦來解決問題。
先修科目
無
教學方式
a. 使用學校e3網站。 b. 使用自製講義或者補充重要程式。 c. 計算機概論除了每週三小時授課之外,每週另加沒有學分的3 小時實驗課。 實驗課程的規劃、內容、 作業題目由老師設計提供 。 實驗課由助教帶領,配合每週上課內容作上機操作的練習, 作業繳交等輔助教學。
評分方式
1.學期作業 有10~12個作業 2.考試狀況 有2次筆試 2次上機考 3.評量方法 第1次筆試 20% 第2次筆試 20% 第1次上機考 15% 第2次上機考20% 實驗課(Homework) 25%
課程大綱
- Computer System Organization
- Computer Software
- Introduction to Internet
- Getting Started with C and C++
- C/C++ Basics
- Flow Control Structures and Program Design
- The Preprocessor
- Some commonly Used Library Functions
- Functions: Divide and Conquer
- Arrays
- Error Analysis
- Data Representation
週次計畫
| 週次 | 主題 |
|---|---|
| 第 1 週 | 1. Computer Classification 2. System of Digital Computer 3. Basic Functional Units of a Computer |
| 第 2 週 | 1. Concept of the Operating System 2. Machine Languages, Assembly Languages and High Level Languages 3. The Flow Chart of the Program Development 4. Application Program |
| 第 3 週 | 1. Using Integrated Development Environment (IDE) 2. C ++ System File Structure 3. Head Files, Library Files, Run-time Files 4. Program Editing, Compiling, Linking and Executing 5. The Basic Structure of the C/C++ Program |
| 第 4 週 | 1. C /C++ constants and Variables 2. Arithmetic Expressions 3. Translating Algebra into C/C++ 4. Input / Output |
| 第 5 週 | 1.Sequence structure 2. Loop concept 3. For loop structure |
| 第 6 週 | 1. Application on for loop design |
| 第 7 週 | 1. While loop structure, Do while structure 2. Loop design on Taylor series expansion |
| 第 8 週 | 1.Decision Structures in C/C++ 2. Finding the Maximum and the Minimum value. 3. Using of the Flag |
| 第 9 週 | 1. Preprocessor Directives 2. Conditional Compilation |
| 第 10 週 | 1.The Standard Library Header Files 2. Math Functions 3. Random Number Generator 4. Concept of Simulation |
| 第 11 週 | 1.Comparisons between Function and Subroutine 2.Function Prototyping |
| 第 12 週 | 1. Pointers 2. Parameter Passing: Call by Value, Call by Address |
| 第 13 週 | 1.Variable’s Scope and Storage Classes 2.Recursive Functions 3.7 Examples of recursive function |
| 第 14 週 | 1. Analysis on the Towers of Hanoi 2. Program of the Towers of Hanoi |
| 第 15 週 | 1. Arrays 2. Arrays and Pointers 3. Elements of Arrays Processing 4. Multidimensional Arrays |
| 第 16 週 | 1. Arrays in Functions 2. Dynamic Arrays |
| 第 17 週 | 1.Error Analysis 2. Numeric Errors 3. Nonnumeric Error |
| 第 18 週 | 1.Data Representation 2.Floating Point Representation |
教科書
1.Lecture from Tsai, Chung-Yong 2."C++ Programming : From Problem Analysis to Program Design ”, Fourth edition , D. S. Malik , THOMSON Course Technology.
Office Hours
- 地點
- 工五館 762室
- 時間
- 1.每星期兩小時 2.另外主要使用e-mail討論問題,
- 聯絡方式
- TEL:54367 cytsai@faculty.nctu.edu.tw