112 - 1計算機程式設計教學綱要
Syllabus of Computer Programming
課程/Course:計算機程式設計(Computer Programming)
學分/Credits:3
班級/Class:資工1A (CSIE 1A)
教室/Classroom:W100
時間/Time:星期一(Mon) 9:10 ~12:00
教師/Teacher:吳建民
– 辦公室/Office:H448
– 分機/Ext. No:56448
– 辦公室時間/Office Hour:
• 星期二 (Tue) 14:00~16:00
– E-MAIL : cmwu@nhu.edu.tw
1
計算機程式設計
112 - 1計算機程式設計教學綱要
Syllabus of Computer Programming
教學目標/Objective of the course
–能瞭解程式設計相關專業名詞(A-C-MA1)
• To understand terminologies of computer programming
–能瞭解程式設計的基本概念(A-C-MA2)
• To understand the basic concepts of computer programming
–能推演電腦程式的運作過程(C-C-MA2)
• To derive the operation process of a computer program
–能設計具備基礎功能的程式(C-C-MA1)
• To have the ability of designing a basic computer program
2
計算機程式設計
112 - 1計算機程式設計教學綱要
Syllabus of Computer Programming
該學習何種程式語言?
Which programming language should we learn?
計算機程式設計
The Top Programming Languages 2020
IEEE Spectrum
4
Source : https://spectrum.ieee.org/top-programming-languages/
計算機程式設計
The Top Programming Languages 2021
IEEE Spectrum
5
Source : https://spectrum.ieee.org/top-programming-languages/
計算機程式設計
112 - 1計算機程式設計教學綱要
Syllabus of Computer Programming
教科書/Textbook
– Paul J. Deitel and Harvey M. Deitel, C How to Program, 8th
Edition, Prentice Hall, 2015. (全華代理)
6
請尊重智慧財產權/Please respect
the intellectual property rights
計算機程式設計
112 - 1計算機程式設計教學綱要
Syllabus of Computer Programming
課程大綱/Outline
– 第一章 基本概念介紹/Basic Concept(W1)
電腦及程式語言簡介/Computers and computer languages
程式開發環境簡介/Introduction of development environment
– 第二章 C程式設計簡介(W1~W2)
一個簡單的C程式/A simple C program
記憶體的概念/Concept of the memory
if條件跳躍指令/Basic conditional branch
7
計算機程式設計
112 - 1計算機程式設計教學綱要
Syllabus of Computer Programming
課程大綱/Outline
– 第三章 結構化程式開發(W3~W4)
• 由上而下的程式開發方法/Top down development
• if, else, while流程控制指令/flow control statements
– 第四章 流程控制(W4~W6)
switch, for, do while, break, continue statements
邏輯判斷指令/Logic statement
– 第五章 函式(W6~W7)
• 傳值函式呼叫/call by value
• 自訂函式/Self-defined functions
8
計算機程式設計
112 - 1計算機程式設計教學綱要
Syllabus of Computer Programming
課程大綱/Outline
– 模擬考/Mock Test(W8)
– 期中考/Midterm(W9)
• 上機考試/Computer Exam
• 2小時/2 hours
9
計算機程式設計
112 - 1計算機程式設計教學綱要
Syllabus of Computer Programming
課程大綱/Outline
– 第六章 陣列/Arrays(W10~W11)
定義與使用陣列/Define and use arrays
陣列參數傳遞/Pass an array to a function
– 第七章 指標/Pointers(W11~W12)
定義與使用指標/Define and use pointers
傳參考/call by reference
– 第八章 字元及字串/Characters and strings(W13)
使用字元與字串/Use characters and strings
10
計算機程式設計
112 - 1計算機程式設計教學綱要
Syllabus of Computer Programming
課程大綱/Outline
– 第九章 格式化輸入輸出/Formatted I/O(W14)
scanf與printf格式設定/Format setting of scanf and printf
– 第十章 結構、聯合、與列舉型態(W15)
(Structures, unions, and enumerate types)
• 結構的基礎概念/Basic concept of structures
• 定義與使用結構/Define and use structures
• 結構的大小/The size of a structure
• 結構的應用/Applications of structures
• 聯合是共享空間/A union is a shared space
• 列舉型態是一個集合/Enumerate
types is a set
11
計算機程式設計
112 - 1計算機程式設計教學綱要
Syllabus of Computer Programming
課程大綱/Outline
– 第十一章 檔案的輸入輸出/File I/O(W16)
• 輸入輸出的基礎/Basics of I/O
• 輸入輸出函數/ I/O functions
• 檔案輸入輸出的基礎/Basics file I/O
• 二進位檔與隨機存取/Binary and random access files
12
計算機程式設計
112 - 1計算機程式設計教學綱要
Syllabus of Computer Programming
課程大綱/Outline
– 模擬考/Mock Test(W17)
– 期末考/Final Exam(W18)
• 上機考試/Computer Exam
• 2小時/2 hours
13
計算機程式設計
112 - 1計算機程式設計教學綱要
Syllabus of Computer Programming
成績評量方式/Grading Criteria
14
計算機程式設計
就業相關性
www.104.com.tw(2022/8/26查詢)
– 資訊軟體系統類(31079)
• 軟體設計工程師(18948)
– C/C++, JAVA, VB, C#, Python, 組合語言, ...
– 資料庫技術, 網頁技術, Windows, Linux, App
• 韌體設計工程師(3633)
– C/C++, 組合語言, Embed OS
• ...
– 職缺數持續增加
• 2021/8/16 : 26735
• 2022/8/26 : 31079,增加4344
15
計算機程式設計
就業相關性-上班族待遇(2022)
https://guide.104.com.tw/salary/
16
計算機程式設計
就業相關性
資訊應用普及,資訊人才缺乏
– 職缺數持續增加
– 待遇持續增加
C/C++是資訊技術的基本程式語言
– 許多職缺要求具備C/C++技能
– 許多程式語言參考C/C++
– 是資通訊領域的基本技能
– 不易熟練,課後需多練習
17
計算機程式設計