Standard ICS number:Information technology, office machinery and equipment >> 35.020 Information technology (IT) general
Standard Classification Number:Electronic Components and Information Technology>>Information Processing Technology>>L70 Comprehensive Information Processing Technology
This standard applies to the design, production, use, maintenance, management, scientific research, teaching and publishing of all fields related to electronic computers and information processing. GB 5271.15-1986 Data Processing Vocabulary Part 15 Programming Languages GB5271.15-1986 Standard Download Decompression Password: www.bzxz.net
Some standard content:
1 Overview 11 Introduction National Standard of the People's Republic of China Data processing --. Vocabulary Part 15: Programming languages UDC 681.3:001. 4 GB5271.1586 This vocabulary consists of about twenty parts. This part describes the concepts of computer programming languages. This part of the vocabulary is equivalent to the international standard IS0/2382/15-1985 "Data processing Vocabulary-Part 15: Programming languages". 1.2 Scope This vocabulary selects some terms and concise definitions of concepts in the field of data processing, and clarifies the relationship between different concepts, so as to facilitate domestic and international exchanges. The vocabulary involves all major aspects of data processing, including the main processing procedures and the types of equipment used, data representation, data organization, data description, computer programming and operation, external devices, data communications and other special applications. 1.3 Scope of application This standard applies to the design, production, use, maintenance, management, scientific research, teaching and publishing of all fields related to electronic computers and information processing. 2 Principles and rules to be followed The following rules have been described in detail in GB-5271.1-85 "Data Processing Vocabulary Part 01 Basic Terms". They are also applicable to this part and are not repeated here. Only the titles of each item are listed as follows: 2.1 Definition of entries; Composition of entries; Classification of entries; Selection of terms and terms in definitions; Polysemic terms: Abbreviations; Use of parentheses; Use of square brackets; Use of boldface terms and asterisks in definitions; Spelling; Compilation of index tables. Terms and Definitions 15 Programming Language General Terms Issued by the National Bureau of Standards on July 31, 1986 Implemented on May 1, 1987 Lexical Unit Lexical Token GB5271.15—86 A component of a language, which, as specified, represents the basic unit of language meaning. Example: a literal, such as "G25" a keyword, such as "PRINT" a separator, such as ";". 15.01.02 Identifier identifier A lexical unit that gives a name to a language object. Example: the name of a variable, array, or record, etc. Note: An identifier usually consists of a letter followed by any number of letters, numbers, or other characters. 15.01.03 keyword keyword A lexical unit that, in some text, represents some language component. Example: In some text, IF represents a statement. Note: A keyword usually has the form of an identifier. reserved word reserved word A keyword that may not be used as an identifier. Note: In ADA, all keywords are reserved words; in FORTRAN, there are no reserved words. literal literal A lexical unit that directly represents a value. Example: "14" represents the integer fourteen; "APRIL" represents the string APRIL; 3.0005E2 represents the number 300.05. statement statement A language component that represents a step in a series of actions or a group of instructions. 15.01.07 compound statement a statement consisting of several consecutive statements. NOTE Usually, these statements are held together by some grammatical rule. 15.01.08 block (in a programming language) block (in a programming language)A compound statement whose scope corresponds to the scope of at least one of the statements it contains. NOTE Blocks may also specify storage allocations or segment a program for other purposes: 15.01.09module module program unit program unit a language construct consisting of a number of procedure or data* statements. Examples: "package" in ADA; "program unit" in FRRTRAN; "external procedure" in PL/1, 15.01.10 encapsulated type encapsulated type module representing an abstract data type Note: A closed type hides the representation of its value and allows other modules to operate on it. Example: stack handling module. GB5271-15--86 program (in a programming language) program (in a programming language)A logical collection of one or more related modules. 15.01.12Comment comment A language component included in the program text that has no effect on the execution of the program. Note: Comments can be used to explain certain aspects of a program. Environment description environment description ·A language component that describes features, which is not part of the program but is related to its execution. Examples include machine characteristics, file characteristics, interface programs to other programs, etc. 15.02 General properties and functions declaration A function used to establish a language object. Note: "Declaration" usually includes the addition of identifiers to the language object involved and the specification of attributes. default default A property that is assumed when an attribute, value, or option is not explicitly specified. implicit declaration implicit declaration A declaration caused by the presence of an identifier, where the attribute is determined by the default attribute. inherent built-in predefined The properties of a language object are described by the definition of the programming language. Examples: the inherent function SIN in PL/1; the inherent data type INTEGER in FORTRAN. 15.02.05 scope (of a declaration) scope (of a declaration) The part of the program to which the declaration applies. Note: () "scope of an identifier" is often used as a synonym for the scope of an identifier declaration. ② A language object may not be referenced in the entire scope, because it may be obscured by a declaration of the same identifier in an inner block. 15.02.06local Property of the relationship between a language object and a block, the scope of which is wholly within the block. 15.02.07 global global Property of the relationship between a language object and a block, the scope of which extends beyond the block but is still included in a larger block. external external property of a language object, the scope of which extends beyond a module. 243 GB 5271.15--86 The entry name of a module is external. static static An attribute that defines some characteristics that can only be established before a program* is executed. Example: The length of a fixed-length variable is static. 15.02.10dynamic dynamic An attribute that defines some characteristics that can only be established during the execution of a program*. Example: The length of a variable-length data object is dynamic. 15.02.11 Lifetime lifetime The portion of execution time during which a language object exists. reference reference A language construct that refers to a declared language object. Example: an identifier. (name) qualification (name) qualification The ability to refer to a language object and an identifier that declares a construct of a procedure object. Examples: References to constructs of a record (BofA in COBOL), members of a library, language objects in a module. Uniform referencing Uniform referencing A property of a programming language that states that two or more language constructs used in a reference have the same form. Examples: language components with name qualification and indirect reference; language components with subscripts and actual parameters, 15.03 data objects variable A language object that can take different values but can only take one value at a time. Note: "· The value of a variable is usually restricted to a certain data type. Constant constant A language object that takes only one specific value. agregate A structured collection of variables or constants that forms a data type. Array A collection of data objects with the same properties, each of which is uniquely identified by a subscript. Record record A collection of data objects that are usually accompanied by an identifier. 15.03.06 Variable part (about records) GB5271.15-86 variant part (of a record) A part of a record whose data objects are defined by another method. Note: Both the number and composition of data objects are variable. Area (in a programming language) area (in a programming language) language)-space and facilities for inserting, accessing, and deleting data objects. (formal) parameter . dummy argument a language object whose identifier appears at the entry point of a procedure and is associated with a corresponding real parameter specified by the procedure call used each time the procedure is executed. actual parameter actual parameter (actual) argument a language object that appears in a procedure call and is associated with a corresponding formal parameter during the execution of the procedure. 15.04 Properties and facilities of data objects 15.04.01 (data) type a picture (in a programming language) of a set of values and the operations allowed on them. language) A language component that describes a data type in the form of a text model composed of strings*. format format A language component that uses characters to describe the representation of data objects in a file. subscripting subscripting A facility that refers to an array element through an array reference and one or more expressions; the values of these expressions determine the position of the element. Note: This term also applies to the use of this facility. indirect referencing indirect referencing A method of referring to a language object by the value of a data object. Note: ①This term also applies to the use of this facility. ②) References can be made along a series of data objects, where each data object (except the last) refers to the next data object, and the last data object refers to the referenced language object. 15.04.06 data flow data flow The transfer of data between constants, variables, and files through the execution of statements, procedures, modules, or programs. 15.04.07 assignment GB5271.15 A function of giving a value to a variable. NOTE: This term also applies to the use of that function. Assignment by name Assign a record value to only those record variables that have the same identifier. Initialization (to) initialize Assign a value to a data object at the beginning of its life. 15.04.10 Automatic storage allocation automatic storage allocationA method of allocating space for a data object during the execution of the scope in which the data object is located. NOTE: Automatic storage allocation is a form of dynamic storage allocation. Another form is program-controlled storage allocation. Assumed-size aggregate An aggregate used as a formal parameter whose subscript range is determined by some or all of the corresponding real parameters. 15.04.12 adjustable-size aggregate adjustable-size aggregate some or all of its formal parameters have dynamic subscript ranges. An aggregate used as a formal parameter, editing (in a programming language) editing (in a programming language) editing (in a programming language) a value converted into a representation specified by a given format. 15.05 Processing objects 15.05.01 Expression expression A language construct used to compute a value from one or more operands*. NOTE Operands may be literals, identifiers, array references, function calls, etc. 15.05.02 procedure A block with or without parameters, the execution of which is caused by a procedure call. Function procedure function (procedure) A procedure that, when executed, produces a value representing the function. Its procedure call can be used as an operand in an expression. Example: Function SIN, when part of the calling procedure SIN(X), produces the value SIN(X). Asynchronous procedure asynchronous procedure A procedure that can be executed in parallel with the calling part of the procedure. Critical section critical section In an asynchronous procedure, the part of the procedure that cannot be executed at the same time as some part of another asynchronous procedure. Note: The part of the other asynchronous procedure is also a critical section. 15.05.06 Label (in a programming language) label (in a programming language) A language component that names a statement and includes an identifier. 246 GB 5271.15-86 15.06 On the nature and function of processing objects Execution sequence execution sequence The execution order of program statements and the execution order of certain parts of a program statement. 15.06.02 Control flow control flow The collective name for all possible paths through which a program may be executed. Note: A control flow graph can represent control flow. Unconditional statement unconditional statement A statement that specifies a possible order of execution. 15.06.04 Conditional construction conditional construction A language construct that specifies several different execution sequences. Examples: CASE statement, IF statement, conditional expression in ALGOL. Loop construction loop construction A language construct that specifies the repetition of an execution sequence. Examples: DO loop in FORTRAN; FOR loop in ALGOL; PERFORM loop in COBOL; DO WHILE loop in PL/1. (procedure) call (procedure) call -A language construct that causes the execution of a procedure. Note: A procedure call usually consists of an entry name and possible formal parameters. Entry (of a procedure) entry (of a procedure) A language construct in a procedure that specifies the start of the execution sequence of the procedure. Note: A procedure can have multiple entries, each of which usually consists of an identifier called an entry name and possible formal parameters. parameter association parameter association Formal parameters are associated with corresponding real parameters specified in a procedure call. return return (from a procedure) A language construct in a procedure that specifies the end of the execution sequence of the procedure. Note: The execution sequence normally continues from the point of call. side effect (of a function procedure) side effect (of a function procedure)Any effect on the outside world caused by the execution of a function procedure other than the result value produced. branch construct branch construct A language construct that selects one of different execution sequences by reference through a label*. 15.06.12 Exception (in a programming language) exception (in a programming language)A special condition that may occur during the execution of a program and is considered abnormal and may cause a deviation from the normal execution sequence. To this end, programming languages have facilities to define, expose, recognize, ignore, and handle it. Examples: (ON-) conditions in PL/1, exceptions in ADA. (Operator) precedence An ordering relationship that specifies the order in which operators in an expression are evaluated. conversion (in a programming language) The exchange of values of the same data but of different data types. Note: Because the precision of data representation varies between different data types, information may be lost in the conversion. 15.06.15 activation The manifestation of a procedure created by a specific call. 15.06.16 connection The ability of modules to interact with each other (in the case of procedure calls to asynchronous procedures). Example: In COBOL, the ENABLE statement establishes a communication connection and the OPEN statement establishes an input/output connection. Assignment by name Reserved words Identifiers Expressions Parameter associations Program units Initialization Lexical units Undetermined-size aggregates Adjustable-size aggregates Dynamic Unconditional statements Branch constructs Enclosed types Compound statements (Procedure) return (Procedure) call Keywords Inherent GB5271.15--86 Appendix A Chinese index (reference ) Function procedure Side effect Environment description Subscript Indirect reference Static Local Variable part Control flow Critical section (Name) qualification Internal Global Default Lifetime Real parameter (Data) type Data flow (Operator) priority Conditional construct External (Formal) parameter Loop construct GB 5271.15 of a procedure consistent reference implicit declaration asynchronous procedure execution order automatic storage allocation scope activation (actual) argument actual parameter adjustable- size aggregate agregate assignment assignment by name assumed- size aggregate asynchronous procedure automatic storage allocationblock branch construct built-in comment compound statement conditional const ruction connection constant control flow conversion critical section data flow (data) type declaration default dummy argument dynamic GB5271.15-86 text index (reference) editing encapsulated type entry ( of a procedure) environment description exception execution sequence expression external format parameter (formal) function (procedure) global identifier implicit declaration indirect referencing keyword lexical token. lexical unit lifetime literat loop const ruction module (name) qualification (operator) precedence GB5271.15-8615-8615-8615-8615-8615-86 The order of execution of an expression. For this reason, programming languages have facilities for defining, exposing, recognizing, ignoring, and handling it. Examples: (ON-) conditions in PL/1, exceptions in ADA. operator precedence An ordering relation that specifies the order in which operators in an expression are evaluated. conversion (in a programming language) The exchange of values of the same data but of different data types. Note: Because the precision of data representation varies between data types, information may be lost in the conversion. 15.06.15 activation The manifestation of a procedure created by a specific call to that procedure. 15.06.16 connection The facility that enables modules to interact with each other (in the case of procedure calls to asynchronous procedures). Example: In COBOL, the ENABLE statement establishes a communication connection and the OPEN statement establishes an input/output connection. Assignment by name Reserved words Identifiers Expressions Parameter associations Program units Initialization Lexical units Sized aggregates Sized aggregates Dynamic Unconditional statements Branch constructs Enclosed types Compound statements (Procedure) returns (Procedure) calls Keywords Inherent GB5271.15--86 Appendix A Chinese index (References ) Function procedure Side effect Environment description Subscript Indirect reference Static Local Variable part Control flow Critical section (Name) qualification Internal Global Default Lifetime Real parameter (Data) type Data flow (Operator) priority Conditional construct External (Formal) parameter Loop construct GB 5271.15 of a procedure consistent reference implicit declaration asynchronous procedure execution order automatic storage allocation scope activation (actual) argument actual parameter adjustable- size aggregate agregate assignment assignment by name assumed- size aggregate asynchronous procedure automatic storage allocationblock branch construct built-in comment compound statement conditional const ruction connection constant control flow conversion critical section data flow (data) type declaration default dummy argument dynamic GB5271.15-86 text index (reference) editing encapsulated type entry ( of a procedure) environment description exception execution sequence expression external format parameter (formal) function (procedure) global identifier implicit declaration indirect referencing keyword lexical token. lexical unit lifetime literat loop const ruction module (name) qualification (operator) precedence GB5271.15-8615-86 The order of execution of an expression. For this reason, programming languages have facilities for defining, exposing, recognizing, ignoring, and handling it. Examples: (ON-) conditions in PL/1, exceptions in ADA. operator precedence An ordering relation that specifies the order in which operators in an expression are evaluated. conversion (in a programming language) The exchange of values of the same data but of different data types. Note: Because the precision of data representation varies between data types, information may be lost in the conversion. 15.06.15 activation The manifestation of a procedure created by a specific call to that procedure. 15.06.16 connection The facility that enables modules to interact with each other (in the case of procedure calls to asynchronous procedures). Example: In COBOL, the ENABLE statement establishes a communication connection and the OPEN statement establishes an input/output connection. Assignment by name Reserved words Identifiers Expressions Parameter associations Program units Initialization Lexical units Sized aggregates Sized aggregates Dynamic Non-conditional statements Branch constructs Enclosed types Compound statements (Procedure) returns (Procedure) calls Keywords Inherent GB5271.15--86 Appendix A Chinese index (References ) Function procedure Side effect Environment description Subscript Indirect reference Static Local Variable part Control flow Critical section (Name) qualification Internal Global Default Lifetime Real parameter (Data) type Data flow (Operator) priority Conditional construct External (Formal) parameter Loop construct GB 5271.15 of a procedure consistent reference implicit declaration asynchronous procedure execution order automatic storage allocation scope activation (actual) argument actual parameter adjustable- size aggregate agregate assignment assignment by name assumed- size aggregate asynchronous procedure automatic storage allocationblock branch construct built-in comment compound statement conditional const ruction connection constant control flow conversion critical section data flow (data) type declaration default dummy argument dynamic GB5271.15-86 text index (reference) editing encapsulated type entry ( of a procedure) environment description exception execution sequence expression external format parameter (formal)www.bzxz.net function (procedure) global identifier implicit declaration indirect referencing keyword lexical token. lexical unit lifetime literat loop const ruction module (name) qualification (operator) precedence GB5271.15-8615 of a procedure)【1 consistent reference implicit declaration asynchronous procedure execution order automatic storage allocation scope activation (actual) argument actual parameter adjustable- size aggregate agregate assignment assignment by name assumed- size aggregate asynchronous procedure automatic storage allocationblock branch construct built-in comment compound statement conditional const ruction connection constant control flow conversion critical section data flow (data) type declaration default dummy argument dynamic GB5271.15-86 text index (reference) editing encapsulated type entry ( of a procedure) environment description exception execution sequence expression external format parameter (formal) function (procedure) global identifier implicit declaration indirect referencing keyword lexical token. lexical unit lifetime literat loop const ruction module (name) qualification (operator) precedence GB5271.15-8615 of a procedure)【1 consistent reference implicit declaration asynchronous procedure execution order automatic storage allocation scope activation (actual) argument actual parameter adjustable- size aggregate agregate assignment assignment by name assumed- size aggregate asynchronous procedure automatic storage allocationblock branch construct built-in comment compound statement conditional const ruction connection constant control flow conversion critical section data flow (data) type declaration default dummy argument dynamic GB5271.15-86 text index (reference) editing encapsulated type entry ( of a procedure) environment description exception execution sequence expression external format parameter (formal) function (procedure) global identifier implicit declaration indirect referencing keyword lexical token. lexical unit lifetime literat loop const ruction module (name) qualification (operator) precedence GB5271.15-86 Tip: This standard content only shows part of the intercepted content of the complete standard. If you need the complete standard, please go to the top to download the complete standard document for free.