透過您的圖書館登入
IP:3.145.149.120
  • 學位論文

以程式輔助學習系統幫助初學者培養寫分段註解習慣的探討

An Extend CAL Methodology to Help Novices Develop the Habit of Writing Segment Comments in Code

指導教授 : 夏延德

摘要


對大多數的人來說,要瞭解一個全新接觸的事物(泛指各種人事物,包括課程、程式等等)是要花很多時間的,如果已經有人事先對這些事物提供了相關的說明文件(documentation)或註解(comment)的話,那相信就可以讓這些事物在較短的時間內被人們理解。但是我們發現,只用傳統“老師台上教,學生台下聽”的方法的教導下,要讓學生自動自發地寫下這樣的文件或註解是很困難的。 程式裡的註解跟課程內容不同,它沒有一個標準的範本可以參考,也不是一個指令一個動作就能教會的。註解的構成與模式一切都是端看程式設計者(programmer)主觀的判斷。 為了幫助程式初學者培養寫註解的習慣,我們在初等程式設計的“計算機概論”課程中,讓學生在課堂之餘使用程式輔助學習系統(以下簡稱CAL)做練習。在去年(94學年度)中所使用的方法,只讓學生養成在寫函式(function)前寫下註解(這種註解我們稱之為Prolog Comment)的習慣,在今年(95學年度)中,我們將去年的方法做改善與修正,希望學生除了在寫函式前寫註解之外,也能在函式內寫下分段註解(這種註解我們稱之為Segment Comment)。 接受我們訓練的學生是中原大學資訊工程學系95學年度入學,選修計算機概論的大一新生,甲乙兩班共119人,我們將根據老師給予學生的大型程式作業(project)來檢驗,看學生們在接受了我們的訓練之後,能否養成在函式前與函式內都寫下註解的習慣。

並列摘要


For most people, it would spend a lot of time to understand something which was touched first time. If someone provided correlative documentation or comment in advance, it would be understood by people in shorter time. However, we discovered that it is very difficult for students to write documents or comments in code voluntarily only by the tranditional method “the instructor teach, and the students listen”. Comments in code is diffirence from which instructor teach in course. It has no standard model to be refered. It could not also be teach by “one command, one action”. The construction and the model of comment are all determined by programmers subjectively. To help novice programmer to develop the habit of writing comment in code, we ask the students who take an elective the computer science curriculum to do some exercise by using our networked computer-assisted learning system (called “CAL”) when they are at home. In last year, we provided a method to help the students to develope the habit of writing comment is code, but they only develope the habit of writing prolog comment in code. Now, in this year, we amend and improve this method. We hope the students to develope not only the habit of writing prolog comment in code but also the habit of writing segment comment in code. The experimental group consists of the novices. They are freshmen who took as an elective the computer science curriculum in Chung Yuan Christian University. There were 119 of them. We would inspect the codes of the two larger project we gave. Then we checked that if they develope the habit of writing prolog and segment comment in code.

並列關鍵字

computer-assisted learning comment simulate Habit

參考文獻


[16] 林傳凱(2006), “一個幫助初學者養成寫註解習慣的程式輔助學習系統”, 95年碩士學位論文
[1] ALLPORT F. “The influence of the group upon association and thought”, Journal fo Experimental Psychology 3:159-82, 1920
[3] Douglas Krarner. “API documentation from source code comments: a case study of Javadoc”, ACM, 1999
[4] Eriko Nuvitadhi, Wing Wah Leung, and Curtis Cook. “DO CLASS COMMENTS AID JAVA PROGRAM UNDERSTANDING”,33” ASEE/IEEE Frontiers in Education Conference, 2003
[5] Ernst von Glasersfeld. “An Exposition of Constructivism: Why Some Like it Radical”, 2003

被引用紀錄


連淑伶(2016)。運用註解學習活動改善概念迷思提升學習成效-以迴圈程式課程為例〔碩士論文,國立虎尾科技大學〕。華藝線上圖書館。https://www.airitilibrary.com/Article/Detail?DocID=U0028-0208201617332900
黃詩庭(2017)。透過合作註解學習活動改善程式設計概念迷思提升學習成效〔碩士論文,國立虎尾科技大學〕。華藝線上圖書館。https://www.airitilibrary.com/Article/Detail?DocID=U0028-1708201717170700

延伸閱讀