Dangerous Precedent
I would not give my intellectual property away so freely. I believe this is a dangerous precedent. I would instead demo an existing application or send them code snippets.
Personally, I recommend you do not write these small applications.
CodeProject Supported Licenses
CodeProject has a nice page that summarizes various licenses at http://www.codeproject.com/info/Licenses.aspx
[Is] a rough guide to the current
licenses supported on The Code
Project. Please read them carefully by
following the links to the license
pages themselves because some
categorisations (such as whether code
can be used commercially, or whether
extensions must be release to the
public) depends on the situtation.
This is merely a guide: it's up to you
to read the actual license carefully
before using code licensed by each
license or assigned a license to code
you submit.
Trivial Type Applications
Your comment:
[Done] at home, and I was asked
when I would have them done. They are
definitely trivial type applications,
that really seem to be designed to be
thought provoking and to help them get
an idea about how you think. They do
want a copy of the code. Essentially
the next interview would be a code
review around the code I wrote. As you
pointed out, I have no way to know the
true intent of the company.
If they are trivial, then I would only include your contact information that you use in your resume at the top of each source code module. (You should do this for anything submitted to potential employer.) Copyright is implied, so leave it out to show good faith on your part. Anything else is too formal.
Good Luck
I already expressed my concerns and will not repeat them. Therefore, I hope this is good company and presents a positive long-term career move. Good Luck.