The document discusses different number systems used in computers including decimal, binary, octal, and hexadecimal number systems. Decimal uses base 10, binary uses base 2, octal uses base 8, and hexadecimal uses base 16. Each system represents numbers in a positional notation where the value of each digit depends on its position.
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
16 views
Number System in Computers
The document discusses different number systems used in computers including decimal, binary, octal, and hexadecimal number systems. Decimal uses base 10, binary uses base 2, octal uses base 8, and hexadecimal uses base 16. Each system represents numbers in a positional notation where the value of each digit depends on its position.
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7
NUMBER SYSTEM IN
COMPUTERS
Number systems are the technique to
represent numbers in the computer system architecture, every value that you are saving or getting into/from computer memory has a defined number system. TYPES OF NUMBER SYSTEMS IN COMPUTERS DECIMAL NUMBER SYSTEM Decimal number system is a base 10 number system having 10 digits from 0 to 9. This means that any numerical quantity can be represented using these 10 digits. Decimal number system is also a positional value system. This means that the value of digits will depend on its position. Let us take an example to understand this. Say we have three numbers – 734, 971 and 207. The value of 7 in all three numbers is different− • In 734, value of 7 is 7 hundreds or 700 or 7 × 100 or 7 × 102 • In 971, value of 7 is 7 tens or 70 or 7 × 10 or 7 × 101 • In 207, value 0f 7 is 7 units or 7 or 7 × 1 or 7 × 100 • The weightage of each position can be represented as follows − BINARY NUMBER SYSTEM When we type some letters or words, the computer translates them in numbers as computers can understand only numbers. A computer can understand the positional number system where there are only a few symbols called digits and these symbols represent different values depending on the position they occupy in the number. • The value of each digit in a number can be determined using − • The digit • The position of the digit in the number • The base of the number system (where the base is defined as the total number of digits available in the number system) OCTAL NUMBER SYSTEM Octal Number System has a base of eight and uses the number from 0 to 7. The octal numbers, in the number system, are usually represented by binary numbers when they are grouped in pairs of three. For example, 128 is expressed as 0010102, where 1 is equivalent to 001 and 2 is equivalent to 010. HEXADECIMAL NUMBER SYSTEM Hexadecimal Number System is one the type of Number Representation techniques, in which there value of base is 16. That means there are only 16 symbols or possible digit values, there are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. Where A, B, C, D, E and F are single bit representations of decimal value 10, 11, 12, 13, 14 and 15 respectively. It requires only 4 bits to represent value of any digit. Hexadecimal numbers are indicated by the addition of either an 0x prefix or an h suffix. THANK YOU FOR WATCHING