1 votes 1 votes The gray code for a decimal number N is . This number N is converted into P which belongs to 84 − 2 − 1 code system. What is the Hexadecimal representation for P? (A) ABC (B) F55 (C) 170 (D) 790 Programming in C gatebook digital-logic + – Sandy Sharma asked Nov 19, 2018 Sandy Sharma 591 views answer comment Share Follow See all 8 Comments See all 8 8 Comments reply Show 5 previous comments Shaik Masthan commented Nov 20, 2018 reply Follow Share just like BCD codes, there are 2-4-2-1 code and 8-4-2-1 code and some more codes... first any(BCD,2-4-2-1 or 8-4-2-1) code convert into normal Binary Code, then Convert into GRAY code 1 votes 1 votes register_user_19 commented Nov 28, 2018 reply Follow Share how $(AA)_{16}$ ? N= (11111111)GRAY CODE ~> (10101010)BINARY ~> (170)DECIMAL ~> (0111 1001 0000)in 84-2-1 format so ~> (790) hexadecimal is anything wrong in above step? 0 votes 0 votes register_user_19 commented Nov 28, 2018 reply Follow Share P IS 0111 1001 0000 SO hex(P) IS 790 0 votes 0 votes Please log in or register to add a comment.