Computer Science, asked by anushka567as, 11 months ago

Convert FA23D of base 16 to octal number system

Answers

Answered by LuckyYadav2578
10

Hexadecimal to Octal

In this type of questions first we have to convert hexadecimal into binary and then binary to octal

hexadecimal to binary

  • A = 10
  • B = 11
  • C = 12
  • D = 13
  • E = 14
  • F = 15

FA23D = 15 10 2 3 13

one by one we will convert each digit in binary

15

2 |15| 1

2 | 7 | 1

2 | 3 | 1

2 | 1 | 1

2 | 0 |

  • => 1111

10

2 |10| 0

2 | 5 | 1

2 | 2 | 0

2 | 1 | 1

2 | 0 |

  • => 1010

2

2 | 2 | 0

2 | 1 | 1

2 | 0 |

  • 10
  • it is not of four bit so we have to make it of four bit
  • => 0010

3

2 | 3 | 1

2 | 1 | 1

2 | 0 |

  • 11
  • it is not of four bit so we have to make it of four bit
  • => 0011

13

2 |13| 1

2 | 6 | 0

2 | 3 | 1

2 | 1 | 1

2 | 0 |

  • => 1101

Binary of FA23D is 1111 1010 0010 0011 1101

Binary to octal

we will divide it in 3 bit

011 . 111 . 010 . 001 . 000 . 111 . 101

011

0×2^2 + 1×2^1 + 1×2^0

0 + 2 + 1

= 3

111

1×2^2 + 1×2^1 + 1×2^0

4 + 2 + 1

= 7

010

0×2^2 + 1×2^1 + 0×2^0

0 + 2 + 0

= 2

001

0×2^2 + 0×2^1 + 1×2^0

0 + 0 + 1

= 1

000

0×2^2 + 0×2^1 + 0×2^0

= 0

111

1×2^2 + 1×2^1 + 1×2^0

4 + 2 + 1

= 7

111

1×2^2 + 0×2^1 + 1×2^0

4 + 0 + 1

= 5

binary to octal 3721075

Hexadecimal to octal

FA23D = 3721075

Answered by 919954500904
0

Explanation:

how did u doo solve it than u give the answer without solving wrong ❌ way because some student will can't solved this .

Similar questions