Input - Output based problems


  • Converted IIM Indore call | Mentor for Banking/RBI/SSC exams


    This is one of the easiest type of questions that used to come in exams. In question there will be an input data which used to be a combination of numbers and words. Then there will be a number of steps through which a output data will be formed. The importance of this question is this is the section from which full marks can be scored very easily. Hence the challenge should be solving these questions within very less time.

    Normally input data used to be a number-word formation. While doing these types of problems, we have to check two things. One is the way by which numbers and words arranged in output format .Second thing is the steps performed during the conversion of input to output.

    For example input given is B 3 E 4 5 A 2 C 1 D

    Steps are:
    Step 1: A B 3 E 4 1 5 2 C D
    Step 2: A B 3 E 4 1 2 5 C D
    Step 3: A B C E 4 1 2 3 5 D
    Step 4: A B C D E 1 2 3 4 5

    Output is A B C D E 1 2 3 4 5

    With Same input and output, steps can be different like this also
    Step 1: A B 3 E 4 5 2 C 1 D
    Step 2: A B C 3 E 4 5 2 1 D
    Step 3: A B C D 3 E 4 5 2 1
    Step 4: A B C D E 3 4 5 2 1
    Step 5: A B C D E 1 3 4 5 2
    Step 6: A B C D E 1 2 3 4 5

    Hence besides the relation between input and output, we have to concentrate on the way how input is converted into output.

    Some Questions are given below

    INPUT: 52 PEAK 91 SNOW FREEZE 46 COLD 15 HIGH 31 73 TREK

    STEP 1: 15 52 PEAK SNOW FREEZE 46 COLD HIGH 31 73 TREK 91
    STEP 2: 15 31 52 PEAK SNOW FREEZE 46 COLD HIGH TREK 73 91
    STEP 3: 15 31 46 PEAK SNOW FREEZE COLD HIGH TREK 52 73 91
    STEP 4: 15 31 46 COLD PEAK SNOW FREEZE HIGH TREK 52 73 91
    STEP 5: 15 31 46 COLD FREEZE PEAK SNOW HIGH TREK 52 73 91
    STEP 6: 15 31 46 COLD FREEZE HIGH PEAK SNOW TREK 52 73 91
    STEP 6 is the last step of rearrangement. As per the rules followed in the above steps, find out in each of the following questions the appropriate steps for the given input.

    INPUT: 67 HOT SUN 19 BEST 83 ICE 49 ACE 77 CUT 37

    Questions

    How many steps would be needed to complete the arrangement?
    a) 10
    b) 9
    c) 8
    d) 7
    e) None of these

    Which step number would be the following output?
    19 37 49 ace best hot sun ice cut 67 77 83
    a) 2
    b) 4
    c) 5
    d) 6
    e) None of these

    Which of the following would be step 1?
    a) 19 37 49 hot sun best ice ace cut 67 77 83
    b) 83 67 hot sun best ice 49 ace 77 cut 37 19
    c) 19 67 ace best hot sun ice 49 77 cut 37 83
    d) 19 67 hot sun best ice 49 ace 77 cut 37 83
    e) None of these

    Which of the following would be the final arrangement?
    a) 67 77 83 ace best cut hot ice sun 19 37 49
    b) 19 37 49 ace best cut hot ice sun 67 77 83
    c) 19 37 49 67 77 83 ace best cut hot ice sun
    d)19 37 49 ace ice best cut hot sun 67 77 83
    e) None of these

    In step 4 which of the following word/number would be on 7th position from right?
    a)Sun
    b)Best
    c)67
    d) Cut
    e)None of these

    Explanation

    INPUT: INPUT: 67 HOT SUN 19 BEST 83 ICE 49 ACE 77 CUT 37
    STEP 1: 19 67 HOT SUN BEST ICE 49 ACE 77 CUT 37 83
    STEP 2: 19 37 67 HOT SUN BEST ICE 49 ACE CUT 77 83
    STEP 3: 19 37 49 HOT SUN BEST ICE ACE CUT 67 77 83
    STEP 4: 19 37 49 ACE HOT SUN BEST ICE CUT 67 77 83
    STEP 5: 19 37 49 ACE BEST HOT SUN ICE CUT 67 77 83
    STEP 6: 19 37 49 ACE BEST CUT HOT SUN ICE 67 77 83
    STEP 7: 19 37 49 ACE BEST CUT HOT ICE SUN 67 77 83
    STEP 7 Is the last step.

    Answer for question no:1 is 7 steps hence option (d)
    Answer for question no:2 is step 5 hence option (c)
    Answer for question no:3 is option (d)
    Answer for question no: 4 is option (b)
    Answer for question no:5 is option (a)

    INPUT: TALL 48 13 RISE ALT 99 76 32 WISE JAR HIGH 28 56 BARN
    STEP 1: 13 TALL 48 RISE 99 76 32 WISE JAR HIGH 28 56 BARN ALT
    STEP 2: 28 13 TALL 48 RISE 99 76 32 WISE JAR HIGH 56 ALT BARN
    STEP 3: 32 28 13 TALL 48 RISE 99 76 WISE JAR 56 ALT BARN HIGH
    STEP 4 : 48 32 28 13 TALL RISE 99 76 WISE 56 ALT BARN HIGH JAR
    STEP 5: 56 48 32 28 13 TALL 99 76 WISE ALT BARN HIGH JAR RISE
    STEP 6: 76 56 48 32 28 13 99 WISE ALT BARN HIGH JAR RISE TALL
    STEP 7: 99 76 56 48 32 28 13 ALT BARN HIGH JAR RISE TALL WISE
    STEP 7 is the last step of rearrangement. As per the rules followed in the above steps, find out in each of the following questions the appropriate steps for the given input

    INPUT: 84 WHY SIT 14 32 NOT BEST INK FEET 51 27 VAIN 68 92

    Questions

    Which step number would be the following output?
    32 27 14 84 WHY SIT NOT 51 VAIN 68 92 FEET BEST INK
    a) 5
    b) 6
    c) 4
    d) 3
    e) There is no such step

    Which word/number would be at 5th position from right in step 5?
    a) 14
    b) 92
    c) feet
    d) best
    e) why

    How many elements are there between feet and 32 as they appear in the last step of the output?
    a) 1
    b) 4
    c) 3
    d) 7
    e) 5

    Which of the following represents the position of ‘why’ in the fourth step ?
    a) Eight from the left
    b) Fifth from the right
    c) Sixth from the left
    d) Fifth from the left
    e) Seventh from the left

    Explanation

    INPUT: 84 WHY SIT 14 32 NOT BEST INK FEET 51 27 VAIN 68 92
    STEP 1 : 14 84 WHY SIT 32 NOT INK FEET 51 27 VAIN 68 92 BEST
    STEP 2: 27 14 84 WHY SIT 32 NOT INK 51 VAIN 68 92 BEST FEET
    STEP 3 : 32 27 14 84 WHY SIT NOT 51 VAIN 68 92 BEST FEET INK
    STEP 4 : 51 32 27 14 84 WHY SIT VAIN 68 92 BEST FEET INK NOT
    STEP 5: 68 51 32 27 14 84 WHY VAIN 92 BEST FEET INK NOT SIT
    STEP 6: 84 68 51 32 27 14 WHY 92 BEST FEET INK NOT SIT VAIN
    STEP 7 : 92 84 68 51 32 27 14 BEST FEET INK NOT SIT VAIN WHY

    Answers

    1. 3rd step . Hence option d
    2. Answer is best. Option d
    3. Answer is 3 Hence option c
    4. Answer is sixth from the left . Hence option c

Log in to reply
 

Looks like your connection to MBAtious was lost, please wait while we try to reconnect.