ExamTutorials.com
http://www.examtutorials.com
PRG 420 Week 2
http://www.examtutorials.com/course/prg-420-week-2/
Author :...
Is indentation used correctly to illustrate the structure of the program?
Is there a consistent naming convention?
Do comm...
of 2

Prg 420-week-2

Published on: Mar 4, 2016
Source: www.slideshare.net


Transcripts - Prg 420-week-2

  • 1. ExamTutorials.com http://www.examtutorials.com PRG 420 Week 2 http://www.examtutorials.com/course/prg-420-week-2/ Author : cmin Individual Simple Commission Calculation Program Part 1 Write a Java™ application using NetBeans™ Integrated Development Environment (IDE) that calculates 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 of the 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 (a controlling 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 annual compensation. Supporting Activity 2 Rubric Resource: Excel scoring instrument Write 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? 1 / 2
  • 2. 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 criterion important to a program? Supporting Activity 1 Three Types of Errors Write 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 you have seen before? http://www.examtutorials.com/course/prg-420-week-2/ Powered by TCPDF (www.tcpdf.org) 2 / 2

Related Documents