首页 > 编程语言 >CPT111: Java Programming Computing

CPT111: Java Programming Computing

时间:2024-11-13 18:57:50浏览次数:1  
标签:Java CPT111 Programming should will program your

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 takingYou 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 fileYou 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:

  1. A report (written using Microsoft Word) that includes the following items:
  2. A cover sheet stating the student number of your team members.
  3. A description of your project
  4. 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.
  1. Tests performed to verify the correctness of the program.
  2. 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

相关文章

  • COMP2011J - Object Oriented Programming
    Beijing-DublinInternationalCollegeCOMP2011J-ObjectOrientedProgrammingIndividualAssignment:DefenderAssignmentDetailsDuedate:6thofDecember2024Language:SolutionmustbecompletedinJavaGameDescriptionDefenderisaclassicarcadega......
  • Java毕业设计----基于Java的情感分析毕业设计
    目录引言设计目标项目结构具体实践总结 Python版本引言情感分析(SentimentAnalysis)是自然语言处理(NLP)中的一个重要应用,它通过对文本内容的情感倾向进行分类,帮助机器理解文本的情感状态。情感分析通常分为两类:情感极性分析(例如,判断文本是正面、负面还是中立)和情感强......
  • 【最新原创毕设】面向课堂教学的智能课堂点名系统+09531(免费领源码)可做计算机毕业设计
    摘要本文旨在设计和实现一个基于智能课堂点名系统的智能助手。随着高校招生规模的不断扩大和信息化技术的发展,为教师提供一款便捷、全面的点名系统具有重要意义。本系统通过整合校园各项服务资源和功能,旨在帮助教师和学生更好地适应智能课堂,提供全方位的指导和支持。本文......
  • (2024最新毕设合集)基于SpringBoot的广州糖水甜品店推荐系统-28495|可做计算机毕业设计J
    摘要随着人们生活水平的提高和饮食习惯的多样化,甜品在日常生活中扮演着越来越重要的角色。特别是在中国南方地区,甜品店和糖水店已经成为人们经常光顾的地方,而广州作为美食之都,拥有众多具有独特风味的糖水甜品店。然而,由于市场竞争激烈,消费者往往面临选择困难,需要花费大量时间......
  • 深入解析Java中的向上转型与向下转型:接口究竟能否包含方法实现?
    目录一、什么是向上转型和向下转型?二、接口中能包含方法实现吗?三、总结在Java编程中,“向上转型”和“向下转型”是与继承相关的重要概念,许多初学者在理解这些概念时常常感到困惑。同时,Java中的接口是面向对象编程的重要组成部分,关于接口能否包含方法实现的问题,在不同的Jav......
  • Selenium打开本地谷歌浏览器测试(java版)
      其实这个主要的要点是将本地谷歌浏览器作为一个远程客户端。代码其实没多少。1、修改本地谷歌浏览器配置方式有2种。1、命令行修改。需要注意要在安装的目录运行 大致结构是chrome.exe--remote-debugging-port=9222--user-data-dir="C:\selenium\Chrom......
  • 【Java】自定义注解的使用
    什么是注解java中的,注解分为两种,元注解和自定义注解,类似于公理和定理的关系。我们常用一些注解:@Autowired、@Override等都是自定义注解。在JAVA中如何实现自定义注解?@interface关键字我们想定义一个自己的注解需要使用@interface来定义。//元注解@Target(ElementType.ME......
  • Java学习之定时任务框架Quartz
    Quartz的核心类有以下三部分:Job:需要实现的任务类,实现execute()方法,执行后完成任务。Trigger:包括SimpleTrigger和CronTrigger。Scheduler:任务调度器,负责基于Trigger触发器,来执行Job任务。简单示例1.pom配置 2.创建JobpublicclassEplJobimplementsJob{......
  • Java基础(二)
    注释,标识符→关键字单行//,多行/**/,文档/***/数据类型(强类型语言:需要严格符合规定,变量先定义后使用。弱类型语言)Java两大数据类型(基本类型,引用类型)int简单记为正负21亿,浮点数在具体数值后加F进行判断string定义字符串,属于类进制识别:二进制0b,十进制,八进制0,十六进制0xflo......
  • Java方法-方法的定义和调用
    方法的定义和调用方法的定义Java的方法类似于其它语言的函数,是一段用来完成特定功能的代码片段,一般情况下,定义一个方法包含以下语法:方法包含一个方法头和一个方法体。下面是一个方法的所有组成部分:修饰符:修饰符,这是可选的,告诉编译器如何调用该方法。定义了该方法的访问类型......