Soru

Zorluk: OrtaCoding and Decoding

During a network security test, an encryption algorithm alters text strings based on character classification. When the algorithm processes the input string PLANET, it generates the cipher NJDLHR. Applying the exact same logical transformation, which of the following is the cipher for the input ORBIT?

  1. A
    RUELW
  2. B
    MPZGR
  3. RPZLRCevap
  4. D
    MUEGW

Cevap

The cipher for ORBIT is RPZLR.
The encryption algorithm applies a specific positional shift based on whether a letter is a vowel or a consonant. Consonants are shifted backward by 2 steps in the alphabet, while vowels are shifted forward by 3 steps. Applying this to ORBIT: O(+3)=R, R(-2)=P, B(-2)=Z, I(+3)=L, and T(-2)=R, yielding the cipher RPZLR.

Adım Adım Çözüm

1
Analyze the alphabetical position shift between the input PLANET and the cipher NJDLHR.
P(16) → N(14) is -2; L(12) → J(10) is -2; A(1) → D(4) is +3; N(14) → L(12) is -2; E(5) → H(8) is +3; T(20) → R(18) is -2.
Determining the individual letter transformations reveals the underlying logic of the encryption algorithm.
2
Identify the pattern distinguishing the different shift values.
All consonants (P, L, N, T) are shifted backward by 2 positions (-2). All vowels (A, E) are shifted forward by 3 positions (+3).
Coding sequences often depend on character classification such as vowels versus consonants.
3
Apply the established consonant rule (-2) and vowel rule (+3) to the target string ORBIT.
O (vowel) + 3 = R; R (consonant) - 2 = P; B (consonant) - 2 = Z; I (vowel) + 3 = L; T (consonant) - 2 = R.
Applying the exact algorithm guarantees the correct cipher generation.
4
Combine the transformed characters to form the final cipher.
The final string is RPZLR.
This completes the encryption process.

Anahtar Kavram

Coding and Decoding based on Vowel and Consonant conditions
Tahmini Süre:1m 30s
Bu soruyu puanla