A word arrangement machine when given an input line of words, rearranges them following a particular a rule in each step. The following is an illustration of steps of rearrangement.
Input: I am sorry for this delay in attending office
Input: I am sorry for this delay in attending office
Step II: I office attending in delay this for sorry am
Step III: am office attending In delay this for sorry
Step IV: I am attending in delay this for sorry office
Step V: Sorry office 1 am attending in delay this for
If input is 'Rajni had an excellent tour of Singapore this May’ and steps are applied sequentially, then at the end of what step would the input become.
Rajni had May this Singapore of tour excellent an’?
step III
Step I: Words in reverse order
Step II: Last word- First word
Step III: Last word – Second word
Step IV: Third word- Last word
Step V: Last two words – First two words
Step III: Rajni has May this Singapore of tour excellent an Hence (c).