Computer Science, asked by krishanedulark, 1 year ago

0xBAD into 3-base representation

Answers

Answered by kunalsingh36
15

View Data Representation & Digital Logic from ITC 412 at Charles Sturt University. ... b) Convert the followings: [3+3=6 marks] Sol: i) 0xBAD into a decimal number ... ii) 588 10 into a 3-base number.

Answered by raydudeja94
3

Answer:

11002201

Explanation:

0x means it is Hexadecimal number

so (BAD)16

B *16^2  +  A *16^1  + D*16^0               // ( B=11,A=10,D=13)

11*256 + 10*16 + 13*1

(2989 )                                 //Decimal Number

Now Divide by 3 and find Remainder in each term

                                Divisor                   Remainder

2989 / 3                   996                             1

996/3                        332                            0

332/3                         110                             2

110/3                           36                             2

36/3                           12                               0

12/3                             4                               0

4/3                               1                                1

1/3                                0                               1

Pick Remainder's from back

(11002201)

(BAD)16 = (11002201)3

@DudejaPrince

Similar questions