wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

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 rearranges them following a particular rule in each step. The following is an illustration of input and rearrangement. (All the numbers are two digit numbers).

Input : tent 13 wheat 21 ask 63 steal 49 hand 54 vast 85
Step I : 85 wheat tent 13 21 ask 63 steal 49 hand 54 vast
Step II : 63 vast 85 wheat tent 13 21 ask steal 49 hand 54
Step III : 54 tent 63 vast 85 wheat 13 21 ask steal 49 hand
Step IV : 49 steal 54 tent 63 vast 85 wheat 13 21 ask hand
Step V : 21 hand 49 steal 54 tent 63 vast 85 wheat 13 ask
Step VI : 13 ask 21 hand 49 steal 54 tent 63 vast 85 wheat
And step VI is tha last step of the above input, as the desired arrangement is obtained.
As per the rules followed in the above steps, find out in each of the following questions the appropriate step for the given input.

Input : store 95 clean 56 tape 15 break 28 feet 35 wait 69 ice 71

How many elements (words/numbers) are there between ‘feet’ and ‘15’ as they appear in the second last step of the output?


A

Six

No worries! We‘ve got your back. Try BYJU‘S free classes today!
B

Seven

No worries! We‘ve got your back. Try BYJU‘S free classes today!
C

Five

No worries! We‘ve got your back. Try BYJU‘S free classes today!
D

Eight

Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D

Eight


After careful analysis of the given input and various steps of re-arrangement it is evident that in each step one number and one word are rearranged. In the first step the highest number and the word that comes in the last in alphabetical order move to the extreme left position. In the next step the second highest number and the word that comes last but one in alphabetical order move to the extreme left position. The same procedure is continued till all the numbers get arranged in ascending order and all the words in alphabetical order.
Input : store 95 clean 56 tape 15 break 28 feet 35 wait 69 ice 71
Step I : 95 wait store clean 56 tape 15 break 28 feet 35 69 ice 71
Step II : 71 tape 95 wait store clean 56 15 break 28 feet 35 69 ice
Step III : 69 store 71 tape 95 wait clean 56 15 break 28 feet 35 ice
Step IV : 56 ice 69 store 71 tape 95 wait clean 15 break 28 feet 35
Step V : 35 feet 56 ice 69 store 71 tape 95 wait clean 15 break 28
Step VI : 28 clean 35 feet 56 ice 69 store 71 tape 95 wait 15 break
Step VII : 15 break 28 clean 35 feet 56 ice 69 store 71 tape 95 wait
And, Step VII is the last step of the above input
There are eight elements.


flag
Suggest Corrections
thumbs-up
0
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Frequency
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon