Question
Computer science digital logics
Convert the following as specified DEC in hex to i
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1(a)

DEC in hex to its decimal

(DEC)16 = ( )10

= D*162   +   E*161   + C*160

= 13*256 + 14*16 + 12*1

= 3328 + 224 +12

= (3564)10

b)

(DEC)16 to BCD

(DEC)16 = (3564)10

(3564)10 to BCD

3= 0011

5 = 0101

6 = 0110

4= 0100

BCD = 0011 0101 0110 0100

2(a)

1001 0111 0101 0010 BCD to octal

= 1001 =9, 0111=7, 0101=5, 0010 =2 from BCD to decimal =(9752)10

= (9752)10    to octal

                                             remainders

8|9752

8|1219                                     0

8|152                                       3

8|19                                         0

8|2                                           3

|0                                             2

taking remainders in reverse

=(23030)8

b)

(7643)8     to hex

7 = 111

6=110

4=100

3= 011

three bits for octal number

= 111 110 100 011

taking 4 bits to denote hexadecimal number

= 1111 1010 0011

= (FA3)     in hexadecimal

=(FA3)16

Add a comment
Know the answer?
Add Answer to:
Computer science digital logics Convert the following as specified DEC in hex to its decimal DEC...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT