SET11105 Coursework Part 2
Official Frontpage of this assessment
For the coursework you are asked to build a server-side web application
containing the components described below.
If you have any questions, check whether they have already been answered
on the FAQ page.
Components of your coursework
Your application should consist of the following components:
The writing style of your documentation should be brief, factual and
focusing on the technical details. Your documentation should not
be more than 5 pages if printed in 12pt font on A4 paper. Please, print
on both sides of the paper if possible. Staple the documentation in the
upper left corner. Please, do NOT use plastic folders.
- A quiz about server-side web languages containing 5 questions. The first
page of the quiz should present the first question.
After answering the first question,
the user will be told whether the answer was correct or false and will be
presented with the second question.
A cookie will be used to count the number
of correctly answered questions. After each question has been evaluated
the score will be updated and displayed to the user.
The answers to the questions are as follows: "PHP",
"AJAX", "sessionID", "REQUEST_METHOD",
"HTML injection". Your script should evaluate these strings exactly
as they are here, using upper- and lower-case as presented here, but
without the double quotes. You should create the 5 questions, to
which these answers belong, yourself.
- An option to display the data from the quiz as an XML file. You should
purpose-design the XML format so it contains exactly the elements and attributes
that are needed for your application.
- Some documentation, including:
- 1) an introduction;
- 2) the DTD for your purpose-designed XML format and a
sample XML file. The sample XML file should be as brief as
possible (i.e. without duplicate elements if possible);
of your application;
- 4) a short critical evaluation of your application.
You should include a discussion of the use of Web 2.0
technologies (e.g. AJAX) with respect to your application: does your
application have any features which are Web 2.0? Explain how
such features impact the user experience in a positive or negative
- 5) a references section which lists
any resources for the development of your application other
than the materials from the lecture notes and exercises in the practicals
script code which you may have downloaded from the web.
Tuesday in Week 11, 15:00:
Hand the printed documentation in to the School Office.
Please remember to show your matriculation card when you are handing in your
documentation at the School Office.
A zipped file of the source code of your application should be emailed
to email@example.com with the Subject line "SET11105 Coursework".
only the code that you wrote (not any APIs, libraries etc you might have used)
in the file. Your source code will not be marked. But if there are any disputes
about marks or if plagiarism is suspected your code will be looked at.
Practicals in Week 11:
Your coursework will be evaluated during the practicals in
Week 11. If you cannot attend your practical during that week
for whatever reason, you need to contact the lecturer in advance of
If you fail to do this, you risk having your coursework marked as "late".
The Napier webserver can be slow during a time of
high demand around the deadline. Because of this,
you should not attempt to do the coursework in the last minute. Proper
project management is part of a successful coursework. You have been warned!
Safeguarding your work
It is your responsibility to ensure that your files are read-protected
from others. You should not leave any printouts of your code on Campus,
not even in the rubbish bins. You should change the permissions of all
your html files and PHP to "unreadable by others" while you are not working on
You should make regular backup copies
of your code, for example, by copying the files to your net storage space
or to an external USB device via your I-drive.
If you submit your coursework late (between 1 and 7 days after the deadline),
the mark will be capped. After that your coursework will be marked as
You can reach a total of 60 points for this part of the coursework.
The points will be distributed as follows:
|HTML, Design, Usability of the site||5 points