# Data types

Data is considered based on different types of work, considering the type of data and the amount of stored memory

Classified. In the case of programming, different types of data are used in different languages.

**The nature of the data There are usually two types of data, based on.**

(I) Alphabetic data

(ii) Numeric data.

1. **Alphabetic data** Alphabetic data is made up of one or more letters or letters.

Is.

**Example** – A, B, a, x, y, #, 1, &, “Book”, “Pen”, “School”.

2. **Numeric data** – The data that is made up of integers or decimal numbers is numeric

Data.

**Example** – 1, 2, 10, 11, 19.62, 3.14, 10 x 10, 12 x 10 ”.

We will work with both letter and number data types, but to facilitate the work, the data classification is a bit.

Sorted differently. In the case of data structures or different types of programming,

**There are mainly two types of data :**

(I) Constant data and

(ii) Variable data.

### The following is a detailed discussion of data classification:

**Constant data** – data that never changes or remains unchanged, is called constant data.

Says. Constant data values are similar before and after data processing. E.g.- 60, 18, 35, – 30, T. | 6

(2.71) .

**Variable data** – and the value of the data that changes in the general sense is called variable data. Data

The value of the variable varies before and after processing. One variable has to be used for each data.

The name of each variable must be preceded by its data type. The process of naming variables with data types

Variable declaration is called.

On the other hand, the value of any variable needs to be stored in the computer’s memory. In that particular place of memory

When data is stored, its address must be specified.

**Example** – A, AB, A2, X, Y, NAME, DATE, F-NAME, Radius, Area.

**Numerical data** – is data that has a numerical or mathematically specific value, called numeric or

Says numerical data. Numerical data is written using arithmetic numbers. With algebraic symbols (+ or -))

Data with numbers from 9 to 9 is called numeric data.

**There are two types of numeric data :**

(I) Integer.

(ii) Decimal number (Real float).

**Example** – 20, 10, 5, 2.50, 3.2 etc.

**Integer number** – An arithmetic number that has no decimal number is called an integer.

Any arithmetic number free of decimals is called an integer. This is called fixed point data.

Example : The following numbers are integers – 10, 50, +2, 1020 etc.

**A decimal number (Real float number)** is a mathematical number that contains decimals

Real numbers say. The decimal position of the number can occur anywhere. That’s why it’s called Floating Point data

Says.

**Example** – 12.1,42.02, 5.8, – 1.2, + 15.6 etc.

**Character data** and data written in English letters or numbers

Character data. Character data is bound by Apostrophe. Again a set of Character data

Character String or Suring for short. Character length is the number of characters in a String.

**Example** – University, Noman, Computer, Mango etc.

**Logical data** and often two or more quantities need to be compared. Two or

The data that is used to compare more than that amount is called rational data.

To determine true-false, yes-no, small-large, etc.

Logical Data is used.

**Logical data is usually expressed by Binary 0 or Binary 1.**

**Example** – TRUE, FALSE, YES, NO, ON, OFF, OPEN SWITCH, CLOSED SWITCH.

## Comment here