In a certain coding scheme, the word 'SCHOOL' is coded as 'TEKSTR'. How will…
2023
In a certain coding scheme, the word 'SCHOOL' is coded as 'TEKSTR'. How will the word 'OFTEN' be coded in the same scheme?
Answer: A. PHWIS — CONCEPTIn a position-wise coding rule, each source letter is transformed independently according to the shift assigned to that position. When a worked example…
- A.
PHWIS
- B.
PGUFO
- C.
PHVGP
- D.
PHUGO
Show answer & explanation
Correct answer: A
CONCEPT
In a position-wise coding rule, each source letter is transformed independently according to the shift assigned to that position. When a worked example shows shifts increasing by one from left to right, another word uses the same sequence for every position it contains; a shorter word uses the applicable prefix of that sequence.
APPLICATION
Position | Source letter | Forward shift | Coded letter |
|---|---|---|---|
1 | S | +1 | T |
2 | C | +2 | E |
3 | H | +3 | K |
4 | O | +4 | S |
5 | O | +5 | T |
6 | L | +6 | R |
S moves forward by 1 letter to T.
C moves forward by 2 letters to E.
H moves forward by 3 letters to K.
O moves forward by 4 letters to S.
O moves forward by 5 letters to T.
L moves forward by 6 letters to R.
At position 1, O moves forward by 1 letter to P.
At position 2, F moves forward by 2 letters to H.
At position 3, T moves forward by 3 letters to W.
At position 4, E moves forward by 4 letters to I.
At position 5, N moves forward by 5 letters to S.
CROSS-CHECK
The obtained letters P, H, W, I, S follow the same +1, +2, +3, +4, +5 position sequence seen in the example.
Therefore, OFTEN is coded as PHWIS.