- 1、本文档共30页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
计算机专业英语0
计算机专业英语Computer Academic English Unit 10 Data Structure and Algorithms Unit 10 Data Structure and Algorithms 10.1 Abstract Data Types and Algorithms Data abstraction is a central concept in program design. The abstraction defines the domain and structure of the data, along with a collection of operations that access the data. Unit 10 Data Structure and Algorithms The abstraction, called an abstract data type (ADT) ,creates a user defined data type whose operations specify how a client may manipulate the data. The ADT is implementation independent and enables the programmer to focus on idealized models of the data and its operations. Unit 10 Data Structure and Algorithms 在项目设计中数据抽象是一个中心概念。定义了数据的域和结构,和一系列对数据的操作。抽象,被称为一个抽象数据类型(ADT),创建一个指定了用户如何操作数据的用户定义数据类型。ADT是执行独立的和可以让程序员专注于数据的理想化模型和操作。 Unit 10 Data Structure and Algorithms Examples 1. An accounting program for a small business maintains inventory information. Each item in the inventory is represented by a data record that includes the items identification number, the current stock level, pricing information, and reordering information. Unit 10 Data Structure and Algorithms A set of inventory handling operations updates the different information fields and initiates a reordering of stock when inventory levels fall below a certain threshold. The data abstraction describes an item as a record containing a series of information fields and operations that would be used by a company manager for inventory maintenance. Unit 10 Data Structure and Algorithms Operations might include changing the Stock on Hand value when units of the item are sold, changing the Unit Price when a new pricing policy is used, and initiating a reorder when the stock level falls below the reorder level. Unit 10 Data Structure and Algorithms 实例 1、一个小企业维持库存信息的会计程序。库存的每一个项目表示为一个数据记录,它包括物品的数量、当前库存量、价格信息、和再订购信息。一套库存的处理操作更新不同信息领域,和在库存量低于某一限度时启动补充库存。一个数据抽象描述一个物品为一个能被公司的存货经理使用的包括一系列信息和操作的记录。操作可能包括在物品被卖掉后改变库存量,在新的价格政策实行时改变物品的单价,在库存水平低于补货标准时进行补充库存。 Unit 1
文档评论(0)