Computing
CPT111: Java Programming
Semester 1, 2024-25
Coursework 3: Programming Project – A Simple Quiz System
Read carefully — no dispensation will be given for lack of awareness of the rules Assignment type This is a group programming assignment. You are required to work as agroup of 4 to 5 students, which will be allocated randomly.(You should be able to find your groupmembers’ information from
Learning Mall (LM), and should contact the instructors if there is anyproblem.)Total marks available: 100, accounting for 30% of overall module marks.Release date object-oriented programming techniquefor the construction ofprofessional robust, maintainable programs deployed to meet realworld business goals;
(B) Design, write, compile, test, debug and execute object-oriented program using an IntegratedDevelopment Environment (IDE);(C) Effectively develop object-orientedprograms as a member or a leader of a softwaredevelopment team with continuous development strategy supported by AI technology;(D) Implement object-oriented programming to represent, display, and manipulate data whilemitigating security risks;(E) Evaluate legal, social, environmental, ethical, diversity, inclusion, and intellectual propertyissues related to object oriented program development;
) Apply knowledge of engineering management principles, commercial context, project andchange management in object-oriented program.Submission platform Each group is required to submit an electronic copy of your assignmentvia LM.You are allowed ONE submission only. It is your responsibility to upload the correct document. Late submissions Penalties will apply for any work submitted after the due date unless youhave obtained a formal extension prior to the date for submission. The penaltyapplied will be 5% of the available marks for the assignment for each working day or part thereof that the assignment is late. The penaltywill be capped at five working days (120 hours) from the assignmenteadline. Work submitted after five working days will receive a grade ofzero.Continued on next pageCPT111: Java Programming Semester 1, 2024-25Submissionconfirmation
We strongly advise you to double check that you have submitted the
correct document / final version of your answer.
Submission of incorrect file
If you have submitted the incorrect file, you should email the correct fileto the instructors prior to the deadline. Submitting the incorrect file can result in failure. Special consideration Requests for an extension due to illness, misadventure, or otherextenuating circumstances beyond your control will only be considereda a formal application for special consideration through e-Bridge.
Report format ALL answers must be written in English.The report must:
- be submitted as a .doc, .docx (do not submit PDF or Apple Pages)
- contain headings and subheadings
- have 3 cm margins
- use a legible font (e.g., Calibri, Arial or Times New Roman)
- be presented in 11 point font size with 1.5 line spacingbe paginated
Plagiarism and
academic misconduct It is assumed that you are thoroughly familiar with the policies of XJTLUregarding academic misconduct and plagiarism. Ignorance of the rules isnot an acceptable defence against an allegation of academic misconduct.
There are no excuses for engaging in plagiarism. Assignment answerswill be checked for plagiarism. Impermissible similarities between studentanswers (current and former) can be detected by academic integritysoftware and by instructor,and will be referred to the School’s ExaminationOfficer for investigation. Penalties will follow those of the University’sAcademic Integrity Policy on e-Bridge and can ranged from capped marksto expulsions from the university.For use of Generative Artificial Intelligence (AI), see below.Use of Generative
Artificial Intelligence
(AI)
Simple Editing Assistance For this assessment task, you may use standard editing software butnot generative AI. You are permitted to use the full capabilities of thestandard editing software, such as Office suite, Grammarly, andIntegrated Development Environments (IDEs) for coding. If the use ofgenerative AI such as ChatGPT is detected, it will be regarded as seriousacademic misconduct and subject to the penalties mentioned above.
Tips
- Read the questions carefully.
- Write succinctly, and avoid repetition.
- Avoid being overly descriptive.
- Remember to save/back up your work regularly. XJTLU provides all
students free access to XJTLU Box. It may be prudent to save your
work to your XJTLU account so that you can access it from multiple
devices in case you encounter hardware issues.
- You are encouraged to post administrative/procedural questions
about the assignment on the LM Q&A Forum. The instructors willanswer for the benefit of all students.Coursework 3: Programming Project – A Simple Quiz System 2CPT111: Java Programming Semester 1, 2024-25
Coursework 3: Programming Project – A Simple Quiz System The purpose of this assignment is to design and develop an application that can be used to facilitateeducational quizzes, allowing users to select topics of interests, take quizzes related to those topics,and view their quiz scores on a personal dashboard. The primary aim is to create a user-friendlyand interactive platform that enhances the learning experience through topic selection and questionassignment.1 Functional requirements As this is a programming assignment, not a software design one, here is a skeleton to guide you inthe creative part.1.1 At startup
- The program should load data, such as user information, questions, etc., from selected files,and store it in memory (using relevant variables and data structure).– Youmay assume that all user information are stored in a comma-separated values (CSV)file1 , asillustrated in resources user.csv, where the 1st, 2nd, and 3rd columns of therepresent the user id, user name, and password of the user, respectively.
– You can assume that all questions are stored in some XML files, as illustrated in folder:
resources questionsBank. A Java class ReadQuestions has been provided to
you in the src folder demonstrating how the questions can be read from the XML files
into the memory, and the Javadoc of the classes used can be found under the folder
repositories javadoc xjtlu.cpt111.assignment.quiz.Note: You need to add the library:repositories xjtlu cpt111 xjtlu.cpt111.assignment.quiz0.0.1 xjtlu.cpt111.assignment.quiz-0.0.1.jarto the class path (of your IDE) first before running the ReadQuestion class.The program should:
show information about data loaded.– validate the questions read. That is, in our case, a question is valid if it(i) falls into a topic (either new or an existing one)
(ii) has a question statement,
(iii) has more than one answer available for selection, and
(iv) has one-and-only-one answer.– show a menu that present a list of interactions possible.
Besides, you may need to add more questions (under different topics) to the question bankyourself.1CSV file: a text file format that uses commas to separate values,and newlines to separate records.
Coursework 3: Programming Project – A Simple Quiz System 3CPT111: Java Programming Semester 1, 2024-25
1.2 Menu — General behaviour
The application should support, at least, the following functions.
- User registration and authentication
- Topic selection
– The topics available should be based on the input from the questions.
- Quiz taking– You can decide the number of questions in a quiz. However, each quiz should containsquestions at different level of difficulties.– The questions should be shown to the user one-by-one!– The order of answers available for selection should be shuffled every time before aquestion is shown to theuser.
- The score of the quiz should show to the user immediately after the quiz has been finishedand the results should be saved into a score file– You should design the structure (and format) of the score file on your 代写CPT111: Java Programming Computing own, and makesure that you can read its contentback when the program start!
- User dashboard for viewing quiz results of each topic and history of the previous 3 testsattempted.
- Leaderboard for showing the names of the users with the highest score in each topic.
1.3 Technical requirements
The objective of this assignment is for you to program a simple quiz system so it should be interactivein the form of showing text to the user and requesting their answerand data update through userinput as well as reading data from different file types. If you fail to do so, your submission willautomatically attract a penalty of 50%.
1.4 Concept requirements Your code must feature and make use of the following elements.
- All your code must be divided in relevant/meaningful functions and classes.
- Declare/define and use variables with the appropriate data types and meaningful names.
- Input will always be converted into proper data type.
- The program should prevent crash in any situation, thus make sure you test your programproperly.
1.5 Constraints
Dependencies Using libraries or modules that are NOT covered in this course is strictly prohibited and will result in zero (0) marks automatically in this assignment.
Internet connectivity The application is assumed to be run locally on a computer; hence no internetconnection is required.Coursework 3: Programming Project – A Simple Quiz System 4CPT111: Java Programming Semester 1, 2024-25
2 Important reminder
Documentation is also a critically important part of your software engineering. Your use of comment(in Java source file) will be graded.You must write the final version of the program totally on your own. Sophisticated plagiarismdetection system are in operation, and they are pretty good at catching copying! Re-read the policyon the university home page, and note the University’s tougher policythis year regarding cheating.Using libraries or modules that are NOT covered in this course isstrictly prohibited and willresult in zero (0) marks automatically in this assignment.Your programming style (how clearly and how well you speak a programming language, i.e.,Java in this course) is what will be graded. Correct functioning of your program is necessary butnot sufficient; you must use the concepts covered in class and meet all requirements stated in thisassignment and as detailed in the marking rubrics (Section 4).
3 Submission requirements Your assignment has to submit to Learning Mall (LM). You should submit the following:
- A report (written using Microsoft Word) that includes the following items:
- A cover sheet stating the student number of your team members.
- A description of your project
- Information and explanation of how you add, store and handle users’ data (including thedata structure that you used to store users’ data in memory), the algorithm that you usedto identify the user names in the leaderboard, how to handle problems that in thequestions (e.g., questions with more than one correct answers) and other parts of the program,etc.
- Tests performed to verify the correctness of the program.
- Printouts/screen capture of your program’s execution and tests. (This can be incorporatedinto Items 3 and 4 above)
Peer evaluation form (Section A). (This will be used to adjust the final mark of individualstudents according to his/her contributions to the project.)
ALL Java source codes and resource files (e.g., images, questions and users files, etc.) that are to run the application.You should compresses all files into a single “.zip” file before submission. You should NOT includeany files from the repositories folder or any files that are NOT relevant to the application intothe submission file. Failure to follow this requirement will result in mark deduction.Coursework 3: Programming Project – A Simple Quiz System 5CPT111: Java Programming Semester 1, 2024-25
10 to > 8pts 8 to > 5pts 5 to > 0pts 0 ptsCoursework 3: Programming Project – A Simple Quiz System 6CPT111: Java Programming Semester 1, 2024-25A Peer evaluation form contribution for Group Programming Assignment Name Student Id Task(s)
Contribution(%)SignatureCoursework 3: Programming Project – A Simple Quiz System 7
标签:Java,CPT111,Programming,should,will,program,your From: https://www.cnblogs.com/comp9321/p/18543396