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 28773Post New Micro Labs General Aptitude Interview Questions
How to request an input from the user through keyboard and monitor?
What are % type and % rowtype?
Please provide me the entire format of P.F. & ESI
What is wpf xaml?
What is the use of drop command?
If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?
How do I remove gridlines from a table?
What does the language of fopl consists of?
what are metrics and what are metrics did u collect in you are project
How to convert json string to object?
What are the application lifecycle in ios?
How Switch (select or use) to a database.
What is an interactive report? What is the obvious difference of such report compared with classical type reports?
How can data generate automatically in QlikView?
What is a ‘conflict’ in git?