You already learn number systems in mathematics. Here, I am giving you complete information about number systems as well as you will learn how a computer machine use these number systems.

Let’s get started.

There are 4 types of number systems.

- Binary number
- Octal number
- Decimal number
- Octal number

## Binary Number System

Binary stands for two means it has only two numbers i.e. 0 and 1

Computer machine uses these binary numbers to perform an action as well as machine language uses binary code to save data.

The binary number has 2 numbers so it has base value 2. It is also known as radix.

## Octal Number System

As binary stands for two, octal stands for eight because it consists of eight number i.e. 0,1,2,3,4,5,6,7,

Many time interviewer asks octal number conversion from binary or decimal.

The octal number has 8 numbers so it has a base value 8.

## Decimal Number System

You use these numbers on a day to day life. Yes, numbers from 0 to 9 all belong to decimal number.

The decimal number has 10 numbers so it has a base value 10.

## Hexa-Decimal Number System

It is a combination of alpha and numeric values. It has 16 values from 0 to 9 and A to Z.

It has 16 alpha-numeral values so its base would be 16.

## Consolidated Table of Number Systems

S.No. | Number System | Values | Radix/Base |

1. | Binary Number | 0,1 | 2 |

2. | Octal Number | 0,1,2,3,4,5,6,7 | 8 |

3. | Decimal Number | 0,1,2,3,4,5,6,7,8,9 | 10 |

4. | Hexa-Decimal Number | 0 to 9 and A,B,C,D,E,F | 16 |

Hope that you understand all the number systems. Please ask your questions in below comment box.

## You can also read

- Assigning Values to Variables in C Language
- What is variable in C language? An interview question
- What is a C programming language [exam oriented answer]

If you like this post helpful please share it in your social family or needy ones.