- 9
- 0
- 约5.99千字
- 约 19页
- 2019-03-06 发布于江苏
- 举报
Chapter 1Data Structure and Algorithms A Philosophy of Data Structure Abstract Data Type and Data Structure Problems, Algorithms, and Programs 1.1 A Philosophy of Data Structure 1. The Need for Data Structure Data structure + Algorithm = Programming The system development process: (1) the purpose of the project (input,output) (2) break the problem down into management pieces (3) choose concrete representation for data objects and write algorithm for each operations on them (4) developing correctness for programs Data structures organize data? more efficient programes More powerfull Computers? more complex applications More complex applications demand more calculations. Complex computing tasks are unlike our everyday experience. Organizing Data Any organization for a collection of records can be searched. Processed in any order or modified. The choice of data structure and algorithm can make the difference between a program running in a few seconds or many days. Efficiency A solution is said to be efficient if it solves the problem within its resource constraints. -space -time .The cost of a solution is the amount of resources that the solution consumes. 2. Definition: A data structure is any data representation and its associated operation 3.Three Steps to select a data structure Analyze problem, determine the resource constraints Determine the basic operations that must be supported and quantify the resource constraints for each operation Select the data structure that best meets these requirements 4.cost and benefits Each data structure has associated cost and benefits. 1.2 Abstract Data Type and Data Structure Definitions: Type --- a collection of values Data type ------ a type and a set operations that act on this type. Data item --- a piece of information or a record whose value is drawn from a type. Abstract Data Type (ADT) ADT: De
您可能关注的文档
- 消息:2019年考研深圳大学新增心理学专硕招生.doc
- Wake up in the morning feeling like P Diddy早晨醒来感觉自己就像吹牛老爹.doc
- 第七届银行业务技能比赛实施细则.docx
- 湖北宜昌一中2015年秋高二数学上学期期末考试试卷 文.doc
- 烧结厂设计说明书.doc
- 为了学生终生发展—10年高三文综历史备考总结.ppt
- 健康专题第一课.ppt
- 2012年高考真题—(上海卷)word详细答案解析版.doc
- 高中历史专题六西方人文精神起源与发展专题小结与测评人民版必修3.doc
- 最受理科生青睐十大高考专业.doc
- 山西天一大联考2025-2026学年高二上学期期末学情监测语文试题(试卷+解析).docx
- 山西忻州部分学校2025-2026学年高一上学期2月质量检测数学试题(人教B版)(试卷+解析).docx
- 山西运城市2025-2026学年高二第一学期期末调研测试数学试题(试卷+解析).docx
- 陕西省榆林市榆阳区2025-2026学年八年级上学期期末地理试题(试卷+解析).docx
- 陕西西安市碑林区2025-2026学年度第一学期期末八年级生物试题(试卷+解析).docx
- 四川省广元市苍溪县2025-2026年八年级上学期期末道德与法治试题(试卷+解析).docx
- 江苏泰州市姜堰区2025-2026学年七年级上学期1月期末数学试题(试卷+解析).docx
- 江苏省扬州市邗江区2025-2026学年九年级上学期期末考试化学试题(试卷+解析).docx
- 江西上饶市铅山县2025-2026学年第一学期期末考试八年级数学试题(试卷+解析).docx
- 江苏扬州市高邮市2025-2026学年度第一学期期末学业质量监测试题九年级英语(试卷+解析).docx
原创力文档

文档评论(0)