rss
twitter
    Find out what You Want :)
Home    Downloads    Corner    Market    News sites    About Us

Sunday, April 17

CS 302 Assignment# 1 Solution

CS302: Digital Logic Design
Assignment No. 01
Semester: Spring 2011


1.Convert 10101100 binary numbers to its decimal equivalent.172 (2 Marks)

=0*20 + 0*21+1*22+1*23+0*24+1*25+0*26+1*27
=    1      2       4        8       16      32     64     128
=0*1 + 0*2  +1*4  +1*8 +0*16 +1*32 +0*64 +1*128
=0+0+4+8+0+32+0+128
=172

2. Convert  decimal  number  374  to Octal number. (2 Marks)
 
Answer: 566


 
8
374
8
46
6

5
6

 
 






3. Convert the following 0110100000111001 (BCD) in to decimal number. (2 Marks)


0110  1000   0011   1001   convert into 4-bit code
6          8          3          9      decimal numbers according to BCD


Answer:   6839


 
4.Convert B2A16 to Octal5452 (2 Marks)
In hex system B = 11 and A = 10
Therefore
= 11*162 + 2*161  +  10*160
= 2816+32+10
=2858 decimal

Now in octal number
Answer : 5452 octal

8
2858
8
357
2
8
44
5

5
4

 





5.Convert decimal number 3085 to hex   (2 Marks)
A= 10
B= 11
C= 12
D= 13
E= 14
F= 15

Answer: C0D
 
16
3085

16
192
13

12
0

No comments:

Post a Comment

Discus Your Study Problems Here

Is This Blog Is Useful For You?

Face Book Fans