1.

Explain the octal to decimal conversion and hexadecimal to decimal conversion

Answer»

Octal to Decimal Conversion:

To convert Octal to Decimal, we can use positional notation method.

1. Write down the Octal digits and list the powers of 8 from right to left(Positional Notation).

2. For each positional notation of the digit write the equivalent weight.

3. Multiply each digit with its corresponding weight. 

4. Add all the values.

Example:

Convert (1265)8 to equivalent Decimal number

Weight5126481
Positional
Notation
83828180
Given number1265

(1265)8 = 512 x 1 + 64 x 2 + 8 x 6 + 1 x 5

= 512 + 128 + 48 + 5

(1265)8 = (693)10

Hexadecimal to Decimal Conversion:

To convert Hexadecimal to Decimal we can use positional notation method.

1. Write down the Hexadecimal digits and list the powers of 16 from right to left (Positional Notation). 

2. For each positional notation written for the digit, now write the equivalent weight.

3. Multiply each digit with its corresponding weight. 

4. Add all the values to get one final value. 

Example: Convert (25F)16 into its equivalent Decimal number.

Weight256161
Positional
Notation
162161160
Given number25f(15)


Discussion

No Comment Found