answersLogoWhite

0


Best Answer

An integer data type is any type of number without a fractional part.

Signed vs unsigned of any data type refers to whether or not that data type can store negative numbers (numbers with a negative sign). The typical way to store the sign information for a number is to reserve one bit of information to do so.

For a signed 32-bit integer (a common integer size), this means that there are 31 bits available to hold information about the value of the number and 1 bit reserved for signifying negatives. This means that the range of data for a 32-bit signed integer is [-2147483648, 2147483647].

If you use an unsigned 32-bit integer, you can use that extra bit to store more positive number values. The range of data for a 32-bit unsigned integer is [0, 4294967295].

in short law FOR n bits

signed rang[-2n-1 -------- 2n-1 -1]

unsigned rang [0----------2n-1]

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

An integer is a number which is a whole whereas a real number is one which contains a fractional part that is includes a decimal point.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: The difference between Real data type and integer data type?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between scientific survey and scientific data?

A survey is the process of collecting real world scientific data.


What is the difference between Declaration and Assignment?

Declaration is basically defining data type and length and assignment is to assign the value. Below is the declaration -- var a integer /* this means we are declaring a variable a as integer data type */ a= 5 /* this is assignment,we are assigning 5 to variable a */


What is the difference between OLAP and data mining?

difference between Data Mining and OLAP


What is the difference between allocation and search data structure?

difference between serch data structure and allocation data structure


What data type is age?

integer data type


What is the difference between data communication and data communication information2010to2013?

The scope of work and the educational requirements are the difference between data communication and data communication information.


What is the difference between econometric and mathematical economics?

Econometrics analyzes real-world data. Theory writes mathematical models.


What is difference between '1' and 1 as for us a computer is concerned with respect to c plus plus?

When you type '1' in a C++ program, it is considered to be of character data type(char). When you type 1, it is considered to be of integer data type.


What is the difference between primary data and secondary data Don't make it complicated please?

The difference between primary data and secondary data is that primary data is the information from the original research.


What is the difference between a model-driven and data-driven DSS?

What is the difference between a model-driven and data-driven DSS?


Can there be decimals in a coordinate?

Yes. In real data there usually are non-integer data points. When learning about lines and points we try to use simple points.


What is the difference between swap and real memory?

Data that has been paged or swapped out exist on swap/page files on disks. The data can be paged or swapped back into real memory when it is required. Data in real memory (typically RAM) can be accessed directly by the CPU. Accessing data in real memory is hundreds or thousands times quicker than accessing it via disk.