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 31967Post New ASD Lab General Aptitude Interview Questions
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
what is your expectation
What Are The Capabilities Of Openpages?
How many stars are there, which are normally visible?
i am a mechanical engg.8th sem student.i want to know the syllabus and criteria,previous question paper set of section engg(RLY).please send it to my email id.pleaseeeeeeeeeeeeeeeeeeeeeee
What is the meaning of the term collective security?
What is difference between core php and framework?
How many keypairs are neccasary to access a region?
How much is wordpress per year?
How to modify the theme colors?
What is c++ and its features?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What are the problems faced by people due to unemployment?
Why is javascript called richer interface?
How to create properties and methods using controls?