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 31953Post New ASD Lab General Aptitude Interview Questions
What is schema in sap hana? : hana administration
What are the approaches required to share persistent user-defined objects?
What can you do with access 2010 data?
How do I restart iis in windows?
Can we schedule auctions and promotions in wcs?
What is the principal of axial pump?
What is the role of small and medium enterprises in uplifting the economy?
What is MRP procedure
What is UDF in Pig?
How we can create a template in wordpress?
How do I select a language in visual studio code?
What are different user licenses available in salesforce and explain them?
Which approach provides better support for test driven development - asp.net mvc or asp.net webforms?
Explain the JDBC Architecture?
What is role playing dimension with two examples? : sql server analysis services, ssas