## Introduction to Number System.

As we all know that a computer is used to process data entered by the users, and provide results as output. A set of instructions has to be fed into the computer system to instruct the computer that how to process data. And which type of calculation is done when users entered some information through input devices.

All this information is instructed in the form number system that the computer can understand. These Data can be in the form of characters as well as numbers.

There are commonly 4 types of a number system. These are:-

• Binary Number System
• Decimal Number System
• Octal Number System

Now, we are going to discuss this briefly.

Note:- The number of digits that can occur at each position of a number in any number system is known as the base of that number system.

# 1. Decimal Number System

This is the most commonly used number system in our daily life. The total number of digit in that number system are :- 0,1,2,3,4,5,6,7,8,9.

The base of that number is 10. The decimal number system is a positional number system that means each digit has a fixed position or weight associated with it, that is why it is also known as the weighted number system.

I know it is a little bit confusing. So let’s go with an amazing example to understand about it.

### For Example:-

Let some number randomly, we assume a number 786, now in that number the weight of number  is 1 (ones), number  is 10 (tens) and number  is 100 (hundred). The Number of tens increases every time whenever the number increase. Ex:- 4555 in this example, 4 is the most significant number as the base value of 4 was thousand means 10^4.

We can define them as 10^0 for 6, 10^1 for 8, 10^2 for 7. That’s why we read it as Seven Hundred Eighty-Six.

As in the decimal number system, the base is 10, we represent the given number as 786^10.

Now, We are going to see an example of a decimal number.

Let Consider a number anything you want. Suppose we assume a decimal number 321.123.

Note:- If the base is not given in the number it should automatically take 10.

Now, In the decimal number system, the places to the left of the decimal point are positive and the right point is the negative power of 10.

The Number before the decimal point is known as an Integral part, And the number after the decimal point is known as the fractional part.

In the given below image, you can see both the integral part and fractional part with their powers.

So Friends, this is part 1 of this post in our next part we discuss the rest of the number system briefly. Hope what we describe in this post is understandable for you guys. And if you have any doubt then comment below I will try to solve it with my possibilities. Thank You.. 😊

Image is sourced from Google Images.

"+y+""}else{if(A==5){c+='
• '+w+""+y+"
• "}else{if(A==6){c+='
• "+w+' '+u+""+y+"
• "}else{c+='
• "+w+"