SSC PYQComputer Based Examination 2024

SSC MTS – Multi-Tasking (Non-Technical) Staff & Havaldar Examination · Question 24

In a certain code language, ‘HEAP’ is coded as ‘7395’ and ‘PEAS’ is coded as ‘9571’. What is the code for ‘S’ in the given code language?

  1. 7

  2. 5

  3. 1

  4. 9

Show answer & explanationShow explanation

Answer: (C) 1

Explanation

Common part: E, A and P are in both words, and 7, 9 and 5 are in both codes, so {E, A, P} = {7, 9, 5}. Leftovers: H = 3 (only in HEAP's code) and S = 1 (only in PEAS's code). Correct Answer: (c) 1

Diagram explaining the answer