Title | CWA Ass Part2 2018 s1 |
---|---|
Course | Creating Web Applications |
Institution | Swinburne University of Technology |
Pages | 6 |
File Size | 391 KB |
File Type | |
Total Downloads | 61 |
Total Views | 134 |
Download CWA Ass Part2 2018 s1 PDF
Swinburne University of Technology Faculty of Science, Engineering and Technologies COS10011 / COS60004 / COS60007 Creating Web Applications [and Databases] Individual Assignment: Part 2 Semester 1, 2018 Develop an Interactive Website Important Dates: Due Date ESP Demonstration Note: ANZAC Day
8 am, Day of you tutorial, Week 8 (April 23 – 27) (Late submission penalty: 10% of total available marks per day) Your allocated tutorial: Week 8 Youmustattendthissessiontoreceiveamarkforthisassignment. Wednesday April 25 is a public holiday. If you have a Wednesday tutorial your assignment still needs to be submitted to ESP by 8 am 25th April. Extra demonstration sessions have been organised for the Thursday and Friday of that week.
Contribution to Final Assessment: 14% You must meet the Essential Requirements of this assignment to be eligible to submit Part 3 of the assignment. See the making guide for the essential requirements for this part of the assignment. Note:DonotuseJavaScriptlibrariesorframeworks(e.g.jQuery,Angular)inthemainpartofthis assignment.Youmaycreateanadditionalalternativeimplementationusingalibrary/framework asanenhancement(seeenhancementssectionbelow).
Note:Thecodethatisassessedinyourdemonstrationmustbeidenticaltothecode yousubmittoESP.Thiswillbecheckedbeforethedemonstration.
Prerequisite If youfailed tomeet the Essential Requirements ofPart1,beforethis part oftheassignment issubmittedandmarked,youneedtodemonstratethatyouhavefixedproblemsinyourfirst part.NotethatthesefixeswillnotalterthemarkyoureceivedforPart1.Itisadvisabletoget these fixes complete and signed off well before you hand in this assignment. The tutor will checkthefixesandsign‐offthattheyhavebeencompleted.Yourtutorwillbehappytoadvise youduringlabsorduringconsultationsessionsifyouneedassistancefixingAssignment1. Howtogetyourfixessignedoff: 1. Arrangeatimewithyourtutortocheck yourworkduring your allocatedtuteorduring aconsultationtime. 2. BringacopyoftheESPassessmentprintoutfromPart1 3. Yourtutorwill checkthatyourfixestoPart1addresstheissuesidentifiedonthemark sheet(fixeswillnotberequiredtothefeatureshtmlpage). 4. Ifthefixesaresuccessful,your tutorwill record thisandyouwillbeeligibletohavethis assignmentassessed.If thereareissuesthathavenotbeenfixed,yourtutor willinform youofthisandyouwillhavea furtherchance tofixtheassignment.
Purpose of the assignment In thisassignmentyouwill furtherenhancethe websiteyoudeveloped in Assignment Part 1 by usingJavaScripttomarkthequizyoucreated.Youwill: UseJavaScripttocheckdataenteredintoHTMLformsandprovideuserfeedback Useclient‐sidestoragetotransferdatabetweenpages. As in Part 1, there will be an opportunity to enhance your website beyond the basic requirements. The“use strict”;directiveshouldbeincludedatthestartofallyourJavaScriptfiles.
Web Site Description Checkthequizanswers InPart1oftheassignmentyoucreatedanHTMLformquiz.htmlthatconsistedofatleastfive questionsrelatedtoyourtopic.InthispartoftheassignmentwewilluseJavaScripttomarkthose questions.JavaScriptshouldbeinafilecalledquiz.jslocatedinascriptsfolder. Createamarkingschemeforyourquestionssothateachquestionisallocatedoneormoremarks. WhentheuserclickstheSubmitbuttonontheformuseJavascriptto: 1. Checktheyhaveaselectedananswerforanyquestionswherea‘required’attributewasnot setinHTML(e.g.checkboxes) 2. comparetheiranswerswiththecorrectanswersyouhavedefinedandcalculatetheirscore. Iftheusergetszeroforthequiztheyshouldnotbeabletosubmittheiranswers.Providetheuser withsomefeedbackifthisisthecase. Onceapositivescoreiscalculated,displaytheresultsoftheattemptonawebpagecalled result.html.UseHTML5localstoragetodotransfertheinformationbetweenpages. Thiswebpagewilldisplay: Theusernameandid. Thescoreachievedforthisattempt. Thenumberofattemptstheuserhasmadedoingthequizusingtheirbrowser. Ahyperlinkthatallowsthemtohaveanotherattemptatthequiz(onlyiftheyhavehadless than3attempts). Themaximumnumberofattemptsauser(identifiedbytheirid)canmakeisthree.Youneed toimplementawaytopreventtheuserdoingthequizmorethanthreetimes. Hint:changetheformyoucreatedinPart1oftheAssignmenttosetthemethodattributeto result.html.WhilethisfileisjustastaticHTMLpagethatdoesnotdoanyprocessingofthe formdata,thewebpagewillbereturnedfromtheservertothebrowserwhereyoucaninitializeit withthelocalinformationyouhavestored. Wewillfurtherenhancethisbyaddingserver‐sideprocessinginPart3oftheAssignment. Note:ThereshouldbenoJavaScriptembeddedinyourHTMLfiles.Thisprecludesbothevent registration(e.g....