Current Affairs PDF

Machine Input Output – Solved Examples

AffairsCloud YouTube Channel - Click Here

AffairsCloud APP Click Here

In the reasoning section, one of the important topics is Machine Input Output problems. Here you can check some of the important types of Machine Input Output problems. You can also check the examples of some important problems which are asked in various bank exams however, we can’t expect the same pattern in the upcoming exams.

Types:ip-op

  • Ordering

Alphabets(Forward/Reverse order)
Numbers(Ascending/Descending order)

  • Shifting / Interchanging

Single Side Shifting
Double Side Shifting

  • Mathematical Operations
  • Shifting with the help of Numbers

Example 1:

Input : day 74 night 36 25 68 all for
Step 1 : all day 74 night 36 25 68 for
Step 2 : all 74 day night 36 25 68 for
Step 3 : all 74 day 68 night 36 25 for
Step 4 : all 74 day 68 for night 36 25
Step 5 : all 74 day 68 for 36 night 25
Step 5 is the last step of the rearrangement of the input.

Look at the last step of the input, words are arranged in alphabetical order and the numbers are arranged in descending order. In all the steps only one number/word is shifted. Shifting is performed fro left to right only i.e Single Side Shifting.

Example 2:

Input: games 79 go glacier 57 14 give 86 63 gender 42 get
Step I: glacier games 79 go 57 give 86 63 gender 42 get 41
Step II: gender glacier games 79 go 57 give 86 63 get 41 24
Step III: games gender glacier 79 go give 86 63 get 41 24 75
Step IV: give games gender glacier 79 go 86 get 41 go 75 36
Step V: get give games gender glacier go 86 41 24 75 36 97
Step VI: go get give games gender glacier 41 24 75 36 97 68
Step VI is the last step of the rearrangement of the input.

In this type, look at the final arrangement the words are shifted as per the total number of letters. For Example, go – two letter word; get – three letter word and so on. Numbers are arranged in ascending order as per the input (but the digits are reversed while shifting. For Example 14 – 41, 42-24). In all the steps, both word and number are arranged in both ends of the row.

Example 3:

Input: 41 sprain 10 early 97 noble 26 65 ankle death
Step I: 97 41 10 early noble 26 65 ankle death sprain
Step II: noble 97 41 10 early 26 ankle death sprain 65
Step III: 41 noble 97 10 26 ankle sprain 65 early
Step IV: death 41 noble 97 10 ankle sprain 65 early 26
Step V: 10 death 41 noble 97 sprain 65 early 26 ankle

In this type, Output is obtained in the form of “Number Word Number“. Both numbers and words are arranged in ascending order.

Example 4:

Input: any number less than 30 and more than 20 does not equal 40
Step I: than 20 any number less than 30 and more does not equal 40
Step II: than 20 than 30 any number less and more does not equal 40
Step III: than 20 than 30 equal 40 any number less and more does not
Step IV: than 20 than 30 equal 40 number any less and more does not
Step V: than 20 than 30 equal 40 number not any less and more does
Step VI: than 20 than 30 equal 40  number not more any less and does
Step VII: than 20 than 30 equal 40 number not more less any and does
Step VIII: than 20 than 30 equal 40 number not more less does any

In this type, the word along with numbers are arranged in reverse alphabetical order. For Example – than 30, Equal 40. But the numbers are arranged in ascending order.

Example 5:

Input: Apple Ball Cat Doll Egg Fan Gun
Step 1: Gun Cat Ball Doll Egg Fan Apple
Step 2: Cat Gun Doll Ball Egg Apple Fan
Step 3: Fan Doll Gun Ball Egg Apple Cat
Step 4: Doll Fan Ball Gun Egg Cat Apple
Pattern Explanation:
Apple – 1; Ball – 2; Cat – 3 and so on
Step 1: 7 3 2 4 5 6 1
Step 2: 3 7 4 2 5 1 6
Step 3: 6 4 7 2 5 1 3
Step 4: 4 6 2 7 5 3 1