What are the number system in a computer.
Number system
There is base or radix that used distinct symbols for digit. Numbers are represented by a string digits symbols. For example Binary 0,1 and base is 2. Decimal 0, 1, 2...9 and is 10. Octal 0,1,2...7 and base is 8. Hexadecimal 0, 1, 2...9, A, B, C, D, E, F and base is 16.
credit: third party image reference
Binary Number System
It is a number system which base or radix is only 2. As its name implies it supports only two numbers namely 0 and 1. Any value in this number system is represented like this (1000)2. Here base 2 shows that it is a binary numbers system.
credit: third party image reference
Decimal Number System
The number system that we use in our day-to-day life is the decimal number system. Decimal number system has base 10 as it uses 10 digits from 0 to 9. In the decimal number system, the successive positions to the left of the decimal point represent units, tens, hundreds, thousands and so on. Each position represents a specific power of the base (10). For example, the decimal number 1234 consists of the digit 4 in the units position, 3 in the tens position, 2 in the hundreds position, and 1 in the thousand positions, and its value can be written as.
credit: third party image reference
Hexadecimal Number System
A hexadecimal number system is a number which has a base (radix) is 16 ranging from 0 9 and up to from A to F means if write completely then it will be this 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, E, F. A number of the Hexadecimal number system is written like this(4A7)16 or 4A7(hex.). The hexadecimal number is represented always in 4 bits each.
credit: third party image reference
Binary to Decimal
You can convert a binary number to decimal number. As we see the binary number has base 2 whereas decimal number has a base 10. The decimal number of a binary number can be obtained when each binary number will be multiplied with its positive value from the right. The first right binary value has the positional 20 and it will increase 1 to the left respectively.
Comments
Post a Comment