Interview - Program on Computer
        Posted  
        
            by Gilad Naor
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Gilad Naor
        
        
        
        Published on 2010-06-14T11:02:09Z
        Indexed on 
            2010/06/14
            11:12 UTC
        
        
        Read the original article
        Hit count: 360
        
interview-questions
Spent some time searching, couldn't find exactly what I'm after.
We like giving hands-on programming exercises as part of the interview process. The interviewee gets a laptop, with the editor and compiler of his choice. He or she then get a programming exercise and has about an hour to code it. Depending on the nature of the question, internet access is either allowed or forbidden.
I'm looking for good general questions for a junior developer. I don't care what language they choose to program in. C++ is as good as Python or Scheme, as long as (s)he can program in it (this rules out "can you write a correct copy-constructor" style questions). I just want to see how they code, if their code is self-documenting, if they write tests, check edge-cases, etc.
What kind of questions would you ask?
© Stack Overflow or respective owner