Tools
Building and maintaining programs
- What version control system do you use?
- What coverage tool do you use?
- What build system do you use?
- What documentation system do you use?
- What bug tracking system do you use?
- How is branching implemented in a version control system?
- Are deltas in the branching for a revision tree stored out forwards
or backwards? What are the benefits of each approach? - What are the advantages and disadvantages of a version control system that locks files?
The Shell
There are scores, if not hundreds of books on the UNIX shell and related tools.
We have enjoyed LINUX 101 Hacks by Natarajan. It introduces
these tools through useful hacks, such as the use of find
to find all files that have not been modified in the past 100 days
and are larger than 100~megabytes in size, sorting the password file on the third field, etc.
- Write a regular expression for identifying social security numbers in a file.
- Write a command that prints out lines in a text file which contain the
strings foo and bar in any order. - Write a command which replaces every occurrence of a foo followed by a bar (with
possibly some other characters in between) by widget. - Given a text file with two columns of integers, i.e., two integers encoded in ASCII per line, write a filter which sorts lines in the file by the second integer.
- How would you take two documents in PDF and create a new document which consists of the pages of the two original documents interleaved in order?
- How would you write a program which checks every hour if a network connection is up?
- How would you write a program which checks the price of a Nikon D5300 DLSR each day on amazon.com?