Project description

For this project assignment, you must:

  1. Run the UNIX ``chfn'' command so that it reflects your real name (all other information is optional). You must be clearly identifiable by the name appearing in your finger information. A nickname or first or last name only is insufficient.

    Be sure to change your account password while you are logged on as well. See the posted UNIX tutorial for information about selecting a password, and a further explanation of the chfn command.

  2. Use the text editor to create a small C program (it doesn't matter what name you give it as long as it ends in .cpp). The source file must compile and run using the ``g++ *.cpp'' UNIX compiler as described in lab secton. The compiling will create an executable file (named ``a.out'' by default). Once the executable file is created and run, the program should print the following information to the screen, one item listed on each line of output. The C source file must be correctly formatted and well documented for readability. Both of these are further described below. Each of the lines of output should have a label to describe the information being given in that line (see the ``sample output'' section).

    1. the first line of output should print your full name, last name first.

    2. the second line should print the unique identifier you recieved when you ran the setup command (in the previous step).

    3. the third line should print an alias (or nickname) which you choose; this alias is a private identification under which your scores for all course assignments will be listed. Grades will be posted several times during the semester in the instructors' the class webpage , so they can confirm that the grades recorded for them are correct. Only the instructors and TAs will have access to the aliases, so your grades will remain confidential. Your alias can be anything you like, but, since the posted grades can be read by all students, if you want your grades to remain anonymous you must choose an alias which can't be connected to you (unrelated to your name or initials) and do not tell it to anyone. If you do not want your scores posted at all you should print ``NO ALIAS'' on this third line of output. Any alias that is to be offensive in any way, will not be accepted.

    Submit this file with the submit command, as described in the ``Submitting your project'' section below, using project number 0.

Ubuntu 2011-02-25