Prg 420 week 2 assignments
Published on: Mar 4, 2016
Transcripts - Prg 420 week 2 assignments
PRG 420 Week 2 AssignmentsClick this link to get the tutorial:http://homeworkfox.com/tutorials/general-questions/2656/prg-420-week-2/Individual Simple Commission Calculation Program Part 1Write a Java™ application using NetBeans™ Integrated Development Environment (IDE) thatcalculates the total annual compensation of a salesperson. Consider the following factors:A salesperson will earn a fixed salary of 55,000.A salesperson will also receive a commission as a sales incentive. Commission is a percentage ofthe salesperson’s annual sales. The current commission is 15% of total sales.The total annual compensation is the fixed salary plus the commission earned.The Java™ application should meet these technical requirements:The application should have at least one class, in addition to the application’s controlling class (acontrolling class is where the main function resides).There should be proper documentation in the source code.The application should ask the user to enter annual sales, and it should display the total annualcompensation.Supporting Activity 2 RubricResource: Excel scoring instrumentWrite a 200- to 300-word short-answer response to the following:The scoring instrument has a section on style. These are the four criteria for style:Do identifiers logically describe use?Is indentation used correctly to illustrate the structure of the program?Is there a consistent naming convention?Do comments explain processing that is not obvious?
Give an example or counterexample that demonstrates each criterion. Why is each criterionimportant to a program?Supporting Activity 1 Three Types of ErrorsWrite a 200- to 300-word short-answer response to the following:What are the three types of errors that you can encounter in a Java™ program? Describe them,and explain how you would minimize the errors. What are some examples of errors that youhave seen before?