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 the last digit is even their codes are to be swapped
(ii) If the first as well as the last digits are even, both are to be coded by the code for the first digit.
(iii) If the first digit is even and the last digit is odd, both are top be coded by the code for the odd digit