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
Idea Solution:
(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
|