Scripting exercises and tech interview theory?
October 17, 2011 1:28 PM Subscribe
Help me prep as an applicant in an imaginary interview for a junior programming position centered around Linux shell scripts, PHP, and Python, with an emphasis on processing text and URLs (availability, routing, etc).
posted by jsturgill to Computers & Internet (10 answers total) 2 users marked this as a favorite
I can think of three kinds of answers that would be helpful:
1. Things you might look for as an interviewer that transcend language/OS minutiae (does the applicant make a checklist for complex questions? Does s/he restate the problem? etc.)
2. Simple problems for the imaginary applicant (me) to write out a solution for on the blackboard during the interview, such as:
Reverse a string
Reverse an array
Check if the first character of a string is a letter (etc)
3. More complicated, actually useful(ish) scripting problems that should take me no more than an hour or two to complete, such as:
Create an automated script that checks whether a website is available and logs that information
Create a cript to extract the content size information from a URL header
Create a script that removes duplicate lines from a text file with an arbitrary number of lines (etc)