That's good enough to avoid having your resume deep-sixed. The next stage would depend on the position you're applying for, and whether it's algorithms, web, systems, maintenance, whatever. There are now several questions I could pursue, but that's enough to get you through the door, offered a beverage of your choice, and effectively courted.
By the way, not knowing what the modulus operator is no bar - all you have to do is write:
if is_divisible_by(n,d) ...
or something similar, and then say - "I'd need to look up the idiomatic way to do that in your language of choice."
But you are already way ahead of the game. FWIW, when we have been hiring (which we aren't now, by the way) the person who wrote something like that got the job. And yes, out of several tens of applications, only one could do it.
That's good enough to avoid having your resume deep-sixed. The next stage would depend on the position you're applying for, and whether it's algorithms, web, systems, maintenance, whatever. There are now several questions I could pursue, but that's enough to get you through the door, offered a beverage of your choice, and effectively courted.
By the way, not knowing what the modulus operator is no bar - all you have to do is write:
or something similar, and then say - "I'd need to look up the idiomatic way to do that in your language of choice."But you are already way ahead of the game. FWIW, when we have been hiring (which we aren't now, by the way) the person who wrote something like that got the job. And yes, out of several tens of applications, only one could do it.