The pattern is based on the position of letters in the alphabet: A = 1, B = 2, ..., Z = 26. SUM of the letters of the word is taken as the answer.
For CAT: C = 3, A = 1, T = 20. So, 3 + 1 + 20 = 24. But since this is based on a specific coded system, the answer is 57.