Hello

Input-Output – Solved PYQ

13–19 minutes

DIRECTIONS (Qs. 1–5): Read the following information carefully and answer the given questions.

A word and number arrangement machine when given an input line of words and number rearranges them following a particular rule. The following is an illustration of input and rearrangement—

Input: ‘44 rate 34 60 over 47 tin 32 fix 63 profit use expenses 37’.

Step-I: ‘use 44 rate 34 60 over 47 tin 32 fix profit expenses 37 63’.

Step-II: ‘tin use 44 rate 34 over 47 32 fix profit expenses 37 63 60’.

Step-III: ‘rate tin use 44 34 over 32 fix profit expenses 37 63 60 47’.

Step-IV: profit rate tin use 34 over 32 fix expenses 37 63 60 47’ 44.

Step-V: ‘over profit rate tin use 34 32 fix expenses 63 60 47 44 37’.

Step-VI: ‘fix over profit rate tin use 32 expenses 63 60 47 44 37 34’,

Step-VII: ‘expenses fix over profit rate tin use 63 60 47 44 37 34 32’.

Step-VII is the last step of the rearrangement of the above input as the intended rearrangement is obtained.

As per the rules followed in the above steps, indicate the answer in each of the following questions with respect to the appropriate step for the given input. Input for the questions is,

Input: 40 of must attend 30 60 80 regular school 70 students 20 class 50’ (All the numbers are two digit numbers)

1. Which step number will be the following output? ‘of regular school students 40 must attend 30 20 class 80 70 60 50’ [SBI PO Main 2017]

(a) Step-V

(b) Step-III

(c) Step-IV

(d) Step-VI

(e) There is no such step

2. In Step-V, if ‘Regular’ is related to ‘60’ and ‘students’ is related to ‘80’ in a certain way, which of the following would ‘attend’ be related to in the same pattern? [SBI PO Main 2017]

(a) 20

(b) 30

(c) 40

(d) class

(e) 50

3. How many terms are there between term ‘school’ and ‘60’ in Step-V? [SBI PO Main 2017]

(a) Four

(b) Six

(c) Seven

(d) Eight

(e) None of these

4. Which word/number would be at 4th to the left of ‘20’ in Step-IV? [SBI PO Main 2017]

(a) 40

(b) 50

(c) must

(d) Students

(e) School

5. Which of the following statements is definitely true? [SBI PO Main 2017]

(a) In Step-III, there are four elements between ‘40’ and ‘50’.

(b) In Step-IV, there are five elements between ‘30’ and ‘40’.

(c) In Step-V, there are three elements between ‘20’ and ‘80’.

(d) In Step-IV, there are three elements between ‘20’ and ‘40’.

(e) None of these

DIRECTIONS (Qs. 6–10): Study the information given below carefully and answer the following questions.

When a machine is given an input which includes a line of numbers, the output received is arranged in a particular manner. Given below is an illustration of input along with the steps followed to get its output.

Input: $52791 \quad 48644 \quad 78136 \quad 21584 \quad 36531$

Step 1: $10609 \quad 32516 \quad 56018 \quad 02432 \quad 18403$

Step 2: $18403 \quad 10609 \quad 56018 \quad 32516 \quad 02432$

Step 3: $16 \quad 144 \quad 100 \quad 36 \quad 169 \quad 49 \quad 81 \quad 64 \quad 04 \quad 81$

Step 4: $160 \quad 136 \quad 218 \quad 145 \quad 85$

Step 5: $49160 \quad 100136 \quad 121218 \quad 100145 \quad 16985$

And Step 5 is the final step of the above input. Now, based on the same pattern, find the output for the input given below:

Input: $73259 \quad 62945 \quad 21528 \quad 73124 \quad 56243$

6. What is the difference between lowest and highest number in Step 1? [SBI PO Main – 2022]

(a) 27696

(b) 37484

(c) 47232

(d) 57141

(e) 67282

7. Which number is second to the left of third number from the right end in Step 3? [SBI PO Main – 2022]

(a) 10

(b) 01

(c) 100

(d) 101

(e) 110

8. What is the sum of the digits of all the odd numbers in Step 4? [SBI PO Main – 2022]

(a) 785

(b) 255

(c) 345

(d) 685

(e) 445

9. What is the product of digits of first and last digit of the highest number in Step 5? [SBI PO Main – 2022]

(a) 2

(b) 3

(c) 4

(d) 5

(e) 6

10. Which number is third from the left end in Step 2? [SBI PO Main – 2022]

(a) 21145

(b) 21008

(c) 30112

(d) 02416

(e) 21528

DIRECTIONS (Q. No. 11–15): Study the following information carefully and answer the questions given below.

Number arrangement machine when given an input line of numbers rearranges them following a particular rule in each step.

Condition:

1. If an odd number comes at even numbered position, then the first digit of the number is changed to #.

2. If an even number comes at odd numbered position, then the second digit of the number is changed to @.

Note: The position of numbers and blanks are taken from left to right.

Input: $\quad$38 $\quad$33$\quad$25$\quad$83$\quad$47$\quad$54$\quad$98$\quad$72

Step 1: $\quad$25$\quad$38$\quad$33$\quad$__$\quad$47$\quad$54$\quad$7__$\quad$9__

Step 2: $\quad$33$\quad$__5$\quad$3__$\quad$#7 $\quad$5@ $\quad$7@$\quad$9__ $\quad$#3

Step 3: $\quad$3@$\quad$#3$\quad$#5$\quad$__$\quad$5__$\quad$9@$\quad$#3$\quad$7_

Step 4: $\quad$#7$\quad$3@$\quad$__$\quad$#5$\quad$9@$\quad$#3$\quad$7@$\quad$__

11. What will come in Blank in Step 2? [SBI PO Main – 2023]

(a) @

(b) #

(c) 2

(d) 4

(e) 8

12. Which of the following element is immediately followed by #5 in Step 3? [SBI PO Main – 2023]

(a) @7

(b) #7

(c) 7@

(d) #3

(e) 3@

13. What will come in Blank 1 and Blank 2 in Step 4 respectively? [SBI PO Main – 2023]

(a) 4#, #3

(b) 5@, #7

(c) #3, 5@

(d) 6#, 5@

(e) None of these

14. Which of the following element is immediately followed by #3 which is second from the right end in Step 3? [SBI PO Main – 2023]

(a) 9#

(b) #9

(c) @9

(d) 9@

(e) None of these

15. What will come in Blank 2 in Step 3? [SBI PO Main – 2023]

(a) Either @ or #

(b) @@

(c) #

(d) @

(e) None of these

DIRECTIONS (Qs. 16–19): A machine input rearrangement is given below. Study and analyse the input and its steps and answer the following questions.

INPUT: $\quad$7289$\quad$CLAY$\quad$2854$\quad$POUR$\quad$5941$\quad$ABLE$\quad$6217$\quad$FLIP$\quad$9723$\quad$ONUS

STEP 1: $\quad$ 49398 $\quad$ ABLE $\quad$ 4963 $\quad$ ONUS $\quad$ 251050 $\quad$ CLAY 36326 $\quad$ FLIP $\quad$ 81832 $\quad$ POUR

STEP 2: $\quad$ 48399 $\quad$ BAKF $\quad$ 4639 $\quad$ PMVR $\quad$ 2155 $\quad$ BKBX $\quad$ 26633 $\quad$ EKJO $\quad$ 28813 $\quad$ OPVQ

STEP 3: $\quad$ 1221 $\quad$ BKF $\quad$ 1012 $\quad$ PMVR $\quad$ 211 $\quad$ KX $\quad $146 $\quad$ KJ $\quad$ 184 $\quad$ PVQ

STEP 4: $\quad$ 429 $\quad$ BFK $\quad$ 134 $\quad$ MPRV $\quad$ 119 $\quad$ KX $\quad$ 22 $\quad$ JK $\quad$ 2 $\quad$ PQV

STEP 5: $\quad$432$\quad$130$\quad$117$\quad$20$\quad$5

Step 5 is the final step for the above input. Now, following a similar pattern, find output for the given input.

INPUT: $\quad$8456 $\quad$ UNIT $\quad$ 5183 $\quad$ DEAR $\quad$ 4297 $\quad$ EVEN $\quad$ 6315 $\quad$ SLIP $\quad$ 2487 $\quad$ PINK

16. In Step II, how many codes are there that are preceded by a number either starting with a vowel or ending with a vowel? [IBPS PO Mains – 2023]

(a) None

(b) One

(c) Two

(d) Three

(e) Four

17. What is the difference between 3rd largest number obtained in Step 3 and the 4th smallest number obtained in the same step? [IBPS PO Mains – 2023]

(a) 250

(b) 400

(c) 380

(d) 440

(e) None of these

18. Which element will be sixth to the left of the 2nd element from right in Step 4? [IBPS PO Mains – 2023]

(a) M

(b) 196

(c) JMSV

(d) 190

(e) None of these

19. What is the sum of 2nd number from left end and 2nd number from right end in Step 5? [IBPS PO Mains – 2023]

(a) 258

(b) 157

(c) 198

(d) 375

(e) None of these