In a certain code, 'CAT' is written as '3120' and 'DOG' as '4157'. How would 'PIG' be written in that code?
Question
In a certain code, 'CAT' is written as '3120' and 'DOG' as '4157'. How would 'PIG' be written in that code?
Solution
To solve this problem, we first need to understand the code.
-
Look at the word 'CAT'. In the English alphabet, 'C' is the 3rd letter, 'A' is the 1st letter, and 'T' is the 20th letter. So, 'CAT' is coded as '3120'.
-
Similarly, for 'DOG', 'D' is the 4th letter, 'O' is the 15th letter, and 'G' is the 7th letter. So, 'DOG' is coded as '4157'.
-
Now, let's apply the same logic to 'PIG'. 'P' is the 16th letter, 'I' is the 9th letter, and 'G' is the 7th letter.
So, 'PIG' would be written as '1697' in that code.
Similar Questions
If 'CAT' is coded as '3120', then how is 'DOG' coded?7169615851474157
In a certain code language, ‘MOUSE’ is written as ‘62’ and ‘SHEEP’ is written as ‘82’.How will ‘PIG’ be written in that language?
In a certain code language, “SUN” is written as “54” and “PUT” is written as “57”. How is “CAT” written in that code language? Select an answerA28B24C52D36
Which language is used in Apache Pig for data processing?Question 33Answera.SQLb.Pig Latinc.Pythond. Java
In a certain code language ‘PINKY’ is coded as ‘XZJLMOHJOQ’. How will ‘VANDY’ be coded in that language ?A XZCEMOZBUW B XZCEMOZBWU C XZECMOBZUW D ZXCEMOZBWU
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.