In a certain code language, 'Z' is coded as 261, 'R' is coded as 189, and 'J' is coded as 1017. How will 'P' be coded in that language?
- A1611
- B1119
- C1607
- D1512
Solution & Step-by-step Explanation
Let's check the position values of the letters from both ends:
Z: Forward position = 26, Backward position = 1. Code combines them as 26 and 1→261.
R: Forward position = 18, Backward position = 9. Code combines them as 18 and 9→189.
J: Forward position = 10, Backward position = 17. Code combines them as 10 and 17→1017.
Applying the same rule to P:
Forward position of P = 16
Backward position of P = 27−16=11
Combining these values gives 1611.
Z: Forward position = 26, Backward position = 1. Code combines them as 26 and 1→261.
R: Forward position = 18, Backward position = 9. Code combines them as 18 and 9→189.
J: Forward position = 10, Backward position = 17. Code combines them as 10 and 17→1017.
Applying the same rule to P:
Forward position of P = 16
Backward position of P = 27−16=11
Combining these values gives 1611.