Data Types and Data Structures (数据类型和数据结构)

    Before defining the specifies of the data type and data structures,let us first define a term that will be used throughout this text. A data value is a piece of a data that we consider, perhaps only momenarily ,as a single entity. We might consider, for example the integer value 593 as a single data value.

  The set { 32.99,-1.04,0.396} might be considerd in its entirety a single data value. It might also be considered to be composed of three distinct component values that are somehow related. In this case, theri relationships to each other are that they are members of the same set. If we decompose a data value as we have done with the set value, we need term for the pieces that result.Each piece is a value fo another data type in this case real. We will call these component values component elements, or simply elements.

2:

在定义数据数据结构和数据类型的一些特点之前,先让我们来定义在全文中都要用到的一些术语.  数据值:一个数据值就是一个可以暂时看作是单独的整体的一个数据段,例如,我们可以把整数593看作上单独的数据值.

 集合{3299,01,04,0.396} 可以看作上从整体上看可以看作是一个单独的数据值.当然,他也可以看作是三个以莫种关系相关联的不同的部分成.在这个例子中,他们之间的关系就是是同一个集合的成员.假如我们象分解一个集合的值来分解一个数据值的话,我们必须定义一个术语来描述结果的数据段. 每个数据段就是另一个数据类型的值(这个例子就是real型).我们称这些组成部分为组成元素,简称元素.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值