% CST8207 Assignment 05 - BONUS Midterm Test 1 topics review % Ian! D. Allen - - [www.idallen.com] % Winter 2014 - January to April 2014 - Updated 2014-04-15 05:04 EDT - [Course Home Page] - [Course Outline] - [All Weeks] - [Plain Text] Due Date and Deliverables ========================= - **Due Date**: `10h00 (10am) Monday March 3, 2014 (start of Week 8)` - This is a **BONUS** assignment for extra credit. It is optional. - You have two weeks to do this assignment, but your next assignment will be available soon and will overlap this assignment. Don't delay! - Late assignments or wrong file names may not be marked. Please be accurate and punctual. - **Available online** - Version 1 -- 03h30 Thursday February 13, 2014 - **Prerequisites** 1. You must have your own question sheet from Midterm test #1. - I hand your sheet back to you in any lab period following the test (Week 6-7), or make an appointment to see me in my office. 2. You must have the EMail from me with your Midterm Test Answer key and score. - Your personal EMail was sent to you after 6pm on Wednesday February 12. 3. All [Class Notes], Worksheets, and Assignments since the beginning of term. - **Deliverables** 1. One plain text file `assignment05.txt` in your CLS account. 2. The same text file `assignment05.txt` uploaded to Blackboard. **WARNING:** Some inattentive students upload Assignment #5 into the Assignment #4 upload area. Don't make that mistake! Be exact. This Assignment =============== 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 #1 PDF]. Set Up -- The Base Directory ---------------------------- 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: a. Create the `CST8207-14W` directory in your CLS HOME directory. b. Create the `Assignments` directory in the `CST8207-14W` directory. c. Create the `assignment05` 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. CST8207-14W `-- Assignments `-- assignment05 **This `assignment05` directory is the *base* directory for most pathnames in this assignment. Store your files and answers below in this *base* `assignment05` directory.** Fix your Mistakes ----------------- 1. Use a Linux text editor to create a new plain text answer file named `assignment05.txt` in the base directory on the CLS. For every question that you answered incorrectly on the first 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][All Weeks] (which section of which [Class Notes][All Weeks] 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, worksheets, or manual pages the answer comes from.* (Practice tests are not sources of answers.) Number each question with a leading `Q` and use this exact 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" a) Number each question with a leading `Q` using the above format. b) Each Answer should use the keyword `Answer:` using the above format. c) Each Source should use the keyword `Source:` using the above format. d) Use the question number from *your* personal test. e) 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 `assignment05.txt` file under the correct Assignment area on Blackboard (with the exact name) before the due date. Upload the file via the **assignment05** "Upload Assignment" facility in Blackboard: click on the underlined **assignment05** 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. a) Verify that your latest submission has the correct 16-character, lower-case file name beside the *Attached Files* heading. b) The *Submission Field* and *Student Comments* headings must be **empty**. (I do not read them.) c) **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. You will also see the *Review Submission History* page any time you already have an assignment attempt uploaded and you click on the underlined **assignment05** 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!** - I do not accept any assignment submissions by email. Use only the Blackboard *Attach File*. No word processor documents. Plain Text only. - Use the *exact* file name given above. Upload only one single file of Linux-format plain text, not HTML, not RTF, not MSWord. No fonts, no word-processing. Linux plain text only. - The format is Linux-style plain text, i.e. using a Linux text editor such as VIM/Nano/Pico/Gedit. - **NO EMAIL, WORD PROCESSOR, PDF, RTF, DOS, MICROSOFT, MACINTOSH, or HTML DOCUMENTS ACCEPTED.** - No marks are awarded for submitting under the wrong assignment number or for using the wrong file name. Use the exact 16-character, lower-case name given above. - WARNING: Some inattentive students don't read all these words. Don't make that mistake! Be exact. **READ ALL THE WORDS. OH PLEASE, PLEASE, PLEASE READ ALL THE WORDS!** -- | 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 [www.idallen.com]: http://www.idallen.com/ [Course Home Page]: .. [Course Outline]: course_outline.pdf [All Weeks]: indexcgi.cgi [Plain Text]: assignment05.txt [Class Notes]: indexcgi.cgi#XImportant_Notes__alphabetical_order_ [Midterm Test #1 PDF]: midterm1.pdf [email]: mailto:idallen@idallen.ca [Pandoc Markdown]: http://johnmacfarlane.net/pandoc/