Academic Writing Experts For Your Research Projects

Order custom papers, masters thesis and dissertation in 3 guided steps; human written!

Posted: May 15th, 2022

COIT20245 Assignment 1 Assessment Task

COIT20245
Assignment 1
Assessment Task
You are to write a Java console application that calculates and classifies BMI (Body Mass Index) for individuals. The number of individuals (N) is fixed at 10, so it should be declared as final int N = 10 in your program.
BMI is calculated using the following equation:
BMI = weight / (height*height) where weight is in kilograms and height is in metres.
Wikipedia (https://en.wikipedia.org/wiki/Body_mass_index) defines the following 8 categories for BMI:
Category BMI (kg/m2)
Very severely underweight Severely underweight from
15 to
15
16
Underweight 16 18.5
Normal (healthy weight) 18.5 25
Overweight 25 30
Obese Class I (Moderately obese) 30 35
Obese Class II (Severely obese) 35 40
Obese Class III (Very severely obese) 40
For each person, you are to enter their weight (in kilograms) and height (in metres).The application is to then calculate and display the BMI, together with the corresponding 8 level category. When all data has been entered, a summary report consisting of
1. The lowest BMI
2. The highest BMI
3. The average BMI
4. The number of individuals with normal BMI
5. The number of individuals with higher than normal BMI 6. The number of individuals with lower than normal BMI is displayed.
Normal, low and high BMI values are defined according to the table below:
Category BMI (kg/m2) from to Low 18.5
Normal (healthy weight) 18.5 25
High 25
Below is example output for N = 3
Your welcome message goes here …
Height for person 1 (m): 1.82
Weight for person 1 (kgs): 80
BMI for person 1: 24.2 which is normal (healthy weight) Height for person 2 (m): 1.82
Weight for person 2 (kgs): 100
BMI for person 2: 30.2 which is moderately obese
Height for person 3 (m): 1.82
Weight for person 3 (kgs): 60
BMI for person 3: 18.1 which is underweight
Summary
*******
Lowest BMI : 18.1
Highest BMI : 30.2
Average BMI : 24.2
Number with low BMI: 1
Number with normal BMI: 1
Number with high BMI: 1
Your exit message goes here …
Your application is to follow the same format for input and output as in the example above, but with customised welcome and exit messages.
The application is to use the following classes and methods:
public class BMICalculator {
public BMICalculator() {
// no code required
}
public double value( double weight, double height ) { // return BMI;
}
public String classification8( double bmi ) {
// return the 8 category (Wikipedia) classification for this BMI
}
public String classification3( double bmi ) {
// return the 3 category (high, normal, low) classification for this BMI
}
}
public class Assignment1 {
// no attributes required
public static void main(String[] args) { // local variable declarations go here
// display welcome message
// loop to input an individual’s height and weight and calculate and display BMI, calculate summary values
// generate and display summary
// display exit message
} }
Submission
You are to submit a zipped folder containing
• The two .java files that comprise your application. Alternatively, if you have used NetBeans, this can be replaced with a zipped project folder. Details of how to do this are available in the NetBeans FAQ on the unit website.
• Report.docx. This file contains a test report that includes student name, student ID number, unit name, unit code, a test plan and test results. The test plan is to contain a list of the input values that you have used to test the program, the expected output values and the actual output values generated by your program. The test results are screenshots to show that that the program generates the actual outputs shown in the test plan.
Note that because BMI is calculated as a floating point value, we can’t (in general) test it for equality. What this means in terms of your test plan is that you do not need to test the category end points – all you need to do is to generate one set of inputs (and the corresponding output) per category. In generating these inputs, you may find a BMI calculator, such as https://www.heartfoundation.org.au/your-heart/know-your-risks/healthy-weight/bmi-calculator useful. Note that markers will use their own test data when testing your assignment.
Marking Criteria
Criteria
Marks
Allocated
1 Variables, constants and types
Declaring and using variables and constants /1
2 Objects and classes
Creating/declaring and using objects and classes /1
3 Loops
Using loops and conditions /1
4 If statements
Using if statements and conditions /1
5 Methods
Declaring and using methods /1
6 Inputs and Outputs
Reading input /1
Displaying results /1
7 Overall logic and program
Calculating quantities /4
Spacing and indentation conventions /1
Naming conventions /1
Comments /2
8 Report
Test Plan /2
Test results /3
Sub-Total /20
Penalties
Does not compile: 15 marks
Late submission : 5% (1 mark) / day or part of a day
Total /20
Looking for answers ?
Chat with us at get the answers

Recent Questions
This unit is about PROFESSIONAL AND DICIPLINE IN NURSING:As a narrative Essay I would like to choose No. 2 which is a person centred care (PCC ) discussing how its came to be, importance in terms of Nursing...Assessment BriefProgram Bachelor of BusinessCollege William Blue College of Hospitality Management APM College of Business and CommunicationCode and Subject HRM101 Introduction to HR and LeadershipAssessment...Governance and FraudFirst Assignment - IndividualPERCENTAGE OF FINAL GRADE: 20% (20 marks)WORD LIMITS: 2,000 words (excluding reference list)Description / Requirements:(1) You have been allocated with...BUSINESS ANALYSIS S1 2018 - Assignment 1 instructionsAll tasks relate to the case study. The tasks should be subheadings in your report. Word length: for a task worth 10 marks around 1 page; brevity, clarity...TaskOverviewThis assessment item requires you to produce a short report by investigating and advising a company on some key topics and aspects of the use of virtualisation technologies.Note: answering...Assessment item 2Needs Assessment ReportValue: 30%Due date: 23-Apr-2018Return date: 15-May-2018Length: 2000 words, +/10% excluding items listed below.Submission method optionsAlternative submission methodTaskPrepare...Taxation 2 Assignment T1 2018Question 1 (10 marks)With reference to the UK Australia Double Tax Agreement explain:a) the meaning of the term Permanent Establishment.b) how the business

Tags: research paper writing websites, research paper writing service free, research paper writer online free, online research paper writing help, legit research paper writing services, custom research paper writing service

Why choose Homework Ace Tutors

You Want Quality and That’s What We Deliver

Top Academic Writers

We’ve put together our writing team with care, choosing talented writers who shine in their fields. Each one goes through a tough selection process, where we look for folks with deep expertise in specific subjects and a solid history of academic writing. They bring their own mix of know-how and flair to the table, making sure our content hits the mark—packed with info, easy to read, and perfect for college students like you.

College Prices

We don’t do AI-written essays or copycat work—everything’s original. Competitive pricing is a big deal for us; we keep costs fair while delivering top-notch quality. Our writers are some of the best out there, and we charge rates that stack up well against other services. This means you get stellar content without draining your wallet. Our pricing is straightforward and honest, built to give you real value for your money. That’s why students turn to us for high-quality writing services that won’t break the bank.

100% Plagiarism-Free

Academic integrity is at the heart of what we do. Every paper starts from scratch, with original research and writing tailored just for you. We write 100% authentic—no plagiarism research essays. Our strict quality control process includes scanning every draft with top tools like SafeAssign and Turnitin, so you get a similarity score and proof of originality. We’re obsessive about proper citation and referencing too, crediting every source to keep things legit. It’s all about giving you peace of mind with content that meets the highest standards.

How it works

When you decide to place an order with Dissertation Writer, here is what happens:

Complete the Order Form

You will complete our order form, filling in all of the fields and giving us as much detail as possible.

Assignment of Writer

We analyze your order and match it with a writer who has the unique qualifications to complete it, and he begins from scratch.

Order in Production and Delivered

You and your writer communicate directly during the process, and, once you receive the final draft, you either approve it or ask for revisions.

Giving us Feedback (and other options)

We want to know how your experience went and the marking criteria grade you scored. You can leave a review recommending a writer for your class and course mates.