|
所在平台: Coursera |
课程主页: https://www.coursera.org/learn/c-bian-cheng
课程评论:没有评论
課程名稱: 計算機程式設計 (Computer Programming) 課程介紹: 本課程將介紹C語言的計算機程式設計。我們將涵蓋計算機的基本操作,然後學習如何用C語言編寫計算機程式,並會介紹各種C語言的概念。 授課形式: 課程將通過視頻講座介紹程式設計的概念,視頻將在演示幻燈片和實際編碼過程之間切換。每週將有編程作業,以確保學生能夠實踐從視頻中所學的知識。學生將在ideone.com這個在線平台上進行實踐,該平台用於編譯和運行計算機程式。 修課背景要求: 不需要特別的計算機知識,但學生需具備使用網頁瀏覽器的能力,具有基本的英語詞彙,以及初中畢業的算術技能。 課程大綱: - 第1週 - 介紹: 開始基本的程式設計概念,編寫基本程序並逐漸添加計算語句,使用ideone來編輯、編譯和運行程序。 - 第2週 - 控制結構: 描述流程控制和循環,學習如何控制程序的執行及重複計算的技巧。 - 第3週 - 陣列: 介紹如何使用最基本的數據結構——陣列,及浮點數的概念。 - 第4週 - 函數: 描述函數的概念和使用情況,並介紹如何定義自己的函數,探討函數調用、參數傳遞及返回值的機制。 - 第5週 - 指標: 介紹指標的語義及其使用機制,並將指標概念與記憶體佈局聯繫起來。 - 第6週 - 字串: 介紹字符串和字符,將重點放在文本數據上,並探討內存位元和字符及字符串的操作。 - 期末考試: 將進行期末考試以評估學生對課程內容的理解和掌握。 這門課程將幫助學生建立程式設計的基礎,並在C語言中開展實踐。
Name:Week 1 - Introduction
Description:We start with basic programming concepts that correspond to chapter 1, 2, 3 of the book. We will start with a basic program and gradually add computation statements so that our program will perform useful computation. Also we will use an online interface (ideone) to describe the process of editing, compiling and running a program.
Name:Week 2 - Control Structure
Description:The second week will describe flow control and loops (book chapter 4, 5). After we learn how to write a program to perform basic computation in the first week, we start to learn the control structure of a program. We will learn how to control the execution of a program among several possible "next steps", and how to repeat the computation to finish repetitive tasks. We will also describe certain loop ending practice, which strongly relates to programming style.
Name:Week 3 - Array
Description:The third week describes arrays and floating point numbers (book chapter 6, 7). We will introduce ways to organize related data into the most basic data structure, i.e., array. We will describe the circumstance of using an array, and the most useful idioms in using them. Various examples will be introduced to enforce the concepts in using array correctly. We will also describe the concept of floating point numbers, which is different from the integers we introduce at the beginning of this course.
Name:Week 4 - Functions
Description:The fourth will will describe the concept of functions (book chapter 8). We will motivate the use of function by system functions, including mathematic and input/output functions, so we the students can understand the key concept that if we can use existing code, then we do not need to reinvent the wheel. Then we will introduce the way to define our own functions. The key mechanism of function call, parameter passing, and return values wiill be discussed by a series of examples.
Name:Week 5 - Pointer
Description:In the fifth week we will describe pointers (book chapter 9). We will focus on the semantic of pointers and then introduce the mechanism of using pointers. Here we would like to tie together the pointer concept with memory layout, i.e., the way the computer system places variables into memory. After the introduction of memory layout the students will have a very clear idea on how a computer system manages the memory, and how this layout affects the way we write program that handles variables of different types in C.
Name:Week 6 - String
Description:The sixth week will describe strings and characters (book chapter 10, 11). Up to this point in this course we deal with only numeric data. Now we are ready to introduce character and string that deal with mainly text data. We will introduce the concept of memory bits, and different types in C only means different ways to interpret the memory bits. We start with character, which is the basic unit of text information. Then we introduce string as an array of characters, and various useful functions to perform various operations on strings.
Name:Final Exam
Description:
課程介紹 (About the course) This course will introduce computer programming in C. We will cover basic operations about computer, then move on to how to write computer program in a language called C. Various C concepts will be introduced. 授課形式 (Course format) We will have video lecture to introduce the concept of programming. The video will switch between the presentation slides and the actual coding process. After that we will have weekly programming homework to ensure that the students are able to practice what they learned from the video presentation. The students will practice on ideone.com, a web platform for compiling and running computer programs. 修課背景要求 (Recommended background) No special prior computer knowledge is required. However, the students are expected to be able to use a web browser, has basic English vocabulary, and arithmetic skills of junior high school graduates.