% CST8207 Bonus 06 -- BONUS Midterm Test 1 topics review % Ian! D. Allen -- -- [www.idallen.com] % Fall 2018 - September to December 2018 - Updated 2018-11-01 23:36 EDT - [Course Home Page] - [Course Outline] - [All Weeks] - [Plain Text] Due Date and Deliverables ========================= > **Do not print this assignment on paper!** > > - On paper, you will miss updates, corrections, and hints added to the > online version. > - On paper, you cannot follow any of the [hyperlink URLs] that lead you > to hints and course notes relevant to answering a question. > - On paper, scrolling text boxes will be cut off and not print properly. - **Due Date**: `23h59 (11:59pm) Friday November 2, 2018 (end of Week 9)` - This is a **BONUS** assignment for extra credit on your first Midterm Test. It is optional. - Late assignments or wrong file names may not be marked. Please be accurate and punctual. - **Available online** - Version 1 -- 18:10 October 12, 2018 - **Prerequisites** 1. You may do this optional bonus assignment after you have written your first midterm test and also received your marks back by EMail. 2. You need your midterm test results EMail message containing your personal Midterm Test Answer key and your score. - Your personal EMail with your answer key and score was sent to you by your instructor around **5am on Tuesday, October 16**. - If you delete this email and I have to replace it, there is a 5% mark penalty on this assignment. 3. You need to pick up your own personal question sheet from your instructor. (This is the actual question sheet you used.) - You lab instructor will bring your personal question sheet **to the lab period whose lab section number you wrote on your test question sheet.** - If you didn't write the correct lab period section number on your question sheet, you'll have to [Make an Appointment] to come see the instructor to search for your test. - We bring your personal question sheet back to you in the lab periods following the test (Week 7/8). After that, [Make an Appointment] to see your lab instructor. - If you lose your question sheet, there is a 10% mark penalty on this bonus assignment to replace it. - **Deliverables** 1. One Linux-format plain text file `assignment06.txt` in your CLS account. 2. The same Linux-format plain text file `assignment06.txt` uploaded to Brightspace. DOS (Windows) format files will not be marked. **WARNING:** Some inattentive students upload Assignment #6 into the Assignment #5 upload area. Don't make that mistake! Be exact. Purpose of this Assignment ========================== 1. Learn from your mistakes on [Midterm Test #1 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. Marking Scheme -------------- Bonus Assignment 6 is optional. It is worth up to an additional 25% on your first Midterm Test score. (Though it is called an Assignment, it does not affect your Assignments score; it improves only your first Midterm Test score.) If you do bonus Assignment 6 successfully, I will increase your first Midterm Test mark by 25% (1/4) of the distance between your current test mark and 100%, e.g.: - If you scored 30% on the midterm, you would get: 30%+(100-30)*25%=47%. - If you scored 40% on the midterm, you would get: 40%+(100-40)*25%=55%. - If you scored 50% on the midterm, you would get: 50%+(100-50)*25%=62%. - If you scored 60% on the midterm, you would get: 60%+(100-60)*25%=70%. - If you scored x% on the midterm, you would get: x%+(100-x)*25% You must Read All The Words and follow the exact instructions in Assignment 6 for it to be counted. Read All The Words! There will be a similar bonus assignment after the second Midterm Test. > 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. Set Up -- The Base Directory on the CLS ======================================= 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/assignment06`, in which you will create the Linux-format plain text file from the following task. > **This `assignment06` directory is the [Base Directory] for most pathnames > in this assignment. Store your files and answers in this Base Directory.** Fix your Mistakes ----------------- 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 `assignment06.txt` in the [Base Directory] on the CLS. For every question that you answered *incorrectly* on your own Midterm Test #1, reproduce in the answer file: a) the question you got wrong (from your own personal question sheet), and b) 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. 3. Underneath each question and correct answer in your answer file, indicate two things using three keywords "**Page:**", "**Section:**" and "**Why:**": a. Indicate specifically 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. You need to give both the **Page** that has the answer (keyword "**Page:**") and the title of the **Section** inside that page (keyword "**Section:**"). b. 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. a) 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. b) Each Answer should use the keyword `Answer:` using the above format. - Copy the actual answer. Don't just give the answer letter. c) Each Page name should use the keyword `Page:` using the above format. - Give only the basename of the Page, not the whole URL. d) 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. e) 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. f) 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.) g) 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.** When you are done ----------------- - You will use a Linux text editor to create the `assignment06.txt` Linux-format text file in your [Base Directory] in your CLS account. - You must create this file on the CLS and keep a copy in your [Base Directory]. - Submit your Linux-format plain text file following the directions below. - *DOS (Windows) format files will not be marked.* Create and edit the file on Linux. Submitting your Work ==================== 1. Transfer the above Linux-format plain text `assignment06.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 `assignment06.txt` file from your local computer to the correct **A-06 Assignment #06** 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 `assignment06.txt` name. - Make sure you upload it to the right place, *not* into Assignment 4 or 5! 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: - I do not accept any assignment submissions by EMail. Use only the Brightspace *Upload* and *Submit* method. - Use the *exact* file name given above. Upload only one single file. - 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 The Words. Don't make that mistake! Be exact. **READ ALL THE WORDS. OH PLEASE, PLEASE, PLEASE READ ALL THE WORDS!** -- | 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 [www.idallen.com]: http://www.idallen.com/ [Course Home Page]: .. [Course Outline]: course_outline.pdf [All Weeks]: indexcgi.cgi [Plain Text]: assignment06.txt [hyperlink URLs]: indexcgi.cgi#Important_Notes__alphabetical_order_ [Make an Appointment]: ../schedule.html [Midterm Test #1 PDF]: midterm1_18f.pdf [Remote Login]: 110_remote_login.html [Course Linux Server]: 070_course_linux_server.html [Base Directory]: #set-up-the-base-directory-on-the-cls [File Transfer]: 015_file_transfer.html [Assignment #01]: assignment01.html [Pandoc Markdown]: http://johnmacfarlane.net/pandoc/