ReasoningVery hardSSC CGL Tier 2 · IBPS PO Mains

A code for four-digit numbers: if the first digit is greater than the last, they are interchanged; if the first digit is smaller than the last, 2 is added to each of the middle two digits (a digit above 9 keeps only its units digit); if they are equal, both are replaced by 1. What is the sum of the codes of 7249, 5683 and 4814?

  1. A. 11964
  2. B. 12865
  3. C. 12965
  4. D. 13065

Correct answer: C. 12965

7249: 7 < 9, middle digits 2 and 4 become 4 and 6, giving 7469. 5683: 5 > 3, interchange to get 3685. 4814: equal ends become 1, giving 1811. The sum is 7469 + 3685 + 1811 = 12965.

हिंदी में

चार अंकों की संख्याओं के लिए एक कूट: यदि पहला अंक अंतिम अंक से बड़ा है तो वे आपस में बदल दिए जाते हैं; यदि पहला अंक अंतिम अंक से छोटा है तो बीच के दोनों अंकों में 2 जोड़ा जाता है (9 से बड़ा अंक केवल इकाई का अंक रखता है); यदि वे बराबर हैं तो दोनों को 1 से बदल दिया जाता है। 7249, 5683 और 4814 के कूटों का योग क्या है?

  1. A. 11964
  2. B. 12865
  3. C. 12965
  4. D. 13065

उत्तर: C. 7249: 7 < 9, बीच के अंक 2 और 4 बनते हैं 4 और 6, अतः 7469। 5683: 5 > 3, अदला-बदली से 3685। 4814: बराबर सिरे 1 बन जाते हैं, अतः 1811। योग 7469 + 3685 + 1811 = 12965 है।

More Coding–Decoding questions

Exams that ask this topic