Latest Government Jobs 2017
Home » Machine Input-Output Problems

Machine Input-Output Problems

Reasoning:

Machine Input-Output problems for Bank Exams:

Machine Input-Output Type of questions in reasoning are also scoring topic in IBPS Bank Exams- If we understand the logic of the arrangement of the given example carefully.

We have to arrange the given input sentence into output sentence step by step manner by following the specific rule illustrated in the given example.

Usually by observing many example problems from the previous bank exam test papers . Here, we are providing  some of the general logics of input problems under reasoning section.

  1. In some problems alphabets are arranging as per dictionary as it is or in reverse order.
  2. Numbers are arranged in descending or ascending order.
  3. Interchanging the positions of the words and numbers.




Note :  There is no fixed no. of rules defined in this type of questions. Every set of questions follows a unique & specific rule defined in the example input reaarangement.

So, you have to check out the logic behind the given example problem and solve the given questions accordingly.

Example 1:

Study the given information to answer the given questions.

Observe the following step by step arrangement of words and numbers  in the given example and understand carefully the specific rule behind those arrangements and follow that rule in solving the given input to answer the questions relatedly.

Input : sony 28 has 19 95 45 lucy nancy 76 rosy

step1 : has sony 28 19 45 lucy nancy 76 rosy 95.

(Explaination : smallest alphabetical word(has) as per dictionary arangements  is moved to first and biggest number (95) is moved to last  and no change with other words and numbers they remain as it is)

step 2: lucy has sony 28 19 45 nancy rosy 95 76.

(Explaination : Next smallest alphabetical word (lucy) is moved to first and next biggest number (76)  moved to last )

step 3 : nancy lucy has sony 28 19  rosy 95 76 45.

(Explaination : Next smallest alphabetical word (nancy) is moved to first and next biggest number (45)  moved to last )

step4 : rosy nancy lucy has sum 19 95 76 45 28.

(same as in last step – next smallest word and next biggest number) 

step 5 : sony rosy nancy lucy has 96 76 45 28 19.

( output)

And step 5 is the last(output) step of the rearrangement for the given input sentence.

As per the rules(read explainations to understand clearly) followed in the above steps. Find out the answers for the following questions by solving the given input with above rules.

==> Input : 49 lazy zen 14  81 year can van 33 air 87 54

Solution:

To solve above problem quickly use first letters of the word and proceed further as below to save our time in solving.

49 lazy zen 14  81 year can van 33 air 87 54 

Input : 4    l     z    1      81     y     c     v     3    a     87  5

Step 1 : Point out smallest alphabet and biggest number and arrange as shown in the example rearrangement.

  a      4     l      z      1     81      y     c      v      3    5  87




Step 2 : Highlight next biggest number smaller than 87 and alphabate after  air as per dictionary order in step 1 and rearrange this in step 2.

  c      a      4     l       z     1       y      v       3      5     87    81

Step 3  : Highlight next biggest number and smaller than 81 and alphabate after  can  as per dictionary order in step 2 and rearrange this in step 2.

  l       c      a      4      z     1       y      v       3     87    81       5

Step 3  : Identify and mark next biggest number and smaller than 54 and alphabate after  lazy as per dictionary order in step 2 and rearrange this in step 2.

 v      l       c      a     z     1       y      3     87    81       5       4

Step 4  :  Continue the same logic used in step 3.

 y     v      l       c      a     z        1     87     81       5      4       3

Step 5 :  same as above.

Final  Step (Output)  –>

 z     y     v      l       c      a    87     81       5      4       3        1

Expand the final arrangement as below and answer the given quetions.

zen   year  van  lazy   can   air    87     81       54     49      33       14

1. How many steps would be needed to complete the arrangement?

(1) III      (2) V  (Ans)       (3)VII                  (4) IV        

2.  Which step would be the following output ?                                             van lazy can air zen 14 year 33 87 81 54 49

          (1) III (Ans)       (2) V                     (3)VII          

         (4) IV                        (5) There will be no such step.
3. which of the following would be the step 1?
(1)  lazy can air zen 14 year van 33 87 81 54 49
(2) air 49 lazy zen 14  81 year can van 33   54 87/strong>
(3) 81 year can van 33   54 87 air 49 lazy zen 14
(4) air 49 lazy zen 14  81 van 33 year can    54 87.



Example 2 :  Study the following example carefully and answer the given questions by following the same logic used in the example input rearrangement.

A word and number arrangement when given an input line of words and numbers rearranges them following a particular rule in each step.

The following is an illustration of input arrangement.

Input :  few    34    drops    at     52       85     honey  18   bee   48  

step 1 :  85    few     34      drops  52      honey    18    bee   48   at

step 2 : 85     52        few    34   drops   honey    18     48   bee   at

step 3 : 85     52        48     few     34      honey   18     drops   bee   at

step 4 : 85     52        48     34      honey    18     few       drops   bee   at

step 5 : 85     52        48     34      18   honey     few       drops   bee   at

As per the rules followed in the above example rearrange the given input and answer the questions.

Input : Come    18     47      forth  89    65   into    the    life  90

Solution :  c     1      4     f       8    6     i       t     l     9

Explaination : (Highlight the number and word that should be move is in red color )

Step 1    :  9     1      4     f       8     6    i      t      l     c

Explaination : (Highlight the number and word that should be move is in red colour  and the number and word that should be already arranged are in blue colour)

Step 2   :   9     8     1      4       6     i     t    l       f     c

Step 3   :   9    8     6        1       4     t     l    i       f      c

Step 4  :   9    8     6         4       1      t     l    i      f      c

                  90    89   65   47   18    the   life  into   forth   come

Q.1) Which of the following will be input of the 

Step 3 : 90    89    65    18  47   the  life   into   forth  come

Ans :  We cant find input(or previous steps) for any output  step.

If we get any such questions simply choose Can’t be determind options in answers.

3. which of the following would be the step 2?

 (1)  90 89 65 47 18 the life into forth come

(2) 90  89   18   47  65   into   the   life  forth  come

(3) 18 47 65  into the life forth come 90 89

(4) 90 89 18 47 65 into  forth come the life

(5) None of these

4.  which of the following would be the last but one step?

 (1) 90  89 65 18 47  the  life  into  forth  come
(2) 90  89   18   47  65   into   the   life  forth  come
(3) 18  into the life forth come 90 89  47 65 
(4) 90 89 18 47 65 into  forth come the life
(5) None of these
Explaintion :  Here last but one step means just before the final step i.e   (step3) in the above arrangement.
5. How many steps are needed to get the final rearrangement for the given input?
(1) III     (2) IV       (3) V     (4)  VI  (5) None of These





Example 3:

Study the given information to answer the given questions.

Observe the following step by step arrangement of words and numbers  in the given example and understand carefully the specific rule behind those arrangements and follow that rule in solving the given input to answer the questions relatedly.

Input :  punish 14   21   a  naughty man   72   38   97  for stupidity  68

step1 : for  a punish 14   21 naughty man   72   38   97  stupidity  68

step 2: 21  14   for  a punish naughty man   72   38   97  stupidity  68

step 3 : naughty man 21  14   for  a punish 72   38   97  stupidity  68

step 4 : 68   38  naughty man 21  14   for  a punish 72 97  stupidity

step 5 : stupidity punish 68   38  naughty man 21  14   for  a 72 97

step 6 : 97  72  stupidity punish 68   38  naughty man 21  14   for  a

Explaination :  Analyse the logic behind the above arrangement .

  1. Rearrangement from left to right in one way.
  2. First 2 alphabets as per dictionary order in step 1.
  3. First 2 small numbers in second step 
  4. Repeat the step 1 and step 2 upto final rearrangement.

Q.) INPUT : dewdrops 84  shines  56  like  96  pearls  24 views 11 beautiful   75.

d    8    s    5    l    9   p   2   v   1   b    7

Step 1 : d  b  8    s    5    l    9   p   2   v   1   7

Step 2 : 2  1  d  b  8    s    5    l    9   p   v   7

Step 3 : p  l   2  1   d    b    8    s    5  9   v   7

Step 4 : 7  5   p  l   2  1   d    b    8    s    9   v

Step 5 : v  s   7  5   p  l   2    1    d     b     8   9

Step 6 : 9  8  v  s   7  5   p  l   2    1    d     b

96  84    views   shines  75   56   pearls  like  24  11  dewdrops beautiful

Q.1) How many steps needed to get final output for the given input?

(1) III    (2) VI     (3)  IV     (4) V     (5) VII

Ans. (2) VI

Q. 2) Which is the input step for the below rearrangement

step 4 :  7  5   p  l   2  1   d    b    8    s    9   v

(1) 96  84    views   shines  75   56   pearls  like  24  11  dewdrops beautiful

(2) Can’t be determind

(3) dewdrops 84  shines  56  like  96  pearls  24 views 11 beautiful   75.

(4) None of these.