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 is the value of input if only signal AA and BB is taken into account?
8
The problem describes how to construct a 4x4 matrix based on several rules applied in a specific order. The rows are labeled %, $, #, and @, and columns are 1, 2, 3, and 4.
The instruction also states that the sum of all digits in the second column is less than that of the third column in the final matrix. This constraint helps confirm the correct matrix.
Let's build the matrix following the rules:
Step 1: Place the Diagonals
Partial Matrix after Step 1:
| 1 | 2 | 3 | 4 | |
|---|---|---|---|---|
| % | I | 2 | ||
| $ | B | 0 | ||
| # | 1 | P | ||
| @ | 9 | S |
Step 2: Apply Immediate Neighbor Rule (for alphabets)
For each alphabet cell, its immediate horizontal neighbor (if empty) gets its alphabetical position:
Partial Matrix after Step 2:
| 1 | 2 | 3 | 4 | |
|---|---|---|---|---|
| % | I | 9 | 2 | |
| $ | 2 | B | 0 | |
| # | 1 | P | 16 | |
| @ | 9 | 19 | S |
Step 3: Apply Remaining Places Rule (difference between surrounding numbers)
Remaining empty cells are %,3, $,4, #,1, @,2. A cell is filled with the difference between two numbers surrounding it in the same row.
Final Constructed Matrix:
| 1 | 2 | 3 | 4 | |
|---|---|---|---|---|
| % | I | 9 | 7 | 2 |
| $ | 2 | B | 0 | 2 |
| # | 15 | 1 | P | 16 |
| @ | 9 | 10 | 19 | S |
Let's verify the constraint: Sum of digits in Col 2 < Sum of digits in Col 3.
13 < 24. The constraint is satisfied, confirming the matrix construction.
The value of an input string is calculated based on specific conditions applied in a particular order. Based on the example provided, the likely precedence of rules is 4 > 1 > 3 > 2 > 5.
We need to find the values for strings AA and BB.
String AA = $2 #1 @3 #3
Getting values from the matrix:
String AA values are: B, 15, 19, P. This string contains 2 alphabets (B, P) and 2 numbers (15, 19).
Check String Value Rules for AA (B 15 19 P):
Value(AA) = |(Sum of alphabetical positions of alphabets) - (Sum of numbers)|
Alphabetical positions of alphabets in AA: B=2, P=16. Sum = 2 + 16 = 18.
Numbers in AA: 15, 19. Sum = 15 + 19 = 34.
Value(AA) = |18 - 34| = |-16| = 16.
String BB = @1 %4 @3 %3
Getting values from the matrix:
String BB values are: 9, 2, 19, 7. This string contains only numbers.
Check String Value Rules for BB (9 2 19 7):
Value(BB) = Sum of all numbers = 9 + 2 + 19 + 7 = 37.
The input value is obtained by adding the values of all strings taken into account (AA and BB).
Total Value = Value(AA) + Value(BB) = 16 + 37 = 53.
The digits in this value are added up to the point where it becomes a single digit number.
53 → 5 + 3 = 8.
The final single-digit input 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 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?
What will be the value of string if all four signals given is taken as input?