Number System in Computer
Binary: A base 2 system that uses only two digits (0 and 1) to represent numbers. Binary is the basis of all binary numbers and is very important in computing.
Decimal: A base 10 system.
Octal: A base 8 number that uses the digits 0 through 7.
Hexadecimal: A base 16 number that uses 16 digits, including 0-9 and the letters A-F, to represent 10-15.
Computers can only understand numbers, so when you type letters or words, the computer translates them into numbers. Computers can only understand a few symbols called numbers, and these symbols have different meanings depending on their position on the number.
Types of Number Systems
Decimal number system
Binary number system
Octal number system
Hexadecimal number system
The number system based on bas
= (1 × 10000) + (2 × 1000) + (
= 10000 + 2000 + 400 + 60 + 5
= 12465
The number system based on the
For example, 14 can be written
The Octal Number System is a b
(81)10 can be written as (121)8
(125)10 can be written as (175)8
Hexadecimal Number System
The number system based on base 16 is called the hexadecimal number system. It requires 16 digits to form a number. Numbers 0-9 are the same as decimal numbers, but numbers 10-15 are represented as A-F, i.e. 10 is represented as A, 11 is represented as B, 12 is represented as C, 13 is represented as D. 14 is represented as E, and 15 is represented as F.
(125)10 can be written as (7D)16
(1254)10 can be written as (4E6)16
(5678)10 can be written as (162E)16
Decimal / Hexa-Decimal / Binary chart
Comments
Post a Comment