Please enable JavaScript.
Coggle requires JavaScript to display documents.
Data Types, character string type, Specification of data type, how they…
Data Types
Types
Primitive Data Types
-
Character Type
character set- the aggregate of characters that are used in a computer system or programming language
-
-
-
collating sequence- the ordering of the characters in a character set - defines the ordering of characters for relational operations
-
-
-
-
Numeric Data type
Representation
-
Real world
-
-
-basically, represents whole numbers
Hardware Support
others are supported by some programming languages, which are not directly supported by the hardware
-
-
-
-
-
-
Complex Data Type
Descriptors
in an implementation, a descriptor is an area of memory that stores the attributes of a variable
for dynamic attributes, the descriptor must be maintained during execution. in this case descriptor is used by the run time system,
-
-
-
-
-
-
-
Ordinal Data Types --Common Uses - for indexes of arrays, for loop variables
-
Sub-range Type
-
All the operations defined for the parent type are also defined for the subrange
type, except assignment of values outside the specified range.
-
-
-
implementation
Range checking must be implicitly included by the compiler in every assignment of
a variable or expression to a sub-range variable
Usually implemented by associating a non-negative integer value with each
symbolic constant in the type.
-
Regular Expressions
-
-
-
-
Anchors
Generally, a regular expression engine stops the matching process
after it detects the first match unless otherwise specified.
-
-
-
-
-
Data Abstraction
can declare variables of that type, even though the actual representation is hidden from them
-
-
-
-
-
facilitate following
storage representation such as bit representation, attribute representation, preferred location
-
storage management-ex-size of the data block, allocation,lifetime
-
-
-
-
-
-
-
-
-
-
-
-
-