A helicopter drops two trains, each on a parachute, onto a straight infinite railway line. There is an undefined distance between the two trains. Each faces the same direction, and upon landing, the parachute attached to each train falls to the ground next to the train and detaches. Each train has a microchip that controls its motion. The chips are identical. There is no way for the trains to know where they are. You need to write the code in the chip to make the trains bump into each other. Each line of code takes a single clock cycle to execute. You can use the following commands (and only these); MF - moves the train forward MB - moves the train backward IF (P) - conditional that's satisfied if the train is next to a parachute. There is no "then" to this IF statement. GOTO
7 32085Post New ASD Lab General Aptitude Interview Questions
How do you create a hyperlink?
What is the precedence of stage variables,derivations, and constraints?
What ideas do you have about new roles and res-killing?
What is searching?
What is lineage graph in Apache Spark?
How do I find duplicates in two columns?
Can we override the static method?
What is google presentation?
What is the purpose of android os?
T unionĀ support factor
Explain what is anti-satellite weapon?
Can you assign two different sales organization to the same company code?
What is an actionevent in java?
What do you mean by a replica set in mongodb?
What are the different modules used in the current version of css?