ST0502 CA2程序 写作、 辅导JavaScript程序

” ST0502 CA2程序 写作、 辅导JavaScript程序SECURITY CLASSIFICATION: Official (CLOSED), NON-SENSITIVE ST0502 CA21SCHOOL OF COMPUTINGCOMMON INFOCOMM TECHNOLOGY PROGRAMMEDIPLOMA IN APPLIED AI ANALYTICSDIPLOMA IN INFOCOMM SECURITY MANAGEMENTDIPLOMA IN INFORMATION TECHNOLOGYST0502 Fundamentals of Programming2020/2021 SEMESTER-1PRACTICAL ASSIGNMENT (CA2)Instructions and Guidelines:1. The assignment should be submitted by 10 August 2020 (Mon), 9:00am. You arerequired to submit a softcopy of source codes in BlackBoard. Please indicate yourName (as in SAS2), Class and Admission Number in your submission.2. This is An individual assignment.3. The assignment will account for 30% of this module.4. You must use JavaScript to develop the application.5. The interview will be conducted during the lessons in week 17-18 (from 10 Augustto 21 August 2020). You are expected to explain the program logic and modify theprogram during the interview. If you are absent from the interview without avalid Leave of Absence approved by SP, you will be awarded zero mark for theassignment.6. No marks will be awarded, if the work is copied or you have allowed others tocopy your work. This is a very serious offence of plagiarism committed by allinvolved. Please refer the Clause in RED below regarding plagiarism.7. 50% of marks to be deducted for submission of assignment within ONE calendarday after the deadline. No marks shall be awarded for assignments submitted morethan one day after the deadline.Warning: Plagiarism means passing off as ones own the ideas, works, writings, etc.,which belong to another person. In accordance with this definition, you are committingplagiarism if you copy the work of another person and turning it in as your own, even ifyou would have the Permission of that person. Plagiarism is a serious offence anddisciplinary action will be taken against you. If you are guilty of plagiarism, you may failall modules in the semester, or even be liable for expulsion.SECURITY CLASSIFICATION: Official (CLOSED), NON-SENSITIVE ST0502 CA2ST0502 CA2作业 写作、 辅导JavaScript课程作业Quiz Application1. ObjectiveThe objective Of this assignment is for the student to create a Hangman Game.2. OverviewHangman is a classic word game in which a computer randomly selects a word thatthe player must guess by supplying each of its letter: for each incorrect guess, a partof a stick figure of a hanged man is drawn. The player loses when the completehanged man is drawn as illustrated below:____| || o| /|\\r| || / \\r_|_| |______| ||__________|3. Sample OutputThe screenshots below illustrate the application when executed. You are encouragedto design your own text-based UI.-= Welcome to Hangman =-Please enter your name: JaneWord 1 / 10_ _ _ _ _ _ _ _ _A B C D E F G H I J K L MN O P Q R S T U V W X Y ZJanes Guess (Enter 9 for lifelines or 0 to pass): ESorry. E is not a part of the word._|_A B C D F G H I J K L MN O P Q R S T U V W X Y ZJanes guess (Enter 9 for lifelines or 0 to pass): OSECURITY CLASSIFICATION: Official (CLOSED), NON-SENSITIVE ST0502 CA23Good job! O is one of the letters!_ O _ _ _ O _ _ _A B C D F G H I J K L MN P Q R S T U V W X Y ZJanes guess (Enter 9 for lifelines or 0 to pass): ISorry. I is not a part of the word.A B C D E F G H J K L MN P Q R S T U V W X Y ZJanes guess (Enter 9 for lifelines or 0 to pass): AGood job! A is one of the letters!_ O _ _ _ O A _ _B C D F G H J K L MN P Q R S T U V W X Y Z4. Basic Requirementso There must be at least 40 words in a pool.o All words must be stored in an array.o The program randomly selects 10 words from the pool for each gameplay.o The game is over either when the user wins by correctly guessing all 10 wordsor loses when all parts of the hangman is drawn.o There must be at least 3 lifelines for each gameplay. They are (1) show allvowels, (2) show definition of the word, and (3) allow user to score and moveon to the next word. Note that player will not be allowed to use lifeline (1) ifall vowels are already shown and player is given only 1 of each lifeline pergameplay.o The program must be able to track the scores of each gameplay. The playerscores when he/she guesses a word correctly.SECURITY CLASSIFICATION: Official (CLOSED), NON-SENSITIVE ST0502 CA24o When the game is over, the result screen that shows the players score must bedisplayed. A congratulation message should be displayed if the playermanages to guess all words correctly.5. Basic Program Requirements:You are to develop the application using the object oriented concept learnt in themodule.Your application should consist of at least 2 of these classes i.e.o Word class to define each word in the game (along with other attribute(s) suchas its definition).o WordCollection class to represent a collection (pool) of all words. Allrequired functions, such as a function to randomly select words from the poolfor each gameplay, a function to check if the word is guessed correctly byplayer, a function to keep track of the score, etc. should also be included here.o Feel free to add any other classes you feel are needed in your program.6. Advanced FeaturesMarks Will be awarded for advanced features, such as, but not limited to thefollowing:o All words are stored in an external file (e.g. CSV file or TXT file) ordatabase.o There are categories of words for player to choose at the beginning of eachgame. For example, IT Related, Geography, Biology, etc. The game thenrandomly picks the words from the selected category from the word pool.o The player can choose to display statistics such as his/her average score,highest score or lowest score, elapse time, etc.o The program is able to keep track of players scores (the scores and playerinfo must be stored in an external file or database).o Any other features advanced features ie no in basic requirements above.Please keep in mind that all these are advanced features. The main bulk of marks areallocated to the completion of a workable program that meets the minimumrequirements.You should try to fulfil the minimum requirements before you attempt theadvanced features.SECURITY CLASSIFICATION: Official (CLOSED), NON-SENSITIVE ST0502 CA257. Assessment GuidelinesMarking Criteria will be based on students ability to demonstrate programrequirements and explanation during QA interview in the following areas :Assessement CriteriaMaximum marksallocatedProgram functionalities- Execute basic requirements mentioned above correctly 35Program design:- Correct and efficient usage of classes and programming constructs- Appropriate method decomposition- Propoer Use of Arrays and Functions- Appropriate validations- Code efficiencyProgram readability:- Meaningful identifiers- Meaningful comments and indentation in source documentation45Innovation and creativity or any advanced features 20Total 100– End –如有需要,请加QQ:99515681 或邮箱:99515681@qq.com

添加老师微信回复‘’官网 辅导‘’获取专业老师帮助,或点击联系老师1对1在线指导