第9章计算机学科基础.pptVIP

  1. 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
第9章计算机学科基础

Chapter 9 Abstract Data Types and Algorithms 抽象数据类型和算法 Chapter Goals 本章目标 Define an abstract data type and discuss its role in algorithm development 定义抽象数据类型并讨论它在算法开发中的角色 Distinguish between a data type and a data structure 区别数据类型和数据结构 Distinguish between an array-based implementation and a linked implementation 区别数组的实现和链式实现 Chapter Goals Distinguish between an array and a list 区别数组和列表 Distinguish between an unsorted list and a sorted list 区别无序列表和有序列表 Distinguish between a selection sort and a bubble sort 区别选择排序和冒泡排序 Describe the Quicksort algorithm 描述快速排序算法 Chapter Goals Apply the selection sort, the bubble sort, and the Quicksort to a list of items by hand 对列表手动应用选择排序法、冒泡排序法和快速排序法 Apply the binary search algorithm 应用二分检索法 Distinguish between the behavior of a stack and a queue 区别堆栈和队列的行为 Abstract Data Types 抽象数据类型 Abstract data type A data type whose properties (data and operations) are specified independently of any particular implementation 属性(数据和操作)明确地与实现分离的数据类型。 The goal in design is to reduce complexity through abstraction Abstract Data Types 抽象数据类型 In computing, we view data from three perspectives Application level 应用层 View of the data within a particular problem Logical level 逻辑层 An abstract view of the data values (the domain) and the set of operations to manipulate them Implementation level 实现层 A specific representation of the structure to hold the data items and the coding of the operations in a programming language Abstract Data Types 抽象数据类型 Data structures 数据结构 The implementation of a composite data fields in an abstract data type 一种抽象数据类型中的复合数据域的实现 Containers 容器 Objects whole role is to hold and anipulate other objects 存放和操作其他对象的对象 Array-Based Implementations 基于数组的实现 Recall that an array is a named collection of homogeneous items 数组是同构项目的有名集合。 An item’s place within the collection is called an index 通过每个项目在集合中的位置可以单独访问它。 If there is no ordering on the items in the container, we call the container unsorted 如果容器中的项目是无序的,就称这个容器是无序

文档评论(0)

5201314118 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

版权声明书
用户编号:7065201001000004

1亿VIP精品文档

相关文档