COMP0004 Coursework Part III
Purpose: To develop an application with a GUI to display data.
Submission: There is a single submission deadline for all the coursework in this module: Noon
22nd March 2019. You can complete this part at anytime before the deadline.
While working on your code, the project files and source code (no compiled code) should be stored
in a GitHub repository, so that you are using version control properly.
Marking: This part of the coursework is worth 25% of the module mark.
This follows on from Part II to create a cloud application, where the desktop GUI is replaced with a
web frontend displayed in a web browser. How to create a basic Java web application will be
explained in the lectures.
Core Questions
Q1. Display a list of patient names on a web page. Clicking on a name should show the data for
that patient. This is effectively a version of the example shown in the lectures, with the information
displayed rather better and not just displaying JSON format text.
This should reuse classes like Model from Coursework Part II, making updates as necessary. For
example, a servlet called showPatientList could be implemented to run on the server and wait for
requests via the /showPatients.html URL. The servlet would use the Model, also on the server, to
get the data, build a webpage showing the patient list, and return the html. Better would be to
provide the servlet to receive the request and get the data, then forward to a JavaServer page to
generate the html webpage.
It is up to you how you display the list of names, but as an additional challenge see if you can find
a reasonable way of displaying the names when you have a large number of patients - a web page
showing a list of 10,000 names is not very user friendly! For example, you may have a basic index
showing the letters A-Z, such that when the user clicks on a letter they see just the names starting
with that letter. Or you might use pagination to display a fixed length page of names, allowing the
user to move forwards and backwards within the full list of names.
Inadequate
(0-39)
Failed to demonstrate a basic understanding of the concepts used in the
coursework, or answer the questions. There are fundamental errors, code will not
compile, or nothing of significance has been achieved. (F)
Just
Adequate
(40-49)
Shows a basic understanding, sufficient to achieve a basic pass, but still has
serious shortcomings. Code may compile but doesn’t work properly. Not all
concepts have been understood or the questions answered correctly.(D)
Competent
(50-59)
Reasonable understanding but with some deficiencies. The code compiles and
runs, the concepts are largely understood. This is the default for a straightforward,
satisfactory answer. (C)
Good
(60-69)
A good understanding, with possibly a few minor issues, but otherwise more than
satisfactory. The code compiles, runs and demonstrates good design practice.
Most expectations have been met. Most questions answered.(B)
Very Good
(70-79)
A very good understanding above the standard expectations, demonstrating a
clear proficiency in programming. All core questions answered.(A)
Excellent
(80-100)
Programming at a level well above expectations, demonstrating expertise in all
aspects. This level is used sparingly only where it is fully justified. Q1-5 answered
very well, significant progress on either Q6 or Q7. (A+, A++)
1 of 2
COMP0004 Part III Coursework
Q2. Implement a basic single keyword search option, allowing the user to input a search keyword
and see a list of results. Get this working for at least the last name of a patient and then include
some of the other data fields a patient has. Display the search results neatly.
Q3. Provide some more complex search functions such as finding all the patients in a given age
range or based on the values of multiple fields in the patient data (e.g., gender AND city). Do this
by providing search forms with multiple input fields.
Q4. Provide a collection of basic analytics functions, for example to find the youngest and oldest
patients, average age, number of patients in each age range and so on, displaying the results on
suitable webpages.
Challenge Questions
Q5. Allow the user to upload a CSV patient data file.
Q6. Store the data in a SQL relational database and use the database to access the data.
因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:99515681@qq.com
微信:codinghelp
原文地址:https://www.cnblogs.com/whltay/p/10548239.html