Category: Uncategorised
Hits: 878

Types of Data in simple language. String, Boolean, Date, Float, Integer.

Data type is like a dialect through which a man & a computer can communicate about how a specific data is to be used.

String Data:

A string data type used to represent text rather than numbers, it consists of a set of characters that can also contain spaces and numbers.

Boolean Data:

A boolean is a data type with two possible values: true or false. 1 or 0. As simple as such!

Date Data:

Just a calendar date.

Float Data:

A float is a data type composed of a number that is not an integer, because it includes a fraction represented in decimal format.

Integer Data:

An Integer is a type of data for whole numbers. Integral data types may be of different sizes and may or may not be allowed to contain negative values.

Integer: 11-1 = 10

String: “11”-”1”= “111”

Date: Nov 11

Float: 11.1111111

Boolean: 1