If A is coded as C, M as I, N as P, S as O, I as A, P as N, E as M, O as E and…
2017
If A is coded as C, M as I, N as P, S as O, I as A, P as N, E as M, O as E and C as S, then the code of COMPANIES will be
Answer: D. SEINCPAMO — ConceptIn a direct substitution code, each source symbol has one fixed replacement. The order of the symbols does not change; each symbol is replaced…
- A.
SPEINMOAC
- B.
NCPSEIOMA
- C.
SMOPIEACN
- D.
SEINCPAMO
Attempted by 2 students.
Show answer & explanation
Correct answer: D
Concept
In a direct substitution code, each source symbol has one fixed replacement. The order of the symbols does not change; each symbol is replaced independently.
To encode a word, scan it from left to right and apply the given source-to-code mapping at every position.
Application
Apply the supplied mapping to the nine letters of COMPANIES in order:
C maps to S.
O maps to E.
M maps to I.
P maps to N.
A maps to C.
N maps to P.
I maps to A.
E maps to M.
S maps to O.
Cross-check
The encoded string has nine symbols, matching the nine letters in the source word. Applying the inverse mapping to S–E–I–N–C–P–A–M–O returns C–O–M–P–A–N–I–E–S.
Therefore, the code for COMPANIES is SEINCPAMO.