Out: Mar 15, 2017
Due: Start of lab, Mar 23, 2017

CENG 256 – Exam Supplemental Makeup Assignment

Eligibility and Limits

The goal here is to allow you to raise your midterm test mark to a maximum of 60%. It requires you to reflect on problems in understanding the test material to help you master the material covered to date. As an added incentive for those who’s test mark is already near to or above 60%, any improved mark above 60% will count as an assignment bonus.
What You Have To Do
On separate sheets of paper provide answersthe questions that you did not receive full marks on and at the end of each of the 3 sections summarize the nature of the errors that you had. You will be given ½ mark for every test mark improvement and up to 1.5 marks for the 3 summaries. There were 30 available marks and the test was marked out of 25. As an example, if you received 10/25 (40%) you would be eligible to receive 24.5/2 (12.25) marks. 5 of these marks would go to raise your test mark to 15/25. The remaining marks will count as an assignment bonus according to the following formula[i].

Hand in your revised answers along with your midterm. The revised answers should be stapled together with a cover page and the midterm should be attached using a paperclip to avoid confusion between the two.
General Comments on Each Section

  1. Definitions

Each of the definitions appeared in assignments 1-3 and were demonstrated in class. Review your notes, returned assignments and readings.

  1. Code Fragments
    Try to answer each of the questions in the Firebug console. In part c a lot of people answered by supplying HTML – the point was to write JavaScript code that changed the existing paragraph tag. Part d was about correct syntax – I went over this specific example in the lab prior to the exam as an example of a JavaScript syntax question that might be asked. A for each loop is not the same as a counting loop. In the case of for(i=0;i<n;i++) { } you would note that initializing the value of i in the first part, testing the expression in the 2nd is done in the 2nd part and is done before each iteration and the increment step in the 3rd part is done at the end of each iteration. A similar discussion is needed for the part of a for each loop. Similarly part e dealing with JSON required that you change the current value of x – reassigning x a new value doesn’t qualify as a correct answer.
  2. Explanations
  3. The answer can be found in the Nixon text. Be complete, specify whcy language you are using, but don’t state datatypes that are not in the language.
  4. Some people chose to answer using different JavaScript functions as examples, others used different types of selector patterns that were given in the W3 Schools reference and in the Nixon and the Elizabeth Castro (CENG200) texts. Either was acceptable but my preference was for the patterns that are used in CSS, JQuery(pattern) and in document.querySelectorAll(pattern). A correct answer here would be to give an example of 4 different kinds of selectors as strings and then explain what each selects.
  5. See the PowerPoint presentation the course web site on the architecture of the web.
  6. Mostly done OK – refer back to the assignment exercise.
  7. Look these up and try these out. ‘a’ stands for attribute, ‘v’ stands for value. #1 is a bit deceptive - .html only takes 1 argument – the 2nd argument has no effect.

[i] The assignment bonus will be calculated as follows. extra mark/10. It will be counted as a 7th assignment, but the assignments will be averaged as if there are 6 assignments. Assignment bonus will be capped at a value of .5 assignment.
Example 1: You received 10/25 on the test and receive 20/2 extra marks on account of this makeup. That leaves 5 marks to bring your test mark to 60% and 5/10 as an assignment bonus. While this looks like a 50%, it contributes .5/10 or 3.33% to your final grade oror an 8.3% improvement to your assignment average, the equivalent of half an assignment.

Example 2: You received 15/25 on the test and receive 15/2 extra marks on account of this makeup. You aren’t eliglble for an increase in your test mark but you do the exercise. You are elible for 7.5/10 marks as an assignment bonus, but this will be capped at 50% of an assignment.. If you are also in danger of failing the assignment portion of the course this could possibly put you over the top.
Example 3: You received 20/25 on the text. Again you will be capped at 50% of the value of an assignment.
Please don’t dwell on the issue of how fair the assignment bonus is – it’s the best I could come up with on short notice. The main purpose is to give some assistance to those who failed the test and incentive to actively review all the questions.