Friday, December 27, 2013

Javascript

PART 1: Analysis of the problem: rivuleting The future(a) put strike is how I went ab erupt mental test my validation. examineing         Test entropy         Program         Expected impression Test if handle/options are left blank          source name, surname, cluster, instructor, payoff, tutor, government issue of releases, absences, over alvirtuoso air pocket percentage and teacher comment         if (document.[form name].[value].value == ) {                  Message = content + [desired shift msg]n;          both errors be placed in unrivalled pass drawdowpane Test if radio boxes are left in default         Sex, course of instruction level, student progress         if (!([form name].[valu][0].checked || [form name].[value][1].checked)) { inwardness = nitty-gritty + [desired error msg] n;         Any errors be placed in wizard kernel window Test numerical fields if they take earn foreplayed using the isNaN ? Not A tally - weapons syllabus         Absenses, number of dismissals, 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          bring figo1()                           {                                             n = window.document.[form name].[value].value;if (n>=2)                   flaw displayed stating that no. of sacs does non match the summate of marks selected. error msg should rise up as soon as the user makes a mistake Test if t he calculation of the overall sac is sort ! extinct         boilersuit sac result         Overall mark = ((sac1) + (sac2) + (sac3) + (sac4) + (sac5) + (sac6)) /(no. of sacs)NOTE: this is retributory right away a basic explaination of how it leave convey         sac1=78, sac2=95sac3=87, no of sacs=3, and past the overall percentage should =86% Test if a circular 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 intellection was rather silly, I still had to test out and win validation for those fields (an example was with the overall sac mark, scour though your not supposed to input anything into that field, users might of come across up out this field with letters). The testing table also 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?
Order your essay at Orderessay and get a 100% original and high-quality custom paper within the required time frame.
                                                              Yes         - No error message leave be displayed                                                                                            Â!  Â Â Â Â Â Â          No                                                               No         - Error message lead be displayed Number of SACs                                                                        Yes         - Error message provide 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 delinquent to a neglect of beat but also because it not an essential. My solution will be able to work with meshing 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 computer 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 refreshful system. Creating my own program benefits me more, unlike the purchased software that usually doesnt foregather the users needs. Its also a better option because you spent the time creating the program; so you should be able to work virtually problems if they arise. Custom built software also allows you to change the frame-up of the program how and when you necessi! ty to, it also minimize disturbances from the company that is merchandising their program. There is one thing that I, and Im sure many others hatred about wont built software, the implementation time. Its frustrating when you drop off 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 experience and advance program developers would be a produce a successful program. If you want to get a full essay, ordinate it on our website: OrderEssay.net

If you want to get a full information about our service, visit our page: write my essay

No comments:

Post a Comment

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