Directions (1-5): In each question below is given a group of digits followed by four combinations of digits/symbols given in (A), (B), (C) and (D). You have to find out which of the combinations correctly represents the group of digits based on the rules and mark the answer accordingly. If none of the combinations correctly represents the group of letters, mark (E) as your answer.
(i) If the first digit is odd and last is even, then interchange the codes for both digits
(ii) If there is a digit which is getting repeated in the given number, then code that digit as the code of 5
(iii) If the third digit is followed by an even number and is preceded by an odd number, then skip its code.
(iv) If the middle digit is odd then interchange the codes of middle digit and last number.
(v) 0 is neither odd nor even