Computer Science: An Overview: Global Edition (12th Edition)

In computer science and computer programming, a data type is an attribute of data which tells the compiler or interpreter how the programmer intends to use the data. there are $Primitive\ data\ types$ like: Integer, float, character, and Boolean and $Composite \ types$ like: array, set, and Union. and there is another advanced data type like Abstract data types: Examples include: 1- queue is a first-in first-out list. Variations are Deque and Priority Queue. 2- set can store certain values, without any particular order, and with no repeated values. 3- stack is a last-in, first out data structure. 4- tree is a hierarchical structure. 5- graph. 6- list.