数据设计外文翻译
《数据设计外文翻译》由会员分享,可在线阅读,更多相关《数据设计外文翻译(7页珍藏版)》请在毕设资料网上搜索。
1、附录 A Data Design 1. DATA TYPES AND VALUE SETS Anyone who has ever programmed a computer is accustomed to the fact that you usually have to tell the computer whether the information stored in a particular location is an integer, a real number, a character string, a Boolean va1ue, or whatever. Most co
2、mputers have one electronic circuit for adding two integers and another for adding two real numbers, and, of course, addition does not make any sense at all, in general, for character strings. Because the pattern of bits in at storage location can usual1y be interpreted as any of these, the computer
3、 must be told what is intended. This specification is known as the type of the data. Identifying a data object as being of a particular type has the effect of defining an internal representation for the object. It also specifies which operations may be performed on that object and their effects. For
4、 example, the internal representation of an integer in most modem mainframe computers is a string of 32 bits in 2s complement format. The external representation is a character string in which only the digits 0 to 9 and the minus sign may appear. Suitable interpretations of all the standard arithmet
5、ic and logical operations are also implied when a data object is declared to be of type integer.It is also true (but perhaps less obvious) that declaring a data object to be an integer defines a collating system for occurrences of that object. That is, it specifies how the relatively complex operati
6、on, sort, should operate. Specific algorithms for converting between interna1 and external representations are also implied. 2. KEYS All attributes describe some aspect of an entity. Some attributes perform the additional role of distinguishing one particular entity occurrence from all others of the
7、 same type. For example, if care is taken not to assign any employee number to more than one person, then knowing an individuals employee number should be sufficient to locate all of the other attribute values for that individual. An attribute that can be guaranteed to have a unique value for each e
8、ntity is called a key.Sometimes there may be more than one attribute of an entity that uniquely identifies each occurrence. For example, if the personnel records include Social Security Numbers (and if it is felt that the controls on issuing duplicate Social Security Numbers are adequate), then eith
9、er Employee Number or Social Security Number could be used as the key for identifying employees. Keys are fundamental to virtually all methods of Physically managing data in computer systems. When there is more than one possible key, the alternatives are referred to as candidate keys. Normally, one
10、of these will be select as the primary key and used to determine where the record will be stored. Other candidate keys that may be used to facilitate retrieval are called secondary keys. 3. DATABASE SCHEMA This is a description of the data which is stored in the database and specifies what data elem
11、ents are store and what access paths are provided between these elements. The database schema also contains specifications of privacy as well as integrity constraints. It is somewhat similar to the conceptual schema, but is a description of data rather than of reality. Some aspects of reality which
12、are described by data in the database schema. Note, however, that the database schema does not specify how the data is actually stored or how access paths are provided. (Ideally it should not refer to files, records, sets or the like.) It is, therefore, an implementation independent description and
13、for this reason is sometimes referred to as logical schema. That part of the database schema which is of interest to a particular end-user or group of end users is called a database sub-schema. Ideally, a sub-schema should be specified using a notation which is most appropriate for the use to which
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中设计图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 数据 设计 外文 翻译
