In a simple letter substitution system based on numerical values, CAT is coded as 24, and DOG is coded as 26. What is the code for PIG?
32
The code sums the alphabetical positions of each letter (A=1, B=2, ... Z=26). For PIG: P(16) + I(9) + G(7) = 32.
About this riddle
Logic riddles give you a few facts and ask what must be true. List what you know, cross out what cannot be, and see what is left.
Difficulty: Easy. More like this: Logic riddles with answers or try Einstein's Logic Grid for a different kind of puzzle.
More logic riddles
If you multiply my age by 3, then subtract 10, then divide by 2, you get my exact age plus 5. How old am I?
An ancient tower has three floors. On the first floor, a guard speaks only the truth. On the second floor, a guard speaks only in lies. On the top floor, a guard alternates between truth and lies with each statement made. You ask the top-floor guard two questions in a row. Their first answer is 'Yes' and their second answer is 'Yes'. Are you on the top floor?
What occurs once in every minute, twice in every moment, but never in a thousand years?
A detective interrogates three suspects: X, Y, and Z. Exactly one of them is guilty. X claims: 'Y is the guilty one.' Y claims: 'I am innocent.' Z claims: 'X is lying about Y.' If only the guilty person is lying and the innocent people are telling the truth, who is guilty?
A cylindrical tank is half full of water. If you pour out 15 liters, the tank becomes one-third full. What is the total capacity of the tank in liters?
A bookshelf holds five volumes of an encyclopedia in order from 1 to 5, left to right. Volume 3 is immediately next to Volume 1. Volume 5 is to the left of Volume 2. Volume 4 is to the right of Volume 3. What is the correct order of the volumes from left to right?

