In a code language, if PEN is written as 17717, then how will CAP be written in the same language?
Correct Answer :
4319
Solution :
The correct answer is 4319.
To decode the pattern, we start by analyzing the given example: PEN → 17717.
First, let's find the alphabetical positions of each letter in PEN:
P = 16th letter E = 5th letter N = 14th letter
Now observe how 17717 is formed by splitting it as 17 | 7 | 17:
P → 16 + 1 = 17
E → 5 + 2 = 7
N → 14 + 3 = 17
The pattern is: Each letter's alphabetical position is added to its position within the word (1st, 2nd, or 3rd), and the results are concatenated.
So: Letter value = (Alphabetical position) + (Position in word)
Now we apply the same rule to CAP:
C = 3rd letter → 3 + 1 = 4
A = 1st letter → 1 + 2 = 3
P = 16th letter → 16 + 3 = 19
Concatenating the results: 4 | 3 | 19 = 4319
Therefore, CAP is written as 4319 in the given code language.
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Mindyard. Perfect for teachers and institutes.
Copyright © 2026 Mindyard. All Rights Reserved.