Computer Science, asked by Harshitkumar1707, 11 months ago

PRESENTATION ON--}


Rules converting to :-

 Decimal to Binary and Binary to Decimal (Take same number)

 Decimal to Octal and Octal to Decimal (Take same number)

 Octal to Binary and Binary to Octal (Take same number)

 Decimal to Hexadecimal and hexadecimal to Decimal (Take same number)

 Hexadecimal to Binary​

Answers

Answered by brainlystar365
1

Answer:

An easy method of converting decimal to binary number equivalents is to write down the decimal number and to continually divide-by-2 (two) to give a result and a remainder of either a “1” or a “0” until the final result equals zero. So for example.

Answered by Anonymous
2

Answer:

  • decimal to binary:

repeated division by 2

for eg:(42)10=(101010)2

  • binary to decimal:

multiplying each digit by 2 with some power

for eg:(101010)2

=1X2^5+0X2^4+1X2^3+0X2^2+1X2^1+0X2^0=(42)10

  • decimal to octal:

repeated division by 8

for eg:(8)10=(10)8

  • octal to decimal:

multiplying each digit by 8 with some power

for eg:(10)8=1X8^1+0X8^0=(8)10

  • octal to binary:

you should first separate each digit and then  write the binary form with 3 binary digit of each number

for example:

(651)8=6 and 5 and 1

so for 6 it is 110

for 5 it is 101

for 1 it is 001

so the answer will be (110101001)2

  • binary to octal:

you should split into three from the last before decimal and from the first after decimal

for example:

(110101001)2=110 and 101 and 001

then you can find the answer

for 110 it is 6

for 101 it is 5

for 001 it is 1

so the answer is (651)8

  • decimal to hexadecimal:

repeated division by 16

for example:

(251)10=(D7)16

  • hexadecimal to decimal

multiplying each digit by 16 with some power

for example:

(D7)16=(251)10

  • hexadecimal to binary:

you should first separate each digit and then  write the binary form with 4 binary digit of each number

for eg: (28C)16

for 2 it is 0010

for 8 it is 1000

for C it is 1100

so the answer is (001010001100)2

#hope it helps you

please mark as brainliest

Similar questions