What is a data type?
A data type is an attribute of data which specifies the intended use of the data. A common data type using in programming is an integer or whole number. Computers process different data types so by declaring data types, compliers and interpreters know how to handle the data.
What are the different data types?
|Character||Single letter, digit, symbol or control code|
|String||A string of alphanumeric characters|
|Boolean||One of two values|
|Integer||Whole number values with no decimal part|
|Real||Numbers with decimal or factorial part|