ReasoningVery hardSSC CGL Tier 2 · IBPS PO Mains · SBI PO Mains

Letters are coded as follows: P = 7, R = 4, A = 2, E = 9, M = 5, T = 1, I = 8, O = 6, N = 3, S = 0, K = X, L = Y. Conditions: (i) If the first letter is a vowel and the last letter is a consonant, their codes are interchanged. (ii) If both the first and the last letters are consonants, both are coded as the code of the last letter. (iii) If the first letter is a consonant and the last letter is a vowel, the first is coded as Z and the last as W. What is the code for PATRON?

  1. A. 321467
  2. B. 721467
  3. C. 721463
  4. D. 321463

Correct answer: D. 321463

P and N are both consonants, so condition (ii) applies: both ends take the code of the last letter, N = 3. Middle: A = 2, T = 1, R = 4, O = 6. 721467 uses the first letter's code; 321467 interchanges the codes as in (i).

हिंदी में

अक्षरों के कूट इस प्रकार हैं: P = 7, R = 4, A = 2, E = 9, M = 5, T = 1, I = 8, O = 6, N = 3, S = 0, K = X, L = Y। शर्तें: (i) यदि पहला अक्षर स्वर है और अंतिम अक्षर व्यंजन है, तो उनके कूट आपस में बदल दिए जाते हैं। (ii) यदि पहला और अंतिम दोनों अक्षर व्यंजन हैं, तो दोनों को अंतिम अक्षर के कूट से कूटबद्ध किया जाता है। (iii) यदि पहला अक्षर व्यंजन है और अंतिम अक्षर स्वर है, तो पहले को Z और अंतिम को W से कूटबद्ध किया जाता है। PATRON का कूट क्या है?

  1. A. 321467
  2. B. 721467
  3. C. 721463
  4. D. 321463

उत्तर: D. P और N दोनों व्यंजन हैं, इसलिए शर्त (ii) लागू होती है: दोनों सिरों को अंतिम अक्षर N = 3 का कूट मिलता है। बीच में: A = 2, T = 1, R = 4, O = 6। 721467 में पहले अक्षर का कूट लिया गया है; 321467 में (i) की तरह कूट आपस में बदले गए हैं।

More Coding–Decoding questions

Exams that ask this topic