Table of Contents



JavaScript Programming Challenges Series 1& 2Workbook and TrackerName:Class:Table of Contents TOC \o "1-3" \h \z \u Table of Contents PAGEREF _Toc402877436 \h 1Before You Start PAGEREF _Toc402877437 \h 3 Folder Structure PAGEREF _Toc402877438 \h 3What is an algorithm? PAGEREF _Toc402877439 \h 3Pseudocode PAGEREF _Toc402877440 \h 3Link to Script File PAGEREF _Toc402877441 \h 3Getting Help PAGEREF _Toc402877442 \h 3Link to CSS File PAGEREF _Toc402877443 \h 3Link to JQuery library PAGEREF _Toc402877444 \h 4Progress Summary PAGEREF _Toc402877445 \h 5Series 1 – Sequence & Selection PAGEREF _Toc402877446 \h 61. Hello World PAGEREF _Toc402877447 \h 62. Hello User PAGEREF _Toc402877448 \h 73. AreaCalc PAGEREF _Toc402877449 \h 94. Perimeter Calc PAGEREF _Toc402877450 \h 115. Largest Number PAGEREF _Toc402877451 \h 136. Favourite Month PAGEREF _Toc402877452 \h 157. Mini-Calc PAGEREF _Toc402877453 \h 188. Mega Sale PAGEREF _Toc402877454 \h 219. Happy! PAGEREF _Toc402877455 \h 2310 Mobile Phone Costs PAGEREF _Toc402877456 \h 2511Calorie Advisor PAGEREF _Toc402877457 \h 2812. Restaurant Tip PAGEREF _Toc402877458 \h 3113. Sports Team PAGEREF _Toc402877459 \h 3514. Login Check PAGEREF _Toc402877460 \h 37Series 2 – Loops PAGEREF _Toc402877461 \h 4015. For loops PAGEREF _Toc402877462 \h 4016. Times Table PAGEREF _Toc402877463 \h 4217 While loop PAGEREF _Toc402877464 \h 4518 Do While Loop PAGEREF _Toc402877465 \h 4719 Guess the Number PAGEREF _Toc402877466 \h 4920 . Squares and Cubes PAGEREF _Toc402877467 \h 52Programming Showcase PAGEREF _Toc402877468 \h 55Hand in Documentation PAGEREF _Toc402877469 \h 56Design Template PAGEREF _Toc402877470 \h 57Useful Resources PAGEREF _Toc402877471 \h 60Background Reading PAGEREF _Toc402877472 \h 60Programming Tutorials PAGEREF _Toc402877473 \h 60Programming Challenges PAGEREF _Toc402877474 \h 60Documentation PAGEREF _Toc402877475 \h 60Before You Start Folder Structure2512904240970All webpages JavaScript file sCSS filesAny pictures or graphics used Challenge work book etcAll webpages JavaScript file sCSS filesAny pictures or graphics used Challenge work book etcSet up your folders like this:What is an algorithm?An algorithm is a set of set by step instruction to solve a problem. In this document when you are writing your algorithms, think “how can I explain this to another person so that they know what to do without knowing what the end result is supposed to be.”A good algorithm is one that has a series of high level statements that you can convert into pseudocodePseudocode Pseudocode is a universal programming language. It fits in between an algorithm and a real programming language such as JavaScript or PHP. It should make programming you solution in a real life language easier!Link to Script FileIn the Head section of your HTML page make sure you have a link to your JavaScript file:428371015875000<script type="text/javascript" src="Includes/code.js"></script>3004507227965This MUST be the name of YOUR JavaScript file00This MUST be the name of YOUR JavaScript fileGetting HelpUse the tryouts shown on the website below if you are unsure how to do something in Javascript: or ()Link to CSS FileIf you have styled your page using CSS you must have a link to it in the Head section of your HTML page :414083615240000<link rel="stylesheet" href="Includes/JSExamples.css">3807460141605This MUST be the name of YOUR CSS file00This MUST be the name of YOUR CSS fileLink to JQuery library If you have JQuery references (they always start with a $ e.g. ($('input[name=gender]:checked').val() == "male") in your JS you must have a link to a JQuery Library it in the Head Section of your HTML page :396938538227000<script src=""></script>3436716116193Make sure you copy this reference accurately00Make sure you copy this reference accuratelyProgress SummaryProgramFocusDesignedCodedTestedHello WorldSequenceHello UserSequence, stringsArea CalcSequence, simple mathsPerimeter CalcSequence, simple mathsLargest NumberSelectionFavourite MonthSelectionMini CalcSequence, simple mathsMega SaleSequence, simple mathsHappy!Selection,Mobile Phone CostsSelection, simple mathsCalorie AdvisorSelectionRestaurant TipSelection, simple mathsSports TeamSelection, simple mathsTop MarksSelection (Advanced)For loopsIterationTimes TableIteration , simple mathsWhile loopIterationDo While LoopIterationGuess the NumberIteration, selectionSquares and CubesIteration, selection, simple mathsSeries 1 – Sequence & Selection1. Hello WorldDesign and implement a program that displays the message “Hello World” when the page loads150495149860Output ScreenInput ScreenOutput ScreenInput ScreenPseudocode:On page loadOutput “Hello World”Explain these terms:Form: Event:Button:Label:Implement your program!TestingHow do you know whether your program works?EvidenceInclude a print out of your commented code here 2. Hello UserDesign and implement a program that allows the user to enter their name and then displays the message Hello username where username is the value that the user entered.140970295910Output ScreenInput ScreenOutput ScreenInput ScreenPseudocode:Variables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum ValueTest PlanComplete the first 2 columns of the following Test Plan BEFORE implementation. Add your own tests in the blank LinesNoInputExpected OutputActual OutputComments1Jenny21003456Explain these terms: Textbox: Property:String:Concatenation:Implement your program!EvidenceInclude a print out of your commented code here 5431155-21590003. AreaCalcDesign and implement a program that allows the user to enter 2 numbers representing the width and length of a rectangle. The program calculates and displays the area of the rectangle.DifferentiationStage1Use alert and prompt popup windows for input and outputStage 2Validate the input to ensure the program works reliably Use Stage 3HTML for input and outputStage 4Format the interface using CSS104140184785Output ScreenInput ScreenOutput ScreenInput ScreenPseudocode:Algorithm:Variables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum ValueTest PlanComplete the first 2 columns of the following Test Plan BEFORE implementation. Add your own tests in the blank LinesNoInputExpected OutputActual OutputComments12, 32100, 10034.2, 1.841m, 356Implement your program!TestingUse the table above to identify any issues with your programExplain these termsConstantVariableIntegerReal NumberArrayIndexEvidenceInclude a print out of your commented code here 5541645102235004. Perimeter CalcDifferentiationStage1Use alert and prompt popup windows for input and outputStage 2Validate the input to ensure the program works reliably Use Stage 3HTML for input and outputStage 4Format the interface using CSSDesign and implement a program that allows the user to enter 2 numbers representing the width and length of a rectangle. The program calculates and displays the perimeter of the rectangle.-52387501114425Input ScreenOutput Screen0Input ScreenOutput Screen-51784257408545Pseudocode00Pseudocode-52387503178810Algorithm00AlgorithmVariables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum ValueTest PlanComplete the first 2 columns of the following Test Plan BEFORE implementation. Add your own tests in the blank LinesNoInputExpected OutputActual OutputComments12, 32100, 10034.2, 1.841m, 351, 3m6What is the purpose of the 4th and 5th tests in the test plan?TestingUse the table above to identify any issues with your programEvidence Include screen shots of your input and output screensInclude a print out of your commented code here 5591810367030005. Largest Number323852446020Input ScreenOutput Screen0Input ScreenOutput ScreenDesign and implement a program that allows the user to enter 3 numbers in any order. The program displays the largest number. (Note this challenge is not to be solved using a JS property)DifferentiationStage1Use alert and prompt popup windows for input and outputStage 2Validate the input to ensure the program works reliablyStage 3Use HTML for input and outputStage 4Format the interface using CSS-61964915959475Algorithm00Algorithm-62010807959725Pseudocode00PseudocodeVariables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum ValueTest PlanComplete the first 2 columns of the following Test Plan BEFORE implementation. Add your own tests in the blank LinesNoInputExpected OutputActual OutputComments1100, 4, 4724.2, 1.8, 531, 0, -145, 8, 556What is the purpose of 5th test in the test plan?TestingUse the table above to identify any issues with your programEvidence Include screen shots of your input and output screensInclude a print out of your commented code here 566420063500006. Favourite MonthDesign and implement a program that allows the user to enter his/her favourite month as a three letter abbreviation (e.g. jan) When the input button is clicked the program responds with the full month name e.g. January)DifferentiationStage1Use prompt popup windows for input and outputStage 2Validate the input to ensure the program works reliably Stage 3Use HTML for input and outputStage 4Format the interface using CSS-55981607944485Pseudocode00Pseudocode-56216553852545Algorithm00Algorithm-56203851125220Input ScreenOutput Screen0Input ScreenOutput ScreenVariables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum ValueTest PlanComplete the first 2 columns of the following Test Plan BEFORE implementation. Add your own tests in the blank Lines. Remember to include Valid and Invalid dataNoInputExpected OutputActual OutputComments1Jan2may3November456Implement your program! Hint:You may choose to use If. (test value){.......} statements You may choose to use a Switch (test value){...Case...} statementExplain these terms:Selection:Alternative Route Valid dataError CheckingInvalid data:Validation:TestingUse the table above to identify any issues with your programEvidence Include screen shots of your input and output screensInclude a print out of your commented code here 7. 5694045254000 Mini-CalcDesign and implement a program that allows the user to enter 2 numbers and choose a mathematical operation (+ - * /). The program calculates the result and displays the answer as a full equation (e.g. the user enters 4 and 10 and chooses +. The program displays 4 + 10 = 14DifferentiationStage1Use alert and prompt popup windows for input and outputStage 2Include validation to ensure the program works reliably Stage 3Use HTML for input and outputStage5Format the interface using CSS -5514975847725Input ScreenOutput Screen0Input ScreenOutput Screen-55149753592195Algorithm00Algorithm12700498475Pseudocode00PseudocodeVariables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum ValueTest PlanComplete the first 2 columns of the following Test Plan BEFORE implementation. Add your own tests in the blank Lines. Remember to include Valid and Invalid dataNoInputExpected OutputActual OutputComments110 + 3223 - 733 * 9448 / 856TestingUse the table above to identify any issues with your programEvidence Include screen shots of your input and output screensExplain these terms:Variable:InitialiseConstantIntegerFloating Point:Double:Include a print out of your commented code here 5337810-100965008. Mega SaleA local shop is having a promotion. If you spend ?10 or more you will get a ?1 voucher to spend next time you come in the store. If you spend ?20 or more you get a ?3 voucher.Generate a random number between 1 and 50 to simulate the amount spent by the customer. Your program will tell the sales assistant which voucher to give the customer.DifferentiationStage1Use alert and prompt popup windows for input and outputStage 2Include validation to ensure the program works reliablyStage 3Use HTML for input and outputStage4Format the interface using CSS -55448208557260Pseudocode00Pseudocode-55448203048635Algorithm00Algorithm-5544820346710Input ScreenOutput Screen0Input ScreenOutput ScreenVariables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum ValueTest PlanComplete the first 2 columns of the following Test Plan BEFORE implementation. Add your own tests in the blank Lines. Remember to include Valid and Invalid dataNoInputExpected OutputActual OutputComments11021532042556Complete this tableOperatorExampleIs Equivalent to*=K*=5K = K * 5/=k/=5%=K%=5+=K+=5-=K-=5TestingUse the table above to identify any issues with your programEvidence Include screen shots of your input and output screensInclude a print out of your commented code here 55543452540009. Happy! This program will give the user a message depending upon how happy they say they are. The user enters a number between 1 and 10 to rate how happy they feel. If the reply is 3 or less it gives one message. Between 4 and 7 (including these numbers) they get another message. 8 and above they get a third message. .Decide what the messages will be but try to write them so that they will feel happy all day long! DifferentiationStage1Use alert and prompt popup windows for input and outputStage 2Use HTML for input and outputStage 3Include validation to ensure the program works reliablyStage4Format the interface using CSS -5567680624205Input ScreenOutput Screen0Input ScreenOutput Screen361958246745Pseudocode00Pseudocode361953076575Algorithm00AlgorithmVariables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum ValueTest PlanComplete the first 2 columns of the following Test Plan BEFORE implementation. Add your own tests in the blank Lines. Remember to include Valid and Invalid dataNoInputExpected OutputActual OutputComments11243841056TestingUse the table above to identify any issues with your programEvidence Include screen shots of your input and output screensInclude a print out of your commented code here 6034405-1193800010 Mobile Phone CostsThis program will work out whether it’s better to use pay as you go or have a contract for a mobile phone. The charges are: Pictures (?0.35), Texts (?0.10) Data (?2.50 for 500MB).Write a program that asks the user for how many pictures, texts and data they normally use each month. It should then calculate a total bill for the month.If the total comes to more than ?10 they are advised to get a contract, otherwise they should use pay as you go. DifferentiationStage1Use alert and prompt popup windows for input and outputStage 2Include validation to ensure the program works reliablyStage 3Use HTML for input and outputStage 4Format the interface using CSS -5672455472440Input ScreenOutput Screen0Input ScreenOutput Screen960502859850Algorithm00Algorithm24130568960Pseudocode00PseudocodeVariables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum ValueTest PlanComplete the first 2 columns of the following Test Plan BEFORE implementation. Add your own tests in the blank Lines. Remember to include Valid and Invalid dataNoInputExpected OutputActual OutputComments13, 5, 828, 10, 20320, 30, 50456TestingUse the table above to identify any issues with your programEvidence Include screen shots of your input and output screensInclude a print out of your commented code here 5845175457200011Calorie AdvisorYour program will advise the user (a teenage boy) how many calories they can consume during a day. The rules are:AgeCalories122220132410142630152820DifferentiationStage1Use alert and prompt popup windows for input and outputStage 2Include validation to ensure the program works reliablyStage 3Use HTML formatting for input and outputStage 4Format the interface using CSS -56718203820160Algorithm00Algorithm-56749951076960Input ScreenOutput Screen0Input ScreenOutput Screen69850441325Pseudocode00PseudocodeVariables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum ValueTest PlanComplete the first 2 columns of the following Test Plan BEFORE implementation. Add your own tests in the blank Lines. Remember to include Valid and Invalid dataNoInputExpected OutputActual OutputComments1Boy, 102Girl, 123Girl, 15456TestingUse the table above to identify any issues with your programEvidence Include screen shots of your input and output screensInclude a print out of your commented code here 5848985425450012. Restaurant TipTwo people eat dinner at a restaurant and want to split the bill. The total comes to ?100 and they want to leave a 15% tip. How much should each person pay?DifferentiationStage1Use alert and prompt popup windows for input and outputStage 2The program ask how many people there are, what percentage the tip should be and how much the bill comes to Stage 3Use HTML for input and outputStage 4Include validation to ensure the program works reliablyStage5Format the interface using CSS -5550535673735Input ScreenOutput Screen0Input ScreenOutput Screen-55069843366135Algorithm00AlgorithmVariables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum Value232410440055Pseudocode00PseudocodeTest PlanComplete the first 2 columns of the following Test Plan BEFORE implementation. Add your own tests in the blank lines.NoInputExpected OutputsActual OutputsComments1100, 152120,5345678TestingUse the table above to identify any issues with your programEvidence Include screen shots of your input and output screensInclude a print out of your commented code here 5299075546100013. Sports TeamWrite a program for the sports department that allows them to work out how many netball teams they can make from a given number of volunteers. Your program will allow them enter the number of volunteers and it responds with the number of teams and the number held in reserveDifferentiationStage1Use alert and prompt popup windows for input and outputStage 2Include validation to ensure the program works reliablyStage 3Allow the user to choose what type of sport they are making a team forStage 4Use HTML for input and outputStage 5Format the interface using CSS-56381655674995Pseudocode00Pseudocode-56381651055370Input ScreenOutput Screen0Input ScreenOutput Screen-56349903651250Algorithm00AlgorithmVariables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum ValueTest PlanComplete the first 2 columns of the following Test Plan BEFORE implementation. Add your own tests in the blank lines.NoInputsExpected OutputActual OutputsComments182734422567891011Implement your program! Hint:With HTML You may choose to use a drop-down list for the 4 mathematical operations.TestingUse the table above to identify any issues with your programEvidence Include screen shots of your input and output screensInclude a print out of your commented code here 5753735114300014. Login CheckWrite a program to check for a valid username and password combination. If the Username is “Harry”, and the password is Potter the message “Access granted” should be displayed otherwise display “Username not recognised” or “Wrong password” depending on which part was incorrectDifferentiationStage1Use alert and prompt popup windows for input and outputStage 2Include validation to ensure the program works reliably Stage 3Use HTML for input and outputStage5Format the interface using CSS 450851403985Input ScreenOutput Screen0Input ScreenOutput Screen127004233545AlgorithmStage 100AlgorithmStage 1Variables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum Value84455568960Pseudocode00PseudocodeTest PlanComplete the Test Plan BEFORE implementation.NoInputsExpected OutputActual OutputsComments1Harry, potter2Amina, Saddik345Implement your program!TestingUse the table above to identify any issues with your programEvidence Include screen shots of your input and output screensInclude a print out of your commented code here 51879503739300Series 2 – Iteration15. For loopsWrite a program using a for loop that displays numbers from 10 to 100 in steps of 5. DifferentiationStage1Use alert window for outputStage 2Include validation to ensure the program works reliablyStage 3Use HTML for outputStage 4Format the interface using CSS 412758108315Pseudocode00Pseudocode156112902705Algorithm00Algorithm1376680193040Output Screen00Output ScreenVariables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum ValueTest PlanComplete the Test Plan BEFORE implementation.NoExpected OutputActual OutputsComments123Implement your program!TestingUse the table above to identify any issues with your programEvidence Include screen shots of your input and output screensInclude a print out of your commented code here 5710555-488950016. Times TableWrite a program that displays the 5 times table for numbers from 1-12 DifferentiationStage1Use alert window for outputStage 2Allow the user to choose the number for the table and the start and values Stage 3Include validation to ensure the program works reliablyStage 3Use HTML for input and outputStage 4Format the interface using CSS-4143375485140Output Screen00Output Screen-55788463151505Algorithm00AlgorithmVariables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum Value30480568960Pseudocode00PseudocodeTest PlanComplete the Test Plan BEFORE implementation.NoExpected OutputActual OutputsComments12Implement your program!TestingUse the table above to identify any issues with your programEvidence Include screen shots of your input and output screensInclude a print out of your commented code here 5099050298450017 While loopUsing a WHILE loop, write a program to produce the output shown below:673692958285Algorithm00Algorithm673106771640Pseudocode00Pseudocode1936750238760Output ScreenLoop Starting…Looping –count 1Looping –count 2Looping –count 3Looping –count 4Looping –count 5Looping –count 6Looping –count 7Looping –count 8Looping –count 9Looping –count 10Loop Ended00Output ScreenLoop Starting…Looping –count 1Looping –count 2Looping –count 3Looping –count 4Looping –count 5Looping –count 6Looping –count 7Looping –count 8Looping –count 9Looping –count 10Loop EndedVariables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum ValueTest PlanComplete the Test Plan BEFORE implementation.NoExpected OutputActual OutputsComments1Implement your program!TestingUse the table above to identify any issues with your programEvidence Include screen shots of your input and output screensInclude a print out of your commented code here 5029200298450018 Do While LoopWrite a program using a Do While loop to produce the following output:1447806866255Pseudocode00Pseudocode1795132951708AlgorithmStage 100AlgorithmStage 11818005187325Output ScreenLoop StartingCurrent Count : 0Loop Ended! 00Output ScreenLoop StartingCurrent Count : 0Loop Ended! Variables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum ValueTest PlanComplete the Test Plan BEFORE implementation.NoExpected OutputActual OutputsComments1Implement your program!TestingUse the table above to identify any issues with your programEvidence Include screen shots of your input and output screensInclude a print out of your commented code here 5474335450850019 Guess the NumberWrite a program that generates a random number between 1 and 100. The user has to guess what the number is. The program ends when the user guesses the correct number.DifferentiationStage1Use alert window for output and prompt window for inputStage 2Include validation to ensure the program works reliablyStage 3Give a hint to let the user know whether the guess was too high or too lowStage 4Use HTML for input and outputStage 5Format the interface using CSS-55854601380490Input ScreenOutput Screen0Input ScreenOutput Screen-55851484247814AlgorithmStage 100AlgorithmStage 1Variables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum Value58420568960Pseudocode00PseudocodeTest PlanComplete the Test Plan BEFORE implementation.NoInputsExpected OutputActual OutputsComments12345Implement your program!Hint: use Math.floor(Math.random() * ((100-1)+1) + 1)to generate the random numberTestingUse the table above to identify any issues with your programEvidence Include screen shots of your input and output screensInclude a print out of your commented code here 5791835-323850020 . Squares and CubesThe squared number sequence starts: 1, 4, 9, 16, 25. The cubed number sequence starts: 1, 8, 27, 64.,125 Write a program to that allows the user to choose how many numbers they want to see (the sequences above show 5) and the sequence (e.g. squared or cubed )DifferentiationStage1Use alert window for output and prompt window for inputStage 2Include validation to ensure the program works reliablyStage 3Use HTML for input and outputStage 4Format the interface using CSS-55175151363980Input ScreenOutput Screen0Input ScreenOutput Screen-55073554083685AlgorithmStage 100AlgorithmStage 1Variables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum Value93980571500Pseudocode00PseudocodeTest PlanComplete the Test Plan BEFORE implementation.NoInputsExpected OutputActual OutputsComments12345Implement your program!TestingUse the table above to identify any issues with your programEvidence Include screen shots of your input and output screensInclude a print out of your commented code here Programming ShowcaseA Programming Showcase is a formal document showing how you progressed through all of the stages in the development process. It will use some of the design, development and testing work you have completed in this booklet as well as a detailed narrative of what you did at each stage, and, more importantly, why and how you did it. It will also include a full evaluation of the final version of your program and incorporate feedback and thoughts from other people (e.g. members of your class).The showcase will be marked using the AQA’s guidelines for Controlled Assessment Projects.The Showcase should cover the following main points:AimDescription of program's main purposes(s). You could paraphrase the task's instructions.Design and PlanningI->P-O diagram Flowchart PseudocodeVariables/data structures needed (and validation)For the highest grades, remember to discuss why you are using a particular approachTest PlanDetailed testing strategy – how will you know if your program works? Detailed testing table – what data will you use to test your program?Valid, invalid and extreme dataDevelopmentAnnotated screenshots showing stages of developmentDiscussion of any problems you encountered and how you fixed them (or didn't!) Explicit, detailed discussion of changes made to your code following alpha testingFull code listing for the final programCode should be commented, indented, use sensible variable names etc.TestingCompleted test plan with appropriate comments and evidence (screenshots?)EvaluationDiscuss good/bad aspectsFeedback from othersSuggestions for further improvementNote how the following evaluation paragraphs each cover a Fact, an Opinion and an improvement (F-O-I)Improvement (F->O->I)The interface for the program uses drop-down lists so the user can choose the items bought. This is good because it prevents the user from entering invalid spellings or non-existent items. When the program first loads up, the drop-down lists always shows “coffee”. I could set them to be blank so the user doesn't have to change them to blank if fewer than 5 items are bought.The program correctly works out the student's average score in most cases. However, the maximum score for each test is supposed to be 20 and it is possible to enter higher scores than this. I could add some error-handling to prevent the user from entering invalid numbers,e.g.:repeatinput scoreuntil score>-1 and score<2140163756273165Fully commented codeThat is clear and readable00Fully commented codeThat is clear and readable6711954366895Program Code00Program Code8007352853690Pseudocode00Pseudocode8001001261745Algorithm00Algorithm800735359410Purpose Brief description of the purpose of the program – rewording of the requirements00Purpose Brief description of the purpose of the program – rewording of the requirements5930907757388Print screens of inputs and outputsPrint screens of inputs and outputsHand in DocumentationDesign TemplateTitlePurpose of program:15611190440Input Screen00Input Screen................................................................................................................................................................................................................................................................................................................................................................................-11023222250Output Screen00Output ScreenFlowchart/PseudocodeInclude here the logic of your program described using a flowchart or PseudocodeVariables and Other Data StructuresNameDatatypeTypical ValueMinimum ValueMaximum ValueTest PlanComplete the first 2 columns of the following Test Plan BEFORE implementation. As usual, include valid, invalid and extreme data.NoInputsExpected OutputActual OutputsCommentsImplement your program! Test your program! Evaluate your program!Useful ResourcesBackground Reading HYPERLINK "" HYPERLINK "" HYPERLINK "" Tutorials Challenges ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download