Skip to main content

Write a java program the

SMB4103-Introduction to Programming Page 1 of 4
SMB4103-Introduction to Programming
Semester 2, 2018
Log/Workbook Assessment
Log/Workbook No. : Log/Workbook-1

Due date: : Week 4
Group/individual : Individual Assignment
Weighting: : 10%

Student ID: ____________________, Student Name: ________________________________
Question one (5 marks)
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
Answer:

SMB4103-Introduction to Programming Page 2 of 4
SMB4103-Introduction to Programming Page 3 of 4
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 / H
2
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
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”.
Answer:

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

SMB4103-Introduction to Programming Page 4 of 4

The post Write a java program the appeared first on My Assignment Tutor.



Logo GET THIS PAPER COMPLETED FOR YOU FROM THE WRITING EXPERTS  CLICK HERE TO ORDER 100% ORIGINAL PAPERS AT PrimeWritersBay.com

Comments

Popular posts from this blog

Identify and discuss a key milestone in the history of computers that interests you and why.

  Part 1Title: Lab ResponseDiscuss one feature of MS Word and one feature of MS Excel that you found challenging within the lab and why. Examples are WordArt, inserting shapes, adding borders, cell styles, etc. This response should be at least one paragraph in length. Part 2Title: History of Computers Identify and discuss a key milestone in the history of computers that interests you and why. This section should be at least one paragraph. Part 3Title: System Software vs. Application Software In your words, explain the difference between application software and system software as if to another coworker who has limited technical knowledge. Use examples to support your rationalization. This section should be at least two paragraphs. Part 4Title: Blockchain and Cryptocurrency In a minimum of one paragraph each: 1. Conduct some research on the internet and discuss one underlying technology of cryptocurrencies like blockchain, cryptography, distributed ledger technol...

Cybersecurity and Infrastructure Security (CISA)

 Develop a research paper that identifies a specific Department of Homeland Security (DHS) operating agency. Fully describe 1 DHS operating agency from the following list: Cybersecurity and Infrastructure Security (CISA) U.S. Customs and Border Protection (CBP) U.S. Citizenship and Immigration Services (USCIS) Federal Emergency Management Agency (FEMA) U.S. Coast Guard (USCG) U.S. Immigration and Customs Enforcement (ICE) U.S. Secret Service (USSS) Transportation Security Administration (TSA) The information must include a discussion of the selected DHS agency. Identify the agency’s mission, goals, objectives, and metrics. Conduct an analysis of how these mission areas address the threats or challenges. Recommend agency program priorities among the current set of goals, objectives, metrics, or budget items. Justification of all choices is an essential element of this assignment. Reference all source material and citations using APA format. WE OFF...

Discuss how the project

ord count : no idea 1. You are required to write a report on all project activities involved in all the 10 knowledge areas of project management for the entire project life cycle. You should also include a list of the respective PM documents, for example PM Plan, PM Quality Management Plan, Risk management, Procurement, etc. The report must include the activities that are considered before the project is closed out. 2. Discuss how the project quality management plan can provide adequate standards and controls in managing global teams in projects. Your discussion must provide adequate arguments for the need of cultural awareness and legal issues. Regards, The post Discuss how the project appeared first on My Assignment Tutor . Assignment status :  Resolved by our Writing Team Source@ PrimeWritersBay.com GET THIS PAPER COMPLETED FOR YOU FROM THE WRITING EXPERTS   CLICK HERE TO ORDER 100% ORIGINAL PAPERS AT PrimeWritersBay.com NO PLAGIARISM