[0]
In computer science and computer programming, a data typeor simply typeis
anattribute of data which tells the compiler or interpreter how the
programmer intends to use the data. Most programming languages support basic
data types of integer numbers (of varying sizes), floating-point numbers
(which approximate real numbers), characters and Booleans. A data type
constrains the values that an expression, such as a variable or a function,
might take. This data type defines the operations that can be done on the
data, the meaning of the data,and the way values of that type can be
stored. A data type provides a set of values from which an expression
(i.e. variable, function, etc.) may take its values.[1]
Data types are used within type systems, which offer various ways of
defining, implementing,and using them. Different type systems ensure varying
degrees of type safety.
Almost all programming languages explicitly include the notion of data type,
though different languages may use different terminology.
Common data types include:
Integer
Floating-point number
Character
String
Boolean
• number(num)- whole numbers up to num digits
• number(num,num2)- num whole numbers up to num2 decimals
• char(num)- fixed length character/string
• varchar2(num)- used for varying length data
• date - full date
• currency - used for prices
[0]
A data type,in programming,is a classification that specifies which type of
value a variable has and what type of mathematical, relational or logical
operations can be applied to it without causing an error.[1]
In computer science and computer programming, a data typeor simply typeis an
attribute of data which tells the compiler or interpreter how the programmer
intends to use the data. Most programming languages support basic data types
of integer numbers (of varying sizes), floating-point numbers (which
approximate real numbers), characters and Booleans. A data type constrains the
values that an expression, such as a variable or a function, might take. This
data type defines the operations that can be done on the data, the meaning of
the data,and the way values of that type can be stored. A data type provides
a set of values from which an expression (i.e. variable, function, etc.) may
take its values.
short int2-32,768 to 32,767%hd
unsigned short int20 to 65,535%hu
unsigned int40 to 4,294,967,295%u
int4-2,147,483,648 to 2,147,483,647%d
longint4-2,147,483,648 to 2,147,483,647%ld
unsigned longint40 to 4,294,967,295%lu
longlongint8-(2^63) to (2^63)-1%lld
unsigned longlongint80 to 18,446,744,073,709,551,615%llu
signed char
1-128 to 127%c
unsigned char
10 to 255%c
float4%f
double
8%lf
long double
16%Lf
#the basics of python system.#numeric -int,float,complex,bool#sequences- list,tuple,set,string,range#loops - for and while#condition- ==,<,>,<=,>=#functions(methods)------------------------------------------------