典型C程式发展环境
課本 C How To Program (Introducing C++ and Java) (Fourth Edition) C程式設計藝術 DEITEL DEITEL 全華書局 大綱 Introduction to Computers Introduction to C Programming Structure Programming Control Structures Functions Arrays Pointers Strings Formatting I/O Structure 評分標準 評分標準: 平常分數 40%(作業、測驗、出席) 期中考 30% 期末考 30% 電腦實習: 每三週上二周 電腦教室YC3F12 週四1~3節 成績與正課分開 Chapter 1 – 電腦、網際網路及全球資訊網的介紹 1.1 簡介 在這門課中您將學習 C 語言,以及Structured programming(結構化程式設計方法) 程式設計是命令電腦作事情的一種方式。 C 是目前應用最廣的語言之一。 目前幾乎沒有單純的 C 語言的編譯器,大多同時可編譯 C/C++ 的產品。 C/C++ 成為建立高效率電腦系統所選用的實作語言。 1.2 何謂電腦? Computer 快速執行運算與邏輯判斷的裝置 Computer programs Sets of instructions that control a computer’s processing of data 控制電腦處理資料的指令集合 Hardware 硬體 Various devices comprising a computer Examples: keyboard, screen, mouse, disks, memory, CD-ROM, and processing units Software 軟體 電腦上執行的程式(看不見的部份) 硬體的成本已大幅降低,但軟體的研發費用持續在增加。 因此學習好的程式設計方法就很重要,可以降低軟體成本。 1.3 電腦架構 Six logical units in every computer: Input unit 輸入單元 Obtains information from input devices (keyboard, mouse) Output unit 輸出單元 Outputs information (to screen, to printer, to control other devices) Memory unit 記憶單元 Rapid access, low capacity, stores input information Arithmetic and logic unit (ALU) 算術運算與邏輯單元 Performs arithmetic calculations and logic decisions Central processing unit (CPU) 中央處理單元,control unit Supervises and coordinates the other sections of the computer Secondary storage unit 輔助儲存單元 Cheap, long-term, high-capacity storage, stores inactive programs 1.4 作業系統的演進 Batch processing 批次處理 Do only one job or task at a time 一次只能處理一件工作 Operating systems 作業系統 Manage transitions between jobs Increased throughput 增加電腦的整體工作量 Amount of work computers process Multiprogramming 多工程式設計,接多個I/O Many jobs or tasks sharing a computer’s resources Timesharing 時間分享式 Perform a small portion of one user’s job then moves on to service the next user 1.5 個人電腦、分散式電腦和客戶端/伺服器端電腦 Personal computers Economical enough for individual 最早的個人電腦是 Apple 電腦 Distributed computing Organizations computing is distributed
原创力文档

文档评论(0)