Question
Which number would be at the fourth position from the
left end in the last step of the output? Study the following information carefully to answer the given questions. A number arrangement machine when given an input line of numbers rearranges them following a particular rule in each step. The following is an illustration of input and rearrangement. Input : 97 13 78 2391 45 67 32 Step I: 04 78 23 91 45 67 32 02 Step II: 05 04 78 45 67 32 02 08 Step III: 05 05 04 45 67 02 08 01 Step IV: 09 05 05 04 02 08 01 01 Step IV, is the last step. Input: 76 14 12 96 86 34 65 45 56 24Solution
In the given Input-Output the numbers are arranged from both the ends simultaneously. In first step- Lowest number is arranged from the left end and highest number is arranged from the right end. In second step- 2nd lowest number is arranged from the left end and 2nd highest number is arranged from the right end and so on... Also while arranging the numbers, the numbers which are arranged from left end are replaced by the addition of the digits of that number whereas the numbers which are arranged from the right end are replaced by the difference of the digits of that number. Input: 76 14 12 96 86 34 65 45 56 24 Step I: 03 76 14 86 34 65 45 56 24 03 Step II: 05 03 76 34 65 45 56 24 03 02 Step III: 06 05 03 34 65 45 56 03 02 01 Step IV: 07 06 05 03 45 56 03 02 01 01 Step V: 09 07 06 05 03 03 02 01 01 01
What is the code for “hard”?
If ‘Hospital’ is called as ‘School’, ‘School’ is called as ‘Temple’, ‘Temple’ is called as ‘Market’, and ‘Market’ is called...
What is the code for ‘say may’ in the given code language?
- In a certain code language, ‘TABLE’ is coded as 14 and ‘CHAIR’ is coded as 10. How will ‘PLATE’ be coded in that language?
In a certain code language, HAIR is written as 72 and PALM is written as 66. What will be the code for THUMB in the same language?
In a certain code language, ‘CALCIUM’ is coded as ‘25’ and ‘FLOWER’ is coded as ‘53’. What is the code of word ‘MEMORIES’ in the sam...
In a certain language ’which have strong legs’, is written as ‘d@f15 s#y12’ h@q18 o@j12, then what does ‘modern house&rsqu...
- In a code language, ‘GARMENTS’ is written as ‘TYINCMGH’ and ‘INFALTION’ is written as ‘GMUYOGGMM’. How will ‘CONSTANT’ be written in th...
In a certain language,
'pl zs ls' means 'conspiracy was hatched',
'uq al bg' means 'would replace him'
'bg kr ls' means ‘him as h...
If ‘DOG’ = 78, then ‘BARK’ = (?)