Develop a java console application using netbeans ide

Assignment Help JAVA Programming
Reference no: EM134003680

Object-Oriented Development Practical Assessment

Objectives
This assessment item relates to the unit learning outcomes as stated in the Unit Profile, as follows.

Explain the principles of object-oriented programming and Implement and test object-oriented programs using a modern programming language.

Overview
For this assignment, you are required to develop a Java Console Application (with NetBeans Maven) to demonstrate your understanding of object-oriented fundamentals.

You will need to implement Java classes including instance fields, constructors and methods. You will implement input/output via console, selection, looping statements, and method overriding for your application. You will need to apply ArrayList data structure to hold object instances. A tutorial for the ArrayList topic is provided in Week 5's learning materials to support this assessment.

You also have to prepare a report describing how long it took to create the application, the problems that you encountered, and screenshots of the output produced with each manipulation by the application.

Assignment Specification
Cardiovascular disease is a common health condition that poses a significant threat to human health worldwide. As a result, the medical industry has conducted extensive research to monitor and treat this type of disease.

In this assignment, you are required to develop a Java console application using NetBeans IDE to record and display a patient's risk factors related to cardiovascular disease. The program is based on a simplified model for calculating a patient's cardiovascular disease risk score and assessing their corresponding risk level.

The simplified model assumes that the total risk score can be calculated by summing four key risk factors (represented as variables in programming terms):

Age
Systolic blood pressure
Cholesterol level
Smoking history

Based on the total score, the criteria for assessing risk are defined as follows:

Total score < 10: Low risk
10 ≤ Total score < 20: Medium risk
Total score ≥ 20: High risk

Your Java program should define at least two classes:

Patient
RiskAssessment

A typical Patient record should include the following data attributes:

Full name
Contact phone number
Age
Systolic blood pressure
Cholesterol level
Smoking status (whether the patient is a smoker or not)

The Patient class should include these variables, a constructor, setter/getter methods, provide a method

to calculate the total risk score, and a method to determine the corresponding risk level (low, medium, or high).

The RiskAssessment class should maintain a collection of Patient objects using an ArrayList. The program should allow the user to interact with the system through a set of menu options, enabling the recording, calculation, and display of patient risk information

Design guidelines

In your application, you can use a menu of your choices, and you can create the abovementioned-required objects and store them in a list.
The console menu should consist of five options:
Enter patient details
Search a patient record by phone
View all patient records
Find the patient details with max risk score
9. Exit the application (sentinel)
Each of the above options will take the user to the corresponding function for the cardiovascular disease management system. The following series figures show the manipulation of the above menu options as well as the sample data. For the menu option 1, you can enter the patient data many times as you want.

Class structure
We wish to emphasize that you should have at least two Java classes for the application - a Patient class to create Patient objects, and another class (such as RiskAssessment) that holds patient objects and provides a console menu and function manipulations, as well as the main method. Alternatively, you can use three classes, Patient, RiskAssessment, MyApp (that only contains the main method, where a RiskAssessment object is created and relevant method is called). Placing all code in one class is a poor design, which may lead to deduction of your assignment No AI shortcuts — Get genuine assignment help from experienced, real tutors.

The software design

doesn't adopt the approach with monolithic block code. Instead, it decomposes relevant functionalities into different classes or methods.

You may override the toString() method in the Patient class.
Input data validation
Your program should validate the user's inputs. The validation requirements are:

Age must be an integer between 0 and 116
The systolic blood pressure must be numeric values and cannot be negative
Cholesterol must be a numeric value and cannot be negative

Additional requirements:
Your application should show your name and student ID in the welcome message and an appropriate exit message. Your program should follow good practices, such as using constants, camel notation, proper variable names, indentation, comments, ‘no repeated codes', etc. Make sure you have completed all the requirements by going through the marking criteria before your submission of this assignment.

Reference no: EM134003680

Questions Cloud

What is the correct cpt code and diagnosis code for service : A patient presents to the surgical suite for a planned sterilization procedure. What is the correct CPT code and diagnosis code for the service?
What cpt and icd-ten-cm codes are reported : The patient tolerates the procedure well without complications. What CPT and ICD-10-CM codes are reported?
What will the nurse practitioner recommend : The infant has been breastfeeding well but in the past month has dropped from the 20th percentile to 5th for weight. What will the nurse practitioner recommend?
Comprehensive healthcare and crisis team : Analyzes the implementation of the evidence-based practice in your field agency or practice setting.
Develop a java console application using netbeans ide : COIT20256 Object-Oriented Development Practical Assessment - implement Java classes including instance fields, constructors and methods
What cpt coding is reported : An ultrasound guided cisternal puncture with diagnostic contrast injection is performed at the C2 level for cervical discography. What CPT coding is reported?
Risk management in complex health organizations : You will engage your thoughts and abilities, and you will position yourself as a scholar, a practitioner, and a leader to advance your knowledge and personal
Explain how fiscal planning ties into strategic planning : Explain in detail how fiscal planning ties into strategic planning. Be sure to provide at least two concrete examples.
Different methods of quality measurement : Your PowerPoint presentation must include a detailed summary of two different methods of quality measurement used by a healthcare organization

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd