Updated: 2018-11-12 17:50 EST

1 Due Date and DeliverablesIndexup to index

Do not print this assignment on paper!

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

2 Purpose of this AssignmentIndexup to index

  1. Learn from your mistakes on Midterm Test #2 PDF.
    • This PDF file will be posted when all the tests have been graded.
    • For this assignment, use your own personal test question paper, not the above PDF.

This is a BONUS assignment for extra credit on your midterm test. It is optional.

2.1 Marking SchemeIndexup to index

Bonus Assignment 10 is optional. It is worth up to an additional 25% on your second Midterm Test score. (Though it is called an Assignment, it does not affect your Assignments score; it improves only your second Midterm Test score.) If you do bonus Assignment 10 successfully, I will increase your second Midterm Test mark by 25% (1/4) of the distance between your current test mark and 100%, e.g.:

You must Read All The Words and follow the exact instructions in Assignment 10 for it to be counted. Read All The Words!

If you missed the test, you would have to copy the entire test and answer every question to get full marks (25%) for this bonus assignment.

3 Set Up – The Base Directory on the CLSIndexup to index

  1. Do a Remote Login to the Course Linux Server (CLS) from any existing computer, using the host name appropriate for whether you are on-campus or off-campus.

  2. Make the CLS directory ~/CST8207-18F/Assignments/assignment10, in which you will create the Linux-format plain text file from the following task.

This assignment10 directory is the Base Directory for most pathnames in this assignment. Store your files and answers in this Base Directory.

3.1 Fix your MistakesIndexup to index

  1. Make sure you have all the numbered Prerequisites (above) before you begin. Read All The Words.

  2. Use a Linux text editor to create a new plain text answer file named assignment10.txt in the Base Directory on the CLS. For every question that you answered incorrectly on your own Midterm Test #2, reproduce in the answer file:

    1. the question you got wrong (from your own personal question sheet), and
    2. the full correct answer to the question.

    You may copy-and-paste each question and the correct answer into your answer file from the PDF copy of the test that will be posted after the test is over. The question numbers in the posted test will not match the numbers in your personal question sheet. Use your own question numbers, not the numbers from the posted PDF question sheet.

    Use the exact format described below to enter the question and the answer. Wrong format means no marks!

If you missed the test, you would have to copy the entire test and answer every question to get full marks (25%) for this bonus assignment.

  1. Underneath each question and correct answer in your answer file, indicate two things using three keywords “Page:”, “Section:” and “Why:”:

    1. Indicate specifically where in the Class Notes (which section of which Class Notes file) you can learn how to generate this correct answer. You need to give both the Page that has the answer (keyword “Page:”) and the title of the Section inside that page (keyword “Section:”).
    2. Tell me why you got the answer wrong on the test (keyword “Why:”).

    No marks are awarded unless your exact source for getting the answer is shown. Show me that you know exactly where in the notes, worksheets, or manual pages the answer comes from.

    • Practice tests are not sources of answers. Use the course notes.
    • Giving only an entire web page or worksheet as a source is not specific enough. Show me that you know exactly where the answer can be found. You must point to a specific Section inside a web page or worksheet. See the examples below.
    • You only need to quote one Page and Section for a question.
    • No marks are awarded if the Page and Section you cite have nothing to do with the question and its correct answer.

    Number each question with a leading Q and use this exact file format and spelling for each answer section and each keyword:

    Q5. What is a shell for?
    Answer: to find and run programs
    Page: 120_shell_basics.html
    Section: What is a shell for?
    Why: I forgot the definition of the shell because
        I didn't make notes when I read this web page.
    
    Q22. What is the output on your screen of this command line?
         echo xx >cat ; head cat >cat ; wc cat
    Answer: 0 0 0 cat
    Page: 200_redirection.html
    Section: 3.2 Rule 1b: Redirection file creation and truncation happen first
    Why: I did the redirection last, by mistake
    
    Q44. Did you read all the words of the test instructions on page one?
    Answer: Taip (Yes - Lithuanian)
    Page: on Page 1 of my question sheet
    Section: The answer to the last question is Taip
    Why: I did not Read All The Words of the instructions on
       the first page of the test.
    1. Number each of your questions with a leading Q using the above format.
      • Use the question numbers from your personal test.
      • Multi-line questions may be copied onto several lines, as shown.
      • Make sure you copy the entire question into your answer file.
    2. Each Answer should use the keyword Answer: using the above format.
      • Copy the actual answer. Don’t just give the answer letter.
    3. Each Page name should use the keyword Page: using the above format.
      • Give only the basename of the Page, not the whole URL.
    4. Each Section title should use the keyword Section: using the above format.
      • Include a relevant section title from the worksheet or web Page source.
      • Cite the whole title, not just the title section number.
    5. Each explanation of why you got it wrong should use the keyword Why: using the above format.
      • Multi-line explanations may be copied onto several lines, as shown.
    6. Separate each question and answer group with one blank line, as shown above. Don’t add unnecessary blank lines to the file, especially at the end of the file. (A file with 10 questions needs only 9 blank lines.)
    7. Every Q question must have exactly one Answer:, one Page:, one Section:, and one Why: keyword below it.

    You may copy-and-paste each question and the correct answer into your answer file from the PDF copy of the test that will be posted after the test is over. The question numbers in the posted test will not match the numbers in your personal question sheet. Use your own numbers, not the numbers from the posted PDF question sheet.

    WARNING: You must do your own work finding the source web document where the correct answer can be found. Marks are awarded for original typed work for the Page, Section, and Why, not for copy-and-paste from your friends. Any Page, Section, or Why lines that are found to be copy-and-paste from some other document will result in a charge of plagiarism or academic fraud. Do your own research; type your own answer source locations and explanations; no copy-and-paste from your friends; they won’t be at your job interview.

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.

You get no marks for this bonus assignment if you get the format wrong. Spelling, punctuation, and capitalization of the keywords must be exactly as given above.

3.2 When you are doneIndexup to index

4 Submitting your WorkIndexup to index

  1. Transfer the above Linux-format plain text assignment10.txt file from the Base Directory on the CLS to your local computer.
    • Refer to the File Transfer page for how to transfer the file.
    • Verify that the file still contains all the correct content from the CLS.
    • Do not edit or open and save this file on your local computer! Edited or damaged files will not be marked.
  2. Upload the single assignment10.txt file from your local computer to the correct A-10 Assignment #10 area on Brightspace before the due date:
    • See Assignment #01 for details on how to upload files to Brightspace.
    • Only upload the one file. Submit the file exactly as given.
    • Make sure the file has the correct assignment10.txt name.
    • Make sure you upload it to the right place, not into Assignment 9 or 8!
  3. 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!

Notes:

READ ALL THE WORDS. OH PLEASE, PLEASE, PLEASE READ ALL THE WORDS!

Author: 
| Ian! D. Allen, BA, MMath  -  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