Computer Science, asked by suni9346, 1 year ago

Convert the following Decimal numbers to its equivalent Binary, Octal, Hexadecimal.
1) 1920
2) 255
3) 126

Answers

Answered by jenson82
12

110000100

372

182

gg6

y468

5rdt

Answered by mindfulmaisel
14

1) 1920

Binary = 11110000000

Octal = 3600

Hexadecimal = 780

2) 255

Binary = 11111111

Octal = 377

Hexadecimal = FF

3) 126

Binary = 1111110

Octal = 176

Hexadecimal = 7E

Conversion:

1) 1920

Binary

  • Divide (1920)10 successively by 2 until the quotient is 0
  • Read from the bottom (MSB) to top (LSB) as 11110000000.
  • So, 11110000000 is the binary equivalent of decimal number 1920

Octal

  • Divide (1920)10 successively by 8 until the quotient is 0
  • Read from the bottom (MSB) to top (LSB) as 3600.
  • So, 3600 is the octal equivalent to the decimal number 1920

Hexadecimal

  • Divide (1920)10 successively by 16 until the quotient is 0
  • Read from the bottom (MSB) to top (LSB) as 780.
  • So, 780 is the hexadecimal equivalent of decimal number 1920

2) 255

Binary

  • Divide (255)10 successively by 2 until the quotient is 0
  • Read from the bottom (MSB) to top (LSB) as 11111111.
  • So, 11111111 is the binary equivalent of decimal number 255

Octal

  • Divide (255)10 successively by 8 until the quotient is 0
  • Read from the bottom (MSB) to top (LSB) as 377.
  • So, 377 is the octal equivalent to the decimal number 255

Hexadecimal

  • Divide (255)10 successively by 16 until the quotient is 0
  • Read from the bottom (MSB) to top (LSB) as FF
  • So, FF is the hexadecimal equivalent of decimal number 255

3) 126

Binary

  • Divide (126)10 successively by 2 until the quotient is 0
  • Read from the bottom (MSB) to top (LSB) as 1111110.
  • So, 1111110 is the binary equivalent of decimal number 126

Octal

  • Divide (126)10 successively by 8 until the quotient is 0
  • Read from the bottom (MSB) to top (LSB) as 176.
  • So, 176 is the octal equivalent to the decimal number 126

Hexadecimal

  • Divide (126)10 successively by 16 until the quotient is 0
  • Read from the bottom (MSB) to top (LSB) as 7E.
  • So, 7E is the hexadecimal equivalent of decimal number 126
Similar questions