Pakistan study notes for Matric, Intermediate, B.A, B.COM BSC, M.A, BCS. Free Pakistani Urdu educational school, colleges and University notes.

How can you convert decimal number system to other system?

Q.11. How can you convert decimal number system to other system?

ANS. (1) DECIMAL TO BINARY CONVERSION

To convert from decimal to binary

i. Divide the decimal number by 2 which is the base of binary system.

ii. Arrange the remainder in reverse order (from bottom to top) to obtain the binary number.

Examples

1. Convert decimal 57 and 89 into its binary equivalent.

Solution

 1

(2) DECIMAL TO OCTAL CONVERSION

To convert a decimal number to its octal equivalent.

i. Divide the decimal number successively by 8.

ii. The remainders are arranged in reverse order to obtain the equivalent octal number.

Examples

2

 

(3) DECIMAL TO HEXADECIMAL CONVERSION

To convert a decimal to hexadecimal

i. Divide the decimal number by 16.

ii. Arrange the remainders in reverse order to obtain the equivalent hexadecimal.

3

Related posts:




Leave a Reply

Content Protected Using Blog Protector By: PcDrome. & GeekyCube.