All Exams Test series for 1 year @ ₹349 only
Question

Input: cat 90 24 tree 48 75 flower bush
Step 1: 90 cat 24 tree 48 75 flower bush
Step II: 90 bush cat 24 tree 48 75 flower
Step III: 90 bush 75 cat 24 tree 48 flower
Step IV: 90 bush 75 cat flower 24 tree 48
Step V: 90 bush 75 cat flower 48 24 tree
Question: What is the logic behind the arrangement?

This question was previously asked in
SSC Stenographer 2025 Question Paper (06-Aug-2025) Shift 2
The correct answer is
Step V

Analyzing the Arrangement Logic

This problem involves understanding the pattern or logic behind a sequence of steps that rearrange a list containing numbers and words. We need to figure out the rule governing how elements move from one step to the next.

Step-by-Step Transformation

Let's trace the arrangement through each provided step:

  • Initial Input State: $cat 90 24 tree 48 75 flower bush$
  • Step 1 Result: $90 cat 24 tree 48 75 flower bush$
  • Step II Result: $90 bush cat 24 tree 48 75 flower$
  • Step III Result: $90 bush 75 cat 24 tree 48 flower$
  • Step IV Result: $90 bush 75 cat flower 24 tree 48$
  • Step V Result: $90 bush 75 cat flower 48 24 tree$

Identifying the Arrangement Pattern

By carefully comparing the state at the end of each step, we can identify the changes and deduce the logic:

  • From Step 1 to Step II: The element $bush$, which was at the end of the list in Step 1, moved to the second position.
  • From Step II to Step III: The element $75$, which was towards the end in Step II, moved to the third position.
  • From Step III to Step IV: The element $flower$, which was at the end in Step III, moved to the fourth position.
  • From Step IV to Step V: The element $48$, which was towards the end in Step IV, moved to the fifth position.

Explaining the Core Logic

The rearrangement follows a specific procedure:

  1. Initialization: The largest number in the list, $90$, is placed at the very beginning. It appears the word immediately preceding it in the initial state ($cat$) stays with it in Step 1.
  2. Sequential Placement: Starting from the second position, elements are selected and placed sequentially based on a pattern:
    • Position 2: The last word of the original sequence ($bush$) is moved here.
    • Position 3: The second-largest number ($75$) is moved here.
    • Position 4: The second-to-last word ($flower$) is moved here.
    • Position 5: The third-largest number ($48$) is moved here.
  3. Remaining Elements: After these specific elements are moved, the remaining elements ($cat$, $24$, $tree$) fill the subsequent positions in the order dictated by the state after Step V.

This pattern of selecting specific elements (like the largest number first, then alternating words from the end and decreasing numbers) and placing them into sequential slots explains the transformation observed up to Step V.

Was this answer helpful?

Similar Questions

  1. A word-and-number arrangement machine rearranges a given input following a specific rule in each step. The rule involves moving the alphabetically smallest word to the leftmost side and the numerically largest number to the rightmost side in each step. The process continues until all words are arranged in alphabetical order at the left end, and all numbers in descending order at the right end.
    Based on the pattern, answer the questions that follow the given input.
    Input: Panther 88 33 11 Roar Stripes 44 Animal
    Question: Which is the 1st word placed in Step 1?

  2. Input: cat 28 dog 43 bat 59
    Step 1: 59 cat 28 dog 43 bat
    Step 2: 59 bat cat 28 dog 43
    Step 3: 59 bat 43 cat 28 dog
    Step 4: 59 bat 43 dog cat 28
    What will be the final step for the input?
  3. A word-and-number arrangement machine rearranges a given input following a specific rule in each step. The rule involves moving the alphabetically smallest word to the leftmost side and the numerically largest number to the rightmost side in each step. The process continues until all words are arranged in alphabetical order at the left end, and all numbers in descending order at the right end.
    Based on the pattern, answer the questions that follow the given input.
    Input: Volcano 37 19 Ash 50 Smoke 90 Dust 28
    Question: What is the sequence of numbers in Step II?

  4. A definite Input-Output process is given below. Study the arrangement rules carefully for the given input and follow them to answer the questions based on the new input. Input: 40 10 60 20 30
    Step I: 10 40 60 20 30
    Step II: 10 20 40 60 30
    Step III: 10 20 30 40 60
    Last Step: 10 20 30 40 60
    Based on the process shown above, answer the following question for the given input:
    New Input: 75 25 85 35 15
    Question: What is the element at the \(3^{rd}\) position from the left in Step II of the new input?
  5. A word-and-number arrangement machine rearranges a given input following a specific rule in each step. The rule involves moving the alphabetically smallest word to the leftmost side and the numerically largest number to the rightmost side in each step. The process continues until all words are arranged in alphabetical order at the left end, and all numbers in descending order at the right end.
    Based on the pattern, answer the questions that follow the given input.
    Input: Shine 34 12 Gravity 91 20 Echo Bounce Mirror 73 50
    Question: Which word is placed at the 3rd position from the left in Step IV?

  6. If the input is: apple 12 orange 7 banana 15 and the logic used is to arrange numbers in ascending order and words in alphabetical order, what would be Step 2?
  7. Input: 93 box 27 pink 46 green 18
    Step 1: box 93 27 pink 46 green 18
    Step 2: box 93 green 27 pink 46 18
    Step 3: box 93 green 46 27 pink 18
    Step 4: box 93 green 46 pink 27 18
    What will be Step 5?
  8. Input: 8 cake 12 bag 5 apple
    Step 1: 5 apple 8 cake 12 bag
    Step 2: 5 apple 8 bag 12 cake
    What is the logic applied?
  9. Input: 42 kite 93 balloon 37 lemon orange 64
    Step 1: 93 kite 42 balloon 37 lemon orange 64
    Step II: 93 balloon kite 42 37 lemon orange 64
    Step III: 93 balloon 64 kite 42 37 lemon orange
    Step IV: 93 balloon 64 lemon kite 42 37 orange
    Step V: 93 balloon 64 lemon 42 kite 37 orange
    Step VI: 93 balloon 64 lemon 42 orange kite 37
    Question: What is the logic behind the arrangement?
  10. Input: dance, apple, zebra, kite, fan, bottle
    Step 1: zebra, apple, dance, kite, fan, bottle
    Step II: zebra, apple, bottle, dance, kite, fan
    Step III: zebra, apple, bottle, dance, fan, kite
    Question: What is the logic followed in the above arrangement?

Important Questions from Input Output

  1. Which option correctly explains the fundamental difference between input and output devices in a computer system?
  2. Which of the following accurately explains why a touchscreen can be considered both an input and an output device?
  3. When 12 is subtracted from a number, it reduces to its 40%. Two-fifth of that number is:

  4. After an increase of 9% in salary, a person received ₹6,300. What was his salary before the increase (consider integral part only)?

  5. If x : y = 5 : 6, then 2x + 3y : 3x + 5y is:

Need Expert Advice?
Upcoming Exams
UPSSSC PET
October 25, 2026
SSC JE
November 02, 2026
SSC CPO
November 20, 2026
SSC CHSL
November 30, 2026
Test Series
SSC Stenographer img
SSC
SSC Stenographer 2026 Mock Test Series (Latest Version)
1172 Tests 2 Tests Free
3115 Attempts
4.6(266)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App