CST8207 Assignment 09
BONUS Midterm Test 2 topics review

Ian! D. Allen - - www.idallen.com

Winter 2014 - January to April 2014 - Updated 2014-04-13 05:18 EDT

1 Due Date and DeliverablesIndexup to index

WARNING: Some inattentive students upload Assignment #9 into the Assignment #8 upload area. Don’t make that mistake! Be exact.

2 This AssignmentIndexup to index

This is a BONUS assignment for extra credit. It is optional.

  1. Make sure you have all the numbered Prerequisites (above) before you begin.
  2. Learn from your mistakes on Midterm Test #2 PDF.

2.1 Set Up – The Base DirectoryIndexup to index

  1. Create the following directory structure starting in your CLS HOME directory and record (for study purposes) the series of Unix commands you used to create it. (You do not have to create any directories that you have already created in a previous assignment.) Spelling and capitalization must be exactly as shown:
    1. Create the CST8207-14W directory in your CLS HOME directory.
    2. Create the Assignments directory in the CST8207-14W directory.
    3. Create the assignment09 directory in the Assignments directory.

The correct directory tree will look similar to the ASCII tree diagram below. The spelling and capitalization must be exactly as shown.

`-- Assignments
    `-- assignment09

This assignment09 directory is the base directory for most pathnames in this assignment. Store your files and answers below in this base assignment09 directory.

2.2 Fix your MistakesIndexup to index

  1. Use a Linux text editor to create a new plain text answer file named assignment09.txt in the base directory on the CLS. For every question that you answered incorrectly on the second midterm test, reproduce in the answer file (1) the question you got wrong (from your own question sheet) and (2) the correct answer to the question.

    If you had no incorrect answers, upload an empty answer file. If you missed the test, you have to copy the entire test and answer every question.

  2. Underneath each question and correct answer in your answer file, indicate where in the Class Notes (which section of which Class Notes file) you can learn how to generate this correct answer. No marks are awarded unless your source for getting the answer is shown. Show me that you know where in the notes the answer comes from. Number each question with a leading Q and use this format for each answer:

    Q5. How do you recursively remove a non-empty directory?
    Answer: rm -r
    Source: Worksheet 3 section 5 rm command
    Q22. What character signals EOF at the keyboard?
    Answer: ^D
    Source: 120_shell_basics "Interrupting Processes and signalling End-of-File"
    Source: 200_redirection "Input Redirection"
    1. Number each question with a leading Q using the above format.
    2. Use the question number from your personal test.
    3. Separate each question and answer group with a blank line.

    You can copy-and-paste each question and the correct answer into your answer file. You must do your own work finding where the correct answer can be found. Marks are awarded for original typed work for the source, not for copy-and-paste from your friends. Any source answers that are found to be copy-and-paste from some other document will require you to resubmit the entire lab as hand-written and will result in a charge of plagiarism or academic fraud as well. Do your own research; type your own answer locations; no copy-and-paste from your friends.

    In this assignment, you are only answering the questions that you got wrong on the midterm test, not all the questions. Just the ones you got wrong.

  3. Submit the assignment09.txt file under the correct Assignment area on Blackboard (with the exact name) before the due date. Upload the file via the assignment09 “Upload Assignment” facility in Blackboard: click on the underlined assignment09 link in Blackboard. Use “Attach File” and “Submit” to upload your plain text file.

    No word-processor documents. Do not send email. Use only “Attach File”. Do not enter any text into the Submission or Comments boxes on Blackboard; I do not read them. Use only the “Attach File” section followed by the Submit button. If you need to comment on any assignment submission, send me email.

    You can upload the file more than once; I only look at the most recent. You must upload the file with the correct name; you cannot correct the name as you upload it to Blackboard.

  4. Verify that Blackboard has received your submission: After using the Submit button, you will see a page titled Review Submission History that will show all your submissions.

    1. Verify that your latest submission has the correct 16-character, lower-case file name beside the Attached Files heading.
    2. The Submission Field and Student Comments headings must be empty. (I do not read them.)
    3. Save a screen capture showing the uploaded file name. If there is an upload missing, you will need this to prove that you uploaded the file. (Blackboard has never lost a file.)

    You will also see the Review Submission History page any time you already have an assignment attempt uploaded and you click on the underlined assignment09 link.

    You cannot delete an assignment attempt, but you can always upload a new version. I only mark the latest version.

  5. Your instructor may also mark files in your directory in your CLS account after the due date. Leave everything there on the CLS. Do not delete any assignment work from the CLS until after the term is over!


| Ian! D. Allen  -  idallen@idallen.ca  -  Ottawa, Ontario, Canada
| Home Page: http://idallen.com/   Contact Improv: http://contactimprov.ca/
| College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/
| Defend digital freedom:  http://eff.org/  and have fun:  http://fools.ca/

Plain Text - plain text version of this page in Pandoc Markdown format

Campaign for non-browser-specific HTML   Valid XHTML 1.0 Transitional   Valid CSS!   Creative Commons by nc sa 3.0   Hacker Ideals Emblem   Author Ian! D. Allen