What is the purpose of a data type?
Photo Credit: Courtesy of 3DStockPhoto (Type A image)
In computer science and computer programming, a data type or simply type is an attribute of data which tells the compiler or interpreter how the programmer intends to use the data. Most programming languages support common data types of real, integer and boolean.