Introduction to programming-log-workbook assessment

Assignment Help Business Management
Reference no: EM132071372

Introduction to Programming

Log/Workbook Assessment

Question one

Write a java program the accept four student's marks: Quiz(Q) test, Mid-Semester (MS), Applied Project (AP) and Final test (FT). The student should enter the marks using keyboard. The weight for each assessment is shown in Table (1) as follows:

Assessment

Weight

Quiz

10%

Mid-Semester Test

20%

Applied Project

40%

Final Test

30%

Table 1: Assessment Overview

The final make can be calculated as:

Final Mark (FM)=0.1*(Q)+0.2*(MS)+0.4*(AP)+0.3*(FT)

The program should calculate final marks and display the letter grade that is assigned for the final mark. Use the grading scheme in Table 2.

Final Mark (FM)

Letter Grade

90-100

A

80-89

B

70-79

C

60-69

D

Below 60

F

Table 2: Grading Scheme

Question two (5 marks)

A Community health centre wants to use Body Mass Index (BMI) to find the ideal body preparation for the centre's clients. You have recently hired to develop a Java application to calculate the BMI. In this application, the client has to enter first name, last name, weight, height and gender using keyboard. Your application must use the following equation to calculate the BMI:

BMI= W / H2

Where, W is the weight in kilograms and H is the height in meter. The BMI estimates whether the client is underweight, acceptable weight, overweight, obese, or morbidly obese according to the following table

Result

BMI (Female)

BMI (Male)

Underweight

Less than 19

Less than 20

Acceptable

Greater than or equal to 19 and less than 25

Greater than or equal to 20 and less than 25

Overweight

Greater than or equal to 25 and less than 30

Greater than or equal to 25 and less than 30

Obese

Greater than or equal to 30 and less than 40

Greater than or equal to 30 and less than 40

Morbidly Obese

Greater than or equal to 40

Greater than or equal to 40

Table 3: The BMI result

For example, if a male client weight is 80 Kg and height is 1.6 meter. The BMI is about 31.25 and the result is "Obese".

Reference no: EM132071372

Questions Cloud

What is the implication of moore law for managers : Sometimes this law is stated that the performance of a computer doubles every 18 months. Although not strictly true, this version gives the gist of the idea.
Identify life cycle assessment on services : Identify life cycle assessment on services within a healthcare organization.
Create positioning statements for your top 2 segments : What criteria should Ontela PicDeck B use to provide risk-adjusted recommendations on segments potential wireless providers should target?
Example of how each would impact the payroll department : Choose three of the following changes that may be negotiated in a collective agreement and provide an example of how each would impact the payroll department.
Introduction to programming-log-workbook assessment : Write a java program the accept four student's marks: Quiz(Q) test, Mid-Semester (MS), Applied Project (AP) and Final test (FT).
How would these changes affect ri : Now assume that rRF remains at 3% but rM increases to 12%. The slope of the SML does not remain constant. How would these changes affect ri?
Primary discussion response-peer responses : Within the Discussion Board area, write 400-600 words that respond to the following questions with your thoughts, ideas, and comments.
Calculate the net proceeds to renee''s from the sale of debt : How many bonds will Renee's Boutique need to sell in order to receive the $58.10 million it needs?
What is the companys cost of equity : Reliable Electric is a regulated public utility, and it is expected to provide steady dividend growth of 6% per year for the indefinite future.

Reviews

Write a Review

Business Management Questions & Answers

  Caselet on michael porter’s value chain management

The assignment in management is a two part assignment dealing 1.Theory of function of management. 2. Operations and Controlling.

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. Due to increase in the preference for light beer drinkers, Chris Prangel wants to introduce light beer version in Mountain Man. An analysis into the la..

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. An analysis into the launch of Mountain Man Light over the present Mountain Man Lager.

  Analysis of the case using the doing ethics technique

Analysis of the case using the Doing Ethics Technique (DET). Analysis of the ethical issue(s) from the perspective of an ICT professional, using the ACS Code of  Conduct and properly relating clauses from the ACS Code of Conduct to the ethical issue.

  Affiliations and partnerships

Affiliations and partnerships are frequently used to reach a larger local audience? Which options stand to avail for the Hotel manager and what problems do these pose.

  Innovation-friendly regulations

What influence (if any) can organizations exercise to encourage ‘innovation-friendly' regulations?

  Effect of regional and corporate cultural issues

Present your findings as a group powerpoint with an audio file. In addition individually write up your own conclusions as to the effects of regional cultural issues on the corporate organisational culture of this multinational company as it conducts ..

  Structure of business plan

This assignment shows a structure of business plan. The task is to write a business plane about a Diet Shop.

  Identify the purposes of different types of organisations

Identify the purposes of different types of organisations.

  Entrepreneur case study for analysis

Entrepreneur Case Study for Analysis. Analyze Robin Wolaner's suitability to be an entrepreneur

  Forecasting and business analysis

This problem requires you to apply your cross-sectional analysis skills to a real cross-sectional data set with the goal of answering a specific research question.

  Educational instructional leadership

Prepare a major handout on the key principles of instructional leadership

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