Post

Input Output Practice Set- Part 10

 Input Output Practice Set

(1-5) A number arrangement machine, When given a particular input, rearranges if following particular rule. The following is the illustration of the input and the stages of arrangement.
Input: 245, 3316, 436, 519, 868, 710, 689
Step 1: 710, 316,436, 519, 868, 245, 689
Step 2: 710, 316, 245, 519, 868, 245, 689
Step 3: 710, 316, 245, 436, 868, 519, 689
Step 4: 710, 316, 245, 436, 519, 868, 689


Question 1.

If 655, 436, 764, 799, 977, 572, 333, is the input which of the following steps will be “333, 436, 572, 655, 977, 764, 799”?
1) 2
2) 3
3) 4
4) 5
5) None of these 

Question 2.

How many steps will be required to get the final output from the following input?
Input: 544, 653, 325, 688, 461, 231, 857

1) 5
2) 4
3) 3
4) 6
5) None of these 

Question 3.

For the given input, which of the following will be third step?
Input: 236, 522, 824, 765, 622, 463, 358

1) 522, 236, 765, 824, 622, 463, 358
2) 522, 622, 236, 824, 735, 463, 358
3) 522, 622, 236, 765, 824, 463, 358
4) 522, 622, 236, 463, 824, 765, 358,
5) None of these 

Question 4.

If following is the second step for an input, what will be the fourth step?
Step 2: 620, 415, 344, 537, 787, 634, 977

1) 620, 415, 344, 537, 634, 787, 977
2) 620, 415, 344, 634, 537, 787, 977
3) 620, 415, 344, 634, 787, 537, 977
4) None of these
5) Can’t be determined 

Question 5.

Which of the following is the last step for the following input?
Input: 473, 442, 735, 542, 367, 234, 549

1) 234, 442, 542, 473, 735, 367, 549
2) 234, 442, 542, 735, 473, 367, 549
3) 234, 442, 542, 473, 367, 735, 549,
4) 234, 442, 542, 735, 367, 473, 549
5) None of these

(6-10) 
Study the following information carefully and answer the given questions: A word and number arrangement machine when given an input line of words and numbers arrangements them following a particular rule in each step. The following is an illustration of input and arrangement.
Input: base, 35 or, gone, 62, 49, 87, ahead
Step 1: 87, base, 35, or, gone, 62, 49, ahead
Step 2: 87, ahead, base, 35, or, gone, 62, 49
Step 3: 87, ahead, 62, base, 35, or, gone, 49
Step 4: 87, ahead, 62, base, 49, 35, or gone
Step 5: 87, ahead, 62, base, 49, gone, 35, or
Step 5 is the last step of arrangement. 

Question 6.

Input: How was your stay 56, 25, 36, 64
Which of the following will be step 6?

1) 64, how, 56, was, your, stay, 25, 36
2) 64, how, 56, stay, 36, was, 25, your
3) 64, how, 56, stay, 36, was, your, 25
4) There is no step like that
5) None of these

Question 7.

Input: Power, fail, now, 52, 24, 75, gate, 34
Which of the following steps will be the last but one?

1) 4
2) 5
3) 6
4) 7
5) None of these 

Question 8.

Step 3 of an input is: 91, car, 85, 14, 27, few, new, house
Which of the following is definitely the input?

1) 85, 14, 91, car, 27, few, new, house
2) Car, 91, 85, 14, 27, few, new, house
3) Car, 85, 14, 27, few, new, house, 91
4) Cannot be determined
5) None of these 

Question 9.

Step 2 of an input is: 75, down, 16, 24, farm, eager, 62, sky
How many more steps will be required to complete the rearrangement?

1) 4
2) 5
3) 6
4) 7
5) 8

Question 10.

14, 35, when, they, came, 61, 48, home
How many steps will be required to complete the rearrangement?

1) 4
2) 5
3) 6
4) 7
5) None of these

Answers. (1-5) 

Pattern is the number of given numbers is calculated. 
The number with the lowest sum of digits interchanges with the first number. So, the process continues on the basis of their sum of digits get arranged in ascending order.
1) 3
2) 5
3) 522, 622, 236, 765, 824, 463, 358
4) 620, 415, 344, 634, 537, 787, 977
5) 234, 442, 542, 473, 735, 367, 549

Answers. (6-10) 

First step: Largest number comes to the left first position. The remaining terms shifts rightwards. 
Second step: Word come first in the alphabetical order shifts to the second position. The remaining terms shifts rightwards.
And process goes on.
So, the numbers are arranged in descending order while the words are arranged in alphabetical order alternately.
At each step, position of only one number is changed.
6) There is no step like that
7) 6
8) Cannot be determined
9) 4
10) 6

Post a Comment

0 Comments