country
$20 Bonus + 25% OFF
Securing Higher Grades Costing Your Pocket? Book Your Assignment at The Lowest Price Now!
Add File

Error goes here

COIT20245 Introducing To Programming

tag 0 Download1 Pages / 2 Words tag Add in library Click this icon and make it bookmark in your library to refer it later. GOT IT
  • Course Code: COIT20245
  • University: Central Queensland University
  • Country: Australia

Question:

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) from to Very severely underweight 15 Severely underweight 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
 
 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.
Download Sample Now

Earn back the money you have spent on the downloaded sample by uploading a unique assignment/study material/research material you have. After we assess the authenticity of the uploaded content, you will get 100% money back in your wallet within 7 days.

Upload
Unique Document

Document
Under Evaluation

Get Money
into Your Wallet

Total 1 pages, 1 USD Per Page

Cite This Work

To export a reference to this article please select a referencing stye below:

My Assignment Help. (2020). Introducing To Programming. Retrieved from https://myassignmenthelp.com/free-samples/coit20245-introducing-to-programming.

"Introducing To Programming." My Assignment Help, 2020, https://myassignmenthelp.com/free-samples/coit20245-introducing-to-programming.

My Assignment Help (2020) Introducing To Programming [Online]. Available from: https://myassignmenthelp.com/free-samples/coit20245-introducing-to-programming
[Accessed 24 October 2020].

My Assignment Help. 'Introducing To Programming' (My Assignment Help, 2020) <https://myassignmenthelp.com/free-samples/coit20245-introducing-to-programming> accessed 24 October 2020.

My Assignment Help. Introducing To Programming [Internet]. My Assignment Help. 2020 [cited 24 October 2020]. Available from: https://myassignmenthelp.com/free-samples/coit20245-introducing-to-programming.


Selecting a topic on argumentative essay can be confusing at times. There are various factors to consider while choosing argumentative essay topics. You need to consider a topic where you can provide your opinion, discuss other’s point of view, take audience into account, have enough materials to back your statements. Well, MyAssignmenthelp.com takes all these factors into consideration and offers numerous topics for your due argumentative essays. The expert writers even offer detailed guidance on how to write essay outline, and how to start an essay.

Latest Programing Samples

NIT5120 Software Engineer

Download : 0 | Pages : 11
  • Course Code: NIT5120
  • University: Victoria University
  • Country: Australia

Answers:- Task 1 Project planning   1.1 Gantt chart : -                                                             1.2 Trello board       2.Requirements Documentation Borrower maintains their fine list. Fine is always less than $ 25. System automatic calcula...

Read More arrow

7515ENG : Computer System

Download : 0 | Pages : 5
  • Course Code: 7515ENG
  • University: Griffith University
  • Country: Australia

Answer: ENCODING During encoding, the dictionary is generated so as to comprise strings with single character A dictionary is initialized to contain the single-character strings equivalent with probable characters of input. It functions through scanning the strings of input for consecutively substrings that are longer until the one not in the dictionary is found. After finding the string, the string’s index apart from the character that...

Read More arrow

ITECH7410 Software Engineering Methodologies

Download : 0 | Pages : 6
  • Course Code: ITECH7410
  • University: Federation University Australia
  • Country: Australia

Answers:- INTRODUCTION The oral-B Braun toothbrush has very appealing features that are helpful in improved dental hygiene. The toothbrush can be used to clean the sensitive areas in the mouth such as the gums and the tongue as well as brush all the sides of the tooth and floss the inside sections of the teeth so as to floss. There are three main modes which a user can choose from out of the 5 specialized modes namely the daily mode, the deep c...

Read More arrow

G700 : Computer Automated Coding

Download : 0 | Pages : 3
  • Course Code: G700
  • University: The University Of Edinburgh
  • Country: United Kingdom

Answer: Software The main focus point of the software is the use of computer software that generates a set of code which is related to medical aspect which can be reviewed, validated and use which is based on the aspect of clinical documentation which are provided by the heath care practitioners. It can be stated here that the concept which is related to the CAC can be misunderstood as a concept of auto coding (Jones, Beecroft & Patterson...

Read More arrow

ITC508 Object Modelling: Collins ATM

Download : 0 | Pages : 22
  • Course Code: ITC508
  • University: Charles Sturt University
  • Country: Australia

Answers   Case Study   Introduction             The business information system is described as a system that integrates information technology components, people and overall business functions. The business information system helps to bring information technology components and business functions together to establish effective interaction among the components to provide org...

Read More arrow
Next

Save Time & improve Grade

Just share requirement and get customized Solution.

watch
question
We will use e-mail only for:

arrow Communication regarding your orders

arrow To send you invoices, and other billing info

arrow To provide you with information of offers and other benefits

Add File

Error goes here

1,462,727

Orders

4.9/5

Overall Rating

5,096

Experts

Our Amazing Features

delivery

On Time Delivery

Our writers make sure that all orders are submitted, prior to the deadline.

work

Plagiarism Free Work

Using reliable plagiarism detection software, Turnitin.com.We only provide customized 100 percent original papers.

time

24 X 7 Live Help

Feel free to contact our assignment writing services any time via phone, email or live chat. If you are unable to calculate word count online, ask our customer executives.

subject

Services For All Subjects

Our writers can provide you professional writing assistance on any subject at any level.

price

Best Price Guarantee

Our best price guarantee ensures that the features we offer cannot be matched by any of the competitors.

Our Experts

Assignment writing guide
student rating student rating student rating student rating student rating 5/5

1265 Order Completed

97% Response Time

James Cook

Masters in Management

Wellington, New Zealand

Hire Me
Assignment writing guide
student rating student rating student rating student rating student rating 5/5

285 Order Completed

99% Response Time

Eugene Baranowski

MBA in Supply Chain

London, United Kingdom

Hire Me
Assignment writing guide
student rating student rating student rating student rating student rating 5/5

1692 Order Completed

98% Response Time

Alfred Dodd

PhD in Computer and Information Science with specialization in Database

Wellington, New Zealand

Hire Me
Assignment writing guide
student rating student rating student rating student rating student rating 4/5

2594 Order Completed

95% Response Time

Michael Johnson

Masters of MSc in Economics

Washington, United States

Hire Me

FREE Tools

plagiarism

Plagiarism Checker

Get all your documents checked for plagiarism or duplicacy with us.

essay

Essay Typer

Get different kinds of essays typed in minutes with clicks.

edit

GPA Calculator

Calculate your semester grades and cumulative GPa with our GPA Calculator.

referencing

Chemical Equation Balancer

Balance any chemical equation in minutes just by entering the formula.

calculator

Word Counter & Page Calculator

Calculate the number of words and number of pages of all your academic documents.

Refer Just 5 Friends to Earn More than $2000

Check your estimated earning as per your ability

1

1

1

Your Approx Earning

Live Review

Our Mission Client Satisfaction

hank you for being prepared for our meetings, Tom! By coming to each meeting with well-researched and thought-out ideas, you\'re helping us move forward in our process. I look forward to our next meeting.

flag

User Id: 427804 - 24 Oct 2020

Australia

student rating student rating student rating student rating student rating

tremendous graduate writing! Excited for the quick results! Always rely on these experts!

flag

User Id: 453763 - 24 Oct 2020

Australia

student rating student rating student rating student rating student rating

First I would like to thank the second Expert. The work is of a very high standard. I am grateful for that. Second, I do appreciate the first Experts efforts.

flag

User Id: 92806 - 24 Oct 2020

Australia

student rating student rating student rating student rating student rating

very detailed assignment. No grammar mistakes. The author throughly followed APA guidelines.

flag

User Id: 474516 - 23 Oct 2020

Australia

student rating student rating student rating student rating student rating
callback request mobile
Have any Query?