Directions: Study the following information carefully and answer the questions that follow: There is a matrix of 4*4. The rows are represented as %, $, # and @ from the first to the fourth in the same order and the columns are represented as 1 to 4 from the first to the fourth in the same order. Following operations are to be performed in the given order to obtain the whole matrix. 1. One diagonal of matrix is IBPS and the other diagonal is 2019 in the same order. Both have their first element in the first Column and 4th column respectively. 2. The immediate neighbor of any alphabet in the same row is the alphabetical position of that number. 3. The remaining places are to be filled by taking the difference between the two numbers surrounding that place in the same row. In the obtained matrix, the value of the sum of all digits in the second column would be less than that of the third column. The compiler of a PC will respond to the input by calculating the value of the string as per the following conditions. 1. If there are equal number of even and odd numbers in the string, then value of the string will be the absolute difference between all the even numbers and all the odd numbers. 2. If there are equal number of alphabets and numbers in the string, then the value of string will be the absolute difference between the alphabetical position of all the alphabets and all the numbers. 3. If there is only one even number in the string, then the value of string will be the addition of all the numbers in that string. 4. If there is a vowel in the string, then value of the string will be the alphabetical position of that vowel. 5. If none of the above mentioned conditions follow, then the value of the string will be obtained by subtracting the lowest number from the highest number in that string. Note: 1. The value of an input is obtained by adding the values of all the strings and then the digits in that value is added up to the point where it becomes a single digit number and then it is taken as an input. 2. If only a single string is given, then the digits in that value is added upto the point where it becomes a single digit number and then it is taken as input. 3. If the value of an input is a prime number, then the program will be executed. If the value of an input is an even number, then program will not be executed. If the value of an input is both even and prime number, then program will be executed but it will show an error. If the value of an input is other than the above mentioned values, then PC will hang. Let us assume a matrix: 1 2 3 4 % 1 2 C 4 $ J 6 7 8 # 9 10 T 12 @ O 14 15 16 AA = $3 @2 %1 #2, BB = @1 $3 %2 $3 denotes value in second row and column 3 which will be equal to 7. Therefore AA = 7 14 1 10 So, this is satisfying condition 1. Hence the sum = (14 + 10) – (7 + 1) = 16 BB = O 7 2 So, this is satisfying condition 4. Thus, frequency = alphabetical position of O = 15 The values of AA and BB are added, and the final frequency is 16 + 15 = 31 which is a two digit number, So again adding them 3 + 1 = 4, which is a non-prime even number so the program will not be executed. Consider the following four strings for all questions: AA = $2 #1 @3 #3 BB = @1 %4 @3 %3 CC = $4 @2 #4 %1 DD = %4 @2 @4 #2
What will be the value of string if all four signals given is taken as input?
8
The problem requires us to first construct a 4x4 matrix based on a set of specific rules. The rows are labeled %, $, #, and @, and the columns are labeled 1, 2, 3, and 4.
The matrix construction rules are applied in the given order:
Let's build the matrix step-by-step:
Step 1: Apply Rule 1 (Diagonals)
Diagonal 1 (%,1 to @,4): %,1 = I, $,2 = B, #,3 = P, @,4 = S
Diagonal 2 (%,4 to @,1): %,4 = 2, $,3 = 0, #,2 = 1, @,1 = 9
| 1 | 2 | 3 | 4 | |
|---|---|---|---|---|
| % | I | 2 | ||
| $ | B | 0 | ||
| # | 1 | P | ||
| @ | 9 | S |
Step 2: Apply Rule 2 (Alphabetical Position of Neighbors)
If an alphabet is in a cell, its immediate empty horizontal neighbor(s) in the same row take the value of the alphabet's position in the English alphabet (A=1, B=2, ... Z=26).
Matrix after Rule 1 & 2:
| 1 | 2 | 3 | 4 | |
|---|---|---|---|---|
| % | I | 9 | 2 | |
| $ | 2 | B | 0 | |
| # | 1 | P | 16 | |
| @ | 9 | 19 | S |
Step 3: Apply Rule 3 (Difference of Nearest Numbers)
Remaining empty places are filled by the absolute difference between the two nearest numbers in the same row.
The complete matrix is:
| 1 | 2 | 3 | 4 | |
|---|---|---|---|---|
| % | I | 9 | 7 | 2 |
| $ | 2 | B | 0 | 2 |
| # | 15 | 1 | P | 16 |
| @ | 9 | 10 | 19 | S |
Verification: Column Sum Condition
Sum of digits in numbers in Column 2: 9 (@%) + 1 (#) + (1+0) (@) = 9 + 1 + 1 = 11.
Sum of digits in numbers in Column 3: 7 (@%) + 0 (@$) + (1+9) (@) = 7 + 0 + 10 = 17.
Is 11 < 17? Yes. The condition is satisfied by this matrix.
Now we find the values for the given strings AA, BB, CC, and DD from the constructed matrix and calculate their individual values based on the given string value conditions.
String Value Conditions (applied in order):
Value of AA = B, 15, 19, P
Value of AA = 16.
Value of BB = 9, 2, 19, 7
Value of BB = 37.
Value of CC = 2, 10, 16, I
Value of CC = 9.
Value of DD = 2, 10, S, 1
Value of DD = 9.
The value of the input is obtained by adding the values of all the strings and then adding the digits in that value up to a single-digit number.
Total value = Value(AA) + Value(BB) + Value(CC) + Value(DD)
Total value = 16 + 37 + 9 + 9 = 71.
Reduce to a single digit by summing digits:
7 + 1 = 8.
The single-digit value of the input is 8.
The value of the string if all four signals given is taken as input is the single-digit sum derived from the total value of the individual strings. This single-digit value is 8.
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/Symbols | 6 | $ | 9 | & | + | 2 | 5 | @ | 8 | # | 3 | % | 7 | 4 |
| Code | P | H | F | A | K | U | Z | C | W | S | X | G | B | M |
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 &
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/Symbols | 4 | & | 5 | 9 | # | * | 3 | % | @ | 8 | $ | 2 | + | 7 |
| Codes | H | J | P | R | D | S | E | K | C | V | N | B | Z | L |
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
What is the value of input if only signal AA and BB is taken into account?
What is the correct option if only signal CC is taken into account?
What is the correct option if both signals AA and DD is taken as input?