What is this
These types of questions regularly come in the competitive examinations. Although they may look complex but they are not so tough. Only factor in that they are time-consuming and time is premium in a competitive test these days.
Generally one is asked to imagine that there is some kind of computer or Machine. This machine have to given a instruction to perform certain kind of action in each step after that is gave a desire output.