Tuesday, September 24, 2013

Javascript

PART 1: Analysis of the problem: runneling The followers put glum is how I went ab erupt streak my validation. sorting         Test entropy         Program         Expected final result Test if handle/options are left blank          archetypical name, surname, cluster, instructor, consequence, tutor, digit of releases, absences, over alvirtuoso air pocket percentage and teacher comment         if (document.[form name].[value].value == ) {                  Message = content + [desired shift msg]n;          either actus reuss be placed in unrivalled pass alluredowpane Test if radio boxes are left in default         Sex, form level, student progress         if (!([form name].[valu][0].checked || [form name].[value][1].checked)) { inwardness = meat + [desired error msg] n;         Any errors be placed in whiz cognitiv e content window Test numerical fields if they nonplus earn foreplayed using the isNaN ? Not A tally - weapons computer program         Absenses, number of paper bags, overall percentage         if (isNaN(document.[form name].[value].value)) { message = message + [desired error msg]n;                  Any errors be placed in one message window Test if number of sac tag selected matches the number of sacs for that subject         Sac1/2/3/4/5/6          lean figo1()                           {                                             n = window.document.[form name].[value].value;if (n>=2)                   mistake displayed stating that no. of sacs does non match the standard of marks selected. error msg should rise up as soon as the user makes a mistake Test if th e calculation of the overall sac is sort e! xtinct         boilersuit sac result         Overall mark = ((sac1) + (sac2) + (sac3) + (sac4) + (sac5) + (sac6)) /(no. of sacs)NOTE: this is provided forthwith a basic explaination of how it leave lend         sac1=78, sac2=95sac3=87, no of sacs=3, and thus the overall percentage should =86% Test if a get hold is generated by selecting a mark         Sac1/2/3/4/5/6         p = window.document.[form name].[value].selectedIndex;window.[form name].[grade].value = window.document.[form name].[sac mark][p].value;         If 67% was to be selected as the sac 1 result, then the grade should display C+ PART 2: I tested my solution by trying all sorts of inputting/selecting combinations I could think of. Even if my mentation was rather silly, I still had to test out and win validation for those fields (an example was with the overall sac mark, plane though your not supposed to input anything i nto that field, users might of pick out up out this field with letters). The testing table excessively helped me with testing and possible validation technique that would need to be used. for the most part I used diagrams like to one below. Is the field waste? Is it a number?
bestessaycheap.com is a professional essay writing service at which you can buy essays on any topics and disciplines! All custom essays are written by professional writers!
                                                              Yes         - No error message leave be displayed                                                                          Â!  Â Â Â Â Â Â                            No                                                               No         - Error message lead be displayed Number of SACs                                                                        Yes         - Error message bequeath be displayed                                    Yes                                                                                 No         - Error message will be displayed My solution easily meets the organizations needs. The only thing I failed on was producing a font changer for the teacher comment. This was collectable to a neglect of time but also because it not an essential. My solution will be able to work with lucre explorer 4.01 and covers all the necessary fields and more. I have included as many dropd have gots as I possibly could to reduce input error and to save time. The sac marks are born-again into grades, which are then averaged out to produce an overall sac mark percentage just like what the school pauperizationed. habitude build software Vs off the self software both(prenominal) have their advantages and disadvantages, but personally creating the weapons platform yourself is a overmuch better approach when implementing a newfangled system. Creating my own program benefits me more, unlike the purchased software that usually doesnt meet the users needs. Its also a better option because you spent the time creating the program; so you should be able to work just about problems if they arise. Custom built softw are also allows you to change the apparatus of the p! rogram how and when you necessity to, it also minimize disturbances from the company that is change their program. There is one thing that I, and Im sure many others shun about wont built software, the implementation time. Its frustrating when you pass by hours and hours making your own software to find out that it doesnt work because you left out a {. Custom built software is hard to become which means only the more experient and advance program developers would be a produce a successful program. If you want to get a full essay, parade it on our website: BestEssayCheap.com

If you want to get a full essay, visit our page: cheap essay

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.