查詢結果分析
來源資料
頁籤選單縮合
題名 | The Study of Students' Debugging Processes=學生程式除錯步驟之研究 |
---|---|
作者 | 曹秀蓉; | 書刊名 | 嶺東學報 |
卷期 | 10 1999.02[民88.02] |
頁次 | 頁291-314 |
分類號 | 312.2 |
關鍵詞 | 程式除錯步驟; 大專生; |
語文 | 英文(English) |
中文摘要 | 本研究探討大專生的程式除錯步驟,參與者包括六位程式語言的初學者、六位已 學習兩年的中階者(這十二位都是大專生)和六位電腦講師,研究者將一份隱藏九個錯誤的 程式存放在電腦中,而這十八位參與者各自單獨找出這些錯誤,同時他們的口述及手眼動作 被攝影機錄製下來以為研究資料,研究者根據程式除錯的產生模式分析每位參與者的除錯步 驟,研究結果顯示初學者看過編譯程式提供的錯誤訊息後,傾向再逐行檢查程式,這樣的步 驟意謂著初學者無法利用錯誤訊息馬上找出所指的程式錯誤,意即初學者仍依賴本身的程式 知識,而非線上輔助訊息,只是執行程式後再逐行檢查程式雖然可以找出語法錯誤,這樣的 步驟不僅比較沒有效率,對於尋找語意錯誤及邏輯錯誤似乎更事倍功半,研究也發現,當初 學者及中階者找不到程式錯誤時會固守且重複著同樣的除錯步驟,而電腦講師則轉而嘗試其 他除錯步驟以便找出程式錯誤。 |
英文摘要 | This study investigates college students' cognitive processes in debugging a program. It addresses the uncertainty about the quality of college students' diagnostic processes. Twelve students and six lecturers participated in the debugging task. Their current verbal, visual, and behavioral protocols and retrospective reports were recorded for data analysis. The protocol analysis method was used to obtain answers to the research question. Participants' debugging processes were discriminated on the basis of the debugging production model. The results showed that novices tended to recheck the program code after getting the information from the error message, which implies novices' inadequate abilities of interpreting the error message. Furthermore, novices relied on domain knowledge rather than on the on-line help. The finding indicated that semantic bugs were more difficult to find in this regard because one usually did not find them with the on-line information. Novices occasionally found bugs by examining the program line by line. Even when novices located logical bugs, they tended to rely on their own domain knowledge. When the bug was difficult to locate, both novices and intermediates were fixed in some debugging processes, whereas experts diverged to whichever processes were accessible to them at that point. |
本系統之摘要資訊系依該期刊論文摘要之資訊為主。