版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Chapter 6,problem solving and algorithm design问题解决和算法设计,6-2,Chapter Goals牙齿章节中的目标,Determine whether a problem is suitable for a cooplem说明解决电脑问题的步骤distinguish between following an algorithm and developing one差异执行算法和开发算法apply top-down design methodology to develop an algorithm to sol Ve a prool在6-3、Ch
2、apter Goals、Define the key terms in object-oriented design物件导向设计物件导向设计方法中,套用物件导向设计方法至develop a collectiondiscuss the following threads as they relate to Problem Solving 3360 information hiding,abstraction,Naming things,and testing疑难解答和数学方法的新观点his how to solve it list is quite general他的“如何解决?”list It
3、ten in the context of solving mathematical problems数学问题解决方案上下文中创建的the list becomes applicable to all types of problems牙齿列表完全适用于所有类型的问题。6-6,Ask Questions.问题,to understand the problem what do I know about the problem?你对牙齿问题了解多少?what is the information that I have to process in order the find the solut
4、ion?要找到解决方案,需要处理哪些信息?What does the solution look like?解决方案是什么?6-7,Ask Questions.问题,特殊存取快讯的What sort of special cases exist?特殊情况是什么?how will I recognize that I have found the solution?你怎么知道你找到了解决方案?6-8,怎样解决?第一步要理解问题。第二步是找到信息和解决方案之间的连接。如果没有直接联系,可能需要考虑辅助问题。最终必须得到解决方法。3阶段运行方案4阶段分析结果解决方案,6-9,查找Look for F
5、amiliar Things熟悉的情况,you should never reinvent the wheel in computing,you see certain problemems A goodapplies The concept of abstraction The divide-and-conquer approach can be applied over and over again until each subtask is manageable Algorithms算法,6-12,了解电脑问题解决,figure 6.2 the computer problem-solv
6、ing process,6-13,computer process算法开发阶段分析(定义)问题建议算法开发问题解决方案的逻辑阶段序列测试算法确认结果并修改程序,直到得到正确的答案。维护阶段使用节目维护来满足更改的要求或更正错误。6-14,figure 6. the interactions between problem-solving phases,问题解决阶段,实施阶段,6-15,医生代码Uses a mixture of EnglishFollowing an algorithm,preparing a hollandaise sauce蛋黄奶油酸辣酱练习,figure 6.4,6-17
7、,following an algorithm,preparing atwo methodologies that currently used top-down design由上而下设计Object-oriented design设计,6-19,Top-Down Design由上而下设计,Breaking配置“creating a hierarchical structure of problems and sub problems(包含modums问题和子问题的分层结构,6-20,Top-Down Design)”。this process continues for as many le
8、vels as it takes to expand every task to the smallest details A step that needs to be expanded is an abstract step and e-mail address this list should then be printed in alphabetical order the names to be included in the list are on scraps of paper and business caper de The process itself must be te
9、sted流程本身必须经过Testing at the Algorithm development phase involves looking at each level of the top-down design算法开发阶段的测试taking sample data values and simulating the design using the sample data inspection review One person(not the designer)Reads the design(hesign)For example,a student,6-30,object-oriented design面向对象设计,a group of similar objects is described by an object classs对象类Or classa method is a named algorithm that manipulates the data values in
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 湖南省永州市2026届九年级中考一模数学试卷(含解析)
- 2025年湖南中南大学湘雅三医院招聘笔试真题
- 临沂城市职业学院招聘专任教师公共课教师及教辅人员考试真题2025
- 太阳能光电建筑生产建设项目可行性研究报告
- 电商项目可行性研究报告
- 人员变动应急处置预案(3篇)
- 企业团建篝火活动策划方案(3篇)
- 设备监理师《设备监理应用实践》模拟试题(带解析)
- 安全培训自查报告(3篇)
- 电子产品出口代理长期合同三篇
- 2026河北邢台市应急管理宣传教育培训中心招聘劳务派遣工作人员5名笔试备考题库及答案详解
- 2026年福建省乡总贸易有限公司员工招聘1人笔试模拟试题及答案详解
- 英语()浙江Z20名校联盟(浙江名校新高考研究联盟)2026届高三第一次联考(8.21-8.23)
- 2026年广东省中考数学试卷(含详细答案解析)
- 山西留神峪“5·22”特大爆炸案矿难追责落地
- 2026-2030中国建筑机器人行业市场深度调研及发展趋势与投资前景研究报告
- 中国哲学简史
- 快递柜安全管理制度
- 2025-2025苏教版三年级数学上册《认识几分之一》省级公开课教案
- 初中道德与法治案例分析教学探索:人工智能辅助数字化学生评价结果可视化策略研究教学研究课题报告
- 微生物检验技术标准流程
评论
0/150
提交评论