CS302 Current Assignment No 1 Solution Fall 2012

Q1                                                                                 
(a) Convert the binary number 10111110 to Gray code. Show complete procedure                                             2+3=5 marks
(b) Convert the Gray code 10111110 to binary. Show complete procedure                                                          2+3=5 marks
Q2 Fill the empty columns in the table by performing each operation against each row.                                                                                                                                                                                          Marks 10


A
B
C
D




0
0
0
0




0
0
0
1




0
0
1
0




0
0
1
1




0
1
0
0




0
1
0
1




0
1
1
0




0
1
1
1




1
0
0
0




1
0
0
1




1
0
1
0




1
0
1
1




1
1
0
0




1
1
0
1




1
1
1
0




1
1
1
1


Idea Solution:

Leave a Reply

Related Posts Plugin for WordPress, Blogger...