hamburger

11011 in Gray Code Equal to Binary

By BYJU'S Exam Prep

Updated on: September 25th, 2023

Choose the correct answer from the options given below and also provide the detailed solution:

11011 in Gray code equal to binary

A. 10110
B. 01001
C. 10010
D. 11011

Answer: C. 10010

11011 in Gray code equal to binary will be 10010.

Solution:

Let, G4G3G2G1G0 and b4b3b2b1b0 be the 5-bit Gray code and the corresponding binary code respectively. By using the following formulae, we can find the binary code.

b4=G4

b3=b4G0

b2=b3G2

b1=b2G1

b0=b1G0

Given, G4G3G2G1G= 11011.

b4=1

b3=1⊕1=0

b2=0⊕0=0

b1=0⊕1=1

b0=1⊕1=0

=> b4b3b2b1b0=10010

Therefore, 10010 is the corresponding binary code for the given Gray code 11011. Hence, option (C) is the correct answer. 

☛ Related Questions:

Our Apps Playstore
POPULAR EXAMS
SSC and Bank
Other Exams
GradeStack Learning Pvt. Ltd.Windsor IT Park, Tower - A, 2nd Floor, Sector 125, Noida, Uttar Pradesh 201303 help@byjusexamprep.com
Home Practice Test Series Premium