预览加载中,请您耐心等待几秒...
1/2
2/2
在线预览结束,喜欢就下载吧,查找使用更方便
如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
SE121-2010(fall)Programmingwork#4,Handout11thDue13thNotes:阅读“learningtoprogramwithAlice”,回答以下问题。这些问题将在软件工程概念课中讨论。请将要点记录在你的笔记本上,以方面你开展课堂讨论。ProgrammingAssignment#4WhatisthedifferencebetweenExercises(练习)andProjects(工程)?(提示:Alice第四章练习中引入了工程,请用你自己的工作理解解释两者之间的差异。)Whatdothewordsproblemsolvingmeantoyou?Explainthefourstepsofprogramminginyourwords.(提示:Alice第二章开始讲了解决问题的方法和编写程序的步骤,建议对比Dalechap6’sPolya方法)HowtodescribescenariosofthestorylineinAlice?Whichtoolsareusedinit?Explaineachtoolwithexamples.(提示:Alice第二章提及了许多描述分析问题的工具,如故事板(Storyboard)、草图(draft)、伪代码(pseudocode)、流程图(flowchart)。它们各有什么用处)CommentswillbeignoredinAlice,Whydowewritecommentsinprogramming?(提示:Alice第二章提及注释的重要性,请检查你的程序,注释量约占代码10%-30%之间)Explainconceptswithexampleinyourproject,suchasclass,objectandinstance,bydefault,methodandparameter.(提示:Alice第四章开始提及了面向对象的一些基本概念,运用面向对象方法你可以更加接近现实的方法思考算法,及算法的另一个含义:对象相互协作的动作序列)Themethod“stepwiserefinement”isintroducedfromchapter4.Whynotfromchapter1or2?Comparethe“stepwiserefinement”and“top-downdesign”?(提示:Alice第四章开始强调逐步精化(stepwiserefinement)设计方法,与DaleChap6.2介绍的由顶向下设计方法有区别吗?)DrawaDraftpictureaboutthenumberofbugsandtherateofprogress(工程进度)accordingyourexperience.Explainbenefitsoftheincrementdevelopmentstrategy.(提示:Alice第五章提及了增量开发(incrementdevelopment),Alice的Tutorials也是每增加一个新功能就测试一次)Documentthestorylineofyourproject.Areyousurethatanyoneelsecancompletetheprojectwhichjustlikethatyouhavedonewiththedocumentofthestoryline?Why?(提示:良好的文档是团队沟通协作的基础,正确的方法和工具的使用将帮助你实现这个目标)CRCcardisapopulartoolinObject-OrientedDesignMethodology.WriteaCRCcardoftheobjectworldinyourproject.(Option)Andthen,invitesomeclassmatesasagroup,re-designyourprojectfollowingthemethodinDaleChap6.3.(提示:DaleChap6.3介绍了使用CRC卡作为面向对象的设计方法)