Why not just do it like they did in the movie? ;p. Google does similar things. I'm sure they actually do discover some decent programmers, though the questions I'm sure aren't that difficult for a programmer. At the interview they surely give a second, slightly harder, test to make sure you didn't cheat on the first. Then, yea, they tell you they will give you a job and pay you X. The thing is --- if you have these skills, you can get a job at A LOT of places, so do you *want* to work for Facebook, or someone else? This particular segment of the job market is not one that is weak. It has an excess of unfilled capacity.