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 32626Post New ASD Lab General Aptitude Interview Questions
How do I freeze panes in excel 2017?
How are nns related to statistical methods?
Which service is used by sap fiori launchpad designer to read and assign transport request?
Does c++ have a hash table?
Explain about the exit-activity method?
why r going for MS?
How does a selection sort work for an array?
What are the differences between drop, truncate and delete commands?
What is globalization?
Mention what are set parameters and get parameters?
what is defferance between tubular & automotive plate battery
What are the concept of scope hierarchy? Tell me how many scope can an application have?
What is head in HTML document?
how the inner and outer body is separated in aircrafts?
What is the database that magento supports?