Mobile Software Developer Interview Questions

392 mobile software developer interview questions shared by candidates

Imagine (or even better, draw out) a railroad track divided into three sections due to two signals placed onto the track. Then two robots running identical code are dropped onto the tracks. One into the middle (in between the two signals) and another to the right of the rightmost signal. Both robots run the same program, written in a simple BASIC-like language. here’s the sample app the interviewer provided 10 LEFT 20 RIGHT 30 IF SIGNAL THEN 40 LEFT 50 ELSE 60 RIGHT 70 GOTO 10 If this program were run on both robots, the robot to the right of the rightmost signal would go off screen to the right to infinity. Assuming that a collision check happens on each line of code, how could we design a program that can get the robots to collide (or end up on the same place on the tracks at the same time)?
avatar

Mobile Software Engineer

Interviewed at Jet

3.7
Apr 2, 2016

Imagine (or even better, draw out) a railroad track divided into three sections due to two signals placed onto the track. Then two robots running identical code are dropped onto the tracks. One into the middle (in between the two signals) and another to the right of the rightmost signal. Both robots run the same program, written in a simple BASIC-like language. here’s the sample app the interviewer provided 10 LEFT 20 RIGHT 30 IF SIGNAL THEN 40 LEFT 50 ELSE 60 RIGHT 70 GOTO 10 If this program were run on both robots, the robot to the right of the rightmost signal would go off screen to the right to infinity. Assuming that a collision check happens on each line of code, how could we design a program that can get the robots to collide (or end up on the same place on the tracks at the same time)?

Viewing 21 - 30 interview questions

Glassdoor has 392 interview questions and reports from Mobile software developer interviews. Prepare for your interview. Get hired. Love your job.