hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    Study the following information carefully and answer the given question : A word and number arranyement machine when given an mput line of words and b
    Question

    Study the following information carefully and answer the given question : A word and number arranyement machine when given an mput line of words and bumbers rearranges them following a particular rule in each step. The following is an illustration of input and rearrangement :
    Input: sky forward 17 over 95 23 come 40
    Step I: come sky forward 17 over 95 23 40
    Step II: come 95 sky forward 17 over 23 40
    Step III: come 95 forward sky 17 over 23 40
    Step IV: come 95 forward 40 sky 17 over 23
    Step V: come 95 forward 40 over sky 17 23
    Step VI: come 95 forward 40 over 23 sky 17
    Step VI is the last step of the rearrangement of the above input.
    As per the rules followed in the above steps, find out in the following question the appropriate step for the given input.
    Input: machine hire for 19 against 85 21 46.
    Which of the following will be step II ?

    A.

    against 85 machine 19 hire for 21 46

    B.

    cannot be determined

    C.

    against 85 hire machine for 19 21 46

    D.

    against 85 machine hire for 19 21 46

    Correct option is D

    Logic: Operations applied in each step are defined below:
    Step I: The word "come" (the alphabetically first word) moves to the beginning. The remaining elements shift to the right.
    Step II: The largest number "95" moves to the second position. The remaining elements shift to the right.
    Step III: The next alphabetically first word ("forward") moves to the third position. The remaining elements shift to the right.
    Step IV: The next largest number ("40") moves to the fourth position. The remaining elements shift to the right.
    Same pattern follow continuously in next step.
    Input: machine hire for 19 against 85 21 46.
    Step I. against machine hire for 19 85 21 46.
    Step II. against 85 machine hire for 19 21 46.
    Thus, the correct option is (d).

    Free Tests

    Free
    Must Attempt

    UP SI 2025 Full Mock Test : 01

    languageIcon English
    • pdpQsnIcon160 Questions
    • pdpsheetsIcon400 Marks
    • timerIcon120 Mins
    languageIcon English
    Free
    Must Attempt

    UP Police Constable Full Mock Test 01

    languageIcon English
    • pdpQsnIcon150 Questions
    • pdpsheetsIcon300 Marks
    • timerIcon120 Mins
    languageIcon English
    Free
    Must Attempt

    Government Policies and Scheme

    languageIcon English
    • pdpQsnIcon10 Questions
    • pdpsheetsIcon20 Marks
    • timerIcon5 Mins
    languageIcon English

    Similar Questions

    test-prime-package

    Access ‘VDO’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    students-icon
    354k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow