欢迎来到淘文阁 - 分享文档赚钱的网站! | 帮助中心 好文档才是您的得力助手!
淘文阁 - 分享文档赚钱的网站
全部分类
  • 研究报告>
  • 管理文献>
  • 标准材料>
  • 技术资料>
  • 教育专区>
  • 应用文书>
  • 生活休闲>
  • 考试试题>
  • pptx模板>
  • 工商注册>
  • 期刊短文>
  • 图片设计>
  • ImageVerifierCode 换一换

    (1.3.1)--ch1-03数据结构的基本概念-3.pdf

    • 资源ID:57972394       资源大小:384.90KB        全文页数:13页
    • 资源格式: PDF        下载积分:8金币
    快捷下载 游客一键下载
    会员登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录   QQ登录  
    二维码
    微信扫一扫登录
    下载资源需要8金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    (1.3.1)--ch1-03数据结构的基本概念-3.pdf

    Data Structures and AlgorithmsBasic Concepts in Data Structures-12Chapter 1 Introduction1.1 Basic concepts of data structureRelated nouns:DataData Data ElementData Element Data ObjectData Object Data StructureData Structure Data Type Data Type Data abstraction and abstractData abstraction and abstract data types data typesData Structures and AlgorithmsData Structures and Algorithms3Related nouns:Data:Data are numeric values,characters,and a collection of various symbols that can be entered into the machine and processed.Data includes integer、real、Boolean、image、character、sound,etc.,which can be input to the computer.For example:for C source programC compilerC compilerSource Source codecode(.c.c)Target Target programprogram(.obj.obj)Executable Executable programprogram(.exe.exe)C linkerC linkerData Structures and AlgorithmsData Structures and AlgorithmsChapter 1 Introduction1.1 Basic concepts of data structure4Related nouns:Data Element:It is the basic unit that composes the data,and the individual of the data collection,which is usually considered and processed as a whole in the computer.e.g.nullnullcomputercomputercomputer science0704computer science0704womanwoman Li ShaLi Sha1313PositionPosition DepartmentDepartment P ProfessionrofessionSexSex NameName S Student IDtudent ID Data Data element element数据项数据项A data element can be made up of one or more data items,which is the smallest unit with independent meaning.recordingData Structures and AlgorithmsData Structures and AlgorithmsChapter 1 Introduction1.1 Basic concepts of data structure5 据据 结结 构构Related nouns:Data Object:A data object is a collection of data elements of the same nature,and is a subset of data.e.g.Integer set:N=0,1,2,.infinite setCharacter set:C=A,B,Z limited setData Structures and AlgorithmsData Structures and AlgorithmsChapter 1 Introduction1.1 Basic concepts of data structure6Data Structure:e.g.Table Structure It refers to a collection of data elements that have one or more specific relationships with each other.It is a collection of data elements with structure.It refers to the relationship between data elements,that is,the organization of data.1313Data Structures and AlgorithmsData Structures and AlgorithmsChapter 1 Introduction1.1 Basic concepts of data structureS Student IDtudent ID NameName SexSex P ProfessionrofessionDepartmentDepartment PositionPosition nullnullcomputercomputercomputer science0704computer science0704Li ShaLi Shawomanwoman 7Data Structure:e.g.It refers to a collection of data elements that have one or more specific relationships with each other.It is a collection of data elements with structure.It refers to the relationship between data elements,that is,the organization of data.Tree structureteaching and research officelaboratorysystemofficeResearch institutionsschoolschoolGraph structure12543Data Structures and AlgorithmsData Structures and AlgorithmsChapter 1 Introduction1.1 Basic concepts of data structure8Data Type:e.g.In high-level languages,the value range of integer types is:-32768+32767,and the set of operators are addition,subtraction,multiplication,division,and modulo,namely+,-,*,/,%.Data type is the general term for a set of values with the same properties and a set of operations defined on this value set.Atomic type:Its value cannot be decomposed.Such as the standard types in C language(integer,real,character).Structure type:Its value is composed of several components in a certain structure,so it can be decomposed,and itscomponents can be non-structural or structural.What kind of pointer type is it?Data Structures and AlgorithmsData Structures and AlgorithmsChapter 1 Introduction1.1 Basic concepts of data structure9Related nouns:data abstraction and abstract data typesAbstract Data Type:Refers to a data type based on a logical relationship and a set of operations defined on this type.The abstract data type determines a model,but hides the implementation details of the model;it defines a set of operations,but hides the implementation process of the operations.Data Structures and AlgorithmsData Structures and AlgorithmsChapter 1 Introduction1.1 Basic concepts of data structure10Abstract Data TypeFor example:the description of the abstract data type of the linear table:ADT Linear_listData element All ai belong to the same data object,i=1,2,.,n n0;Logical structure All data elements ai(i=1,2,.,n-1)have an order relationship,a1 has no predecessor,an has no successor;Operation Let L be Linear_list Initial(L):Initialize the empty linear table;Length(L):Find the length of the linear table;Get(L,i):Get the i-th element of the linear table;Insert(L,i,b):Insert element b at the i-th position of the linear table;Delete(L,i):Delete the i-th element of the linear table;ADT Linear_list Data Structures and AlgorithmsData Structures and AlgorithmsChapter 1 Introduction1.1 Basic concepts of data structure11Abstract Data TypeThree ways to achieve:Traditional process-oriented programming Design method of package and model Object Oriented Programming (abbreviation OOP)Data Structures and AlgorithmsData Structures and AlgorithmsChapter 1 Introduction1.1 Basic concepts of data structure12 据据 结结 构构Related nouns:data abstraction and abstract data typesAbstract Data TypeADT has two important characteristics:Data abstraction:Data encapsulation:Separate the external characteristics of the entity from its internal implementation details,and hide its internal implementation details from external users.When using ADT to describe the entity handled by the program,it emphasizes its essential characteristics,the functionsthat it can complete,and its interface with external users(that is,theway the outside world uses it).Data Structures and AlgorithmsData Structures and AlgorithmsChapter 1 Introduction1.1 Basic concepts of data structureThanks!D Da at ta a S St tr ru uc ct tu ur re es s a an nd d A Al lg go or ri it th hm ms s

    注意事项

    本文((1.3.1)--ch1-03数据结构的基本概念-3.pdf)为本站会员(刘静)主动上传,淘文阁 - 分享文档赚钱的网站仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知淘文阁 - 分享文档赚钱的网站(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于淘文阁 - 版权申诉 - 用户使用规则 - 积分规则 - 联系我们

    本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

    工信部备案号:黑ICP备15003705号 © 2020-2023 www.taowenge.com 淘文阁 

    收起
    展开