All Exams Test series for 1 year @ ₹349 only
Question

A group of numbers and symbols is coded using letter codes as per the code given below and the conditions followed by the given letters. Study the given code and conditions and answer the following question.

Numbers/Symbols4&59#*3%@8$2+7
CodesHJPRDSEKCVNBZL

Conditions - (i) If the second element is a symbol and the last element is a number, then the second and the last elements are to be coded as ©.

(ii) If the first element is a symbol and the fourth element is an even number, then the codes of both these (first and fourth elements) are to be interchanged.

(iii) If both the second and third elements are odd numbers, then the third element is to be coded as the code for the second element.

What will be the code for the following group?

$ 5 7 # 2

The correct answer is

N P P D B

Understanding the Coding Problem

This problem requires us to code a given group of numbers and symbols based on a provided code table and a set of conditions. We need to carefully examine the group, check which conditions apply, and then derive the final code.

Analyzing the Code Table and Conditions

First, let's look at the code table that maps each number or symbol to a letter:

Element Code
4 H
& J
5 P
9 R
# D
* S
3 E
% K
@ C
8 V
$ N
2 B
+ Z
7 L

Next, we have three specific conditions:

  1. If the second element is a symbol and the last element is a number, then the second and the last elements are to be coded as ©.
  2. If the first element is a symbol and the fourth element is an even number, then the codes of both these (first and fourth elements) are to be interchanged.
  3. If both the second and third elements are odd numbers, then the third element is to be coded as the code for the second element.

Coding the Group: $ 5 7 # 2

Now, let's apply these rules to the group $ 5 7 # 2. The elements in the group are:

  • 1st element: $ (Symbol)
  • 2nd element: 5 (Number, Odd)
  • 3rd element: 7 (Number, Odd)
  • 4th element: # (Symbol)
  • 5th element: 2 (Number, Even)

Checking the Conditions:

Let's check which of the given conditions apply to this specific group:

  • Condition (i): "If the second element is a symbol and the last element is a number..."
    • Second element is 5 (Number), not a symbol.
    • The condition is not met. Condition (i) does not apply.
  • Condition (ii): "If the first element is a symbol and the fourth element is an even number..."
    • First element is $ (Symbol). This part is true.
    • Fourth element is # (Symbol), not an even number. This part is false.
    • Since both parts of the condition are not true, Condition (ii) does not apply.
  • Condition (iii): "If both the second and third elements are odd numbers..."
    • Second element is 5, which is an odd number. This is true.
    • Third element is 7, which is an odd number. This is true.
    • Both parts of the condition are true. Condition (iii) applies.

Applying Condition (iii):

Condition (iii) states that if both the second and third elements are odd numbers, then the third element is to be coded as the code for the second element.

Let's find the original codes for each element from the table:

  • $ → N
  • 5 → P
  • 7 → L
  • # → D
  • 2 → B

Since Condition (iii) applies, the code for the third element (7), which is 'L', must be changed to the code for the second element (5), which is 'P'.

The modified codes are:

  • $ → N
  • 5 → P
  • 7 → P (changed from L)
  • # → D
  • 2 → B

Final Coded Group

Putting the codes together in the original order of the group $ 5 7 # 2, the final code is N P P D B.

Was this answer helpful?

Important Questions from Conditional Matrix

  1. A group of numbers and symbols is coded using letter codes as per the code given below and the conditions followed by the given letters. Study the given code and conditions and answer the following question.

    Numbers/Symbols6$9&+25@8#3%74
    CodePHFAKUZCWSXGBM

    Conditions - (i) If the second element is a symbol and the fourth element is an even number, then the codes of both these (second and fourth elements) are to be interchanged.

    (ii) If both the first and fourth elements are odd numbers, then both these (first and fourth elements) are to be coded as ©.

    (iii) If both the second and third elements are symbols, then the third element is to be coded as the code of the second element.

    What will be the code for the following group?

    9 5 $ 7 &

  2. What is the value of input if only signal AA and BB is taken into account?

  3. What is the correct option if only signal CC is taken into account?

  4. What is the correct option if both signals AA and DD is taken as input?

  5. What will be the value of string if all four signals given is taken as input?

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App