• Home   /  
  • Archive by category "1"

Prg 420 Week 1 Individual Assignment

Create a program in Java™ that displays “Hello world!”. Either a GUI (graphic user interface) program or non-GUI program is acceptable.

Upon successful execution, you will see the words “Hello World” appears. Take a graphic screen shot that shows the program’s successful compilation and execution. Save the screen shot in a .bmp, .jpg or .gif file.

Because NetBeans produces multiple files for one project, the best method to submit an assignment is to zip the files. There should be one project folder created by NetBeans using your project name. Zip the folder. Submit your NetBeans project zip file along with the screen shot.

Note: No points will be awarded for submitting the program alone.

How to program

import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.WindowConstants; /** * The HelloWorld class implements an application that * display message "Hello World!" on the screen */ public class HelloWorld { public static void main(String[] args) { System.out.println("Hello world!"); } }


This slideshow requires JavaScript.


This assignment includes a zip file.

  • Attachments
    • PRG-420-Week-1-Individual-Assignment.zip (149.30 KB)
      • Netbeans Project
        • HelloWorld
          • build
            • classes
              • .netbeans_automatic_build
              • .netbeans_update_resources
              • HelloWorld.class
          • build.xml
          • manifest.mf
          • nbproject
            • build-impl.xml
            • genfiles.properties
            • private
              • private.properties
              • private.xml
            • project.properties
            • project.xml
          • src
      • PRG-420-Week-1-Individual-Assignment.jpg

    Preview random excerpt

    xxxxxx xxxx.xxx.xxxxxxxxxx;

    xxxxxx xxxx.xxx.xxxxx.xxxxxxxxxxx;

    xxxxxx xxxx.xxx.xxxxx.xxxxxxxxxxxxxx;

    xxxxxx xxxxx.xxxxx.xxxxxxx;

    import

    xxxxx

    .swing.JFrame; import javax.swing.JLabel; import javax.swing.WindowConstants;

    xxxxxx

    class HelloWorld {

    xxxxxx

    static

    xxxx

    main(String[] args) {

    xxxxxx

    .

    xxx

    .println(

    xxxxxx

    world!"); }

    }

    - - - more text follows - - -


Purchasing Instruction
List Price:$3

Buy More Save More
Buy at least TWO items & save up to 30% OFF your ENTIRE order!
Rack up instant rebates in your shopping cart. Simply add items to your cart, and see the savings add up.
Discounts will automatically be applied on eligible orders.

Write a Java™ application using NetBeans™ Integrated Development Environment (IDE) that calculates the total annual compensation of a salesperson. Either a GUI (graphic user interface) program or non-GUI program is acceptable. Consider the following factors:

  • A salesperson will earn a fixed annual salary of $100,000.00.
  • 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 5% of total sales.
  • The total annual compensation is the fixed salary plus the commission earned.

The Java™ application should meet these technical requirements:

Create a NetBeans project and name it XXXIA2. XXX is your last name. It is important to use your last name so that each student’s project name is unique. When your team evaluation the members’ program, the team will know whom the program belong to. Your system can also load in multiple projects without conflicting project names. The number 2 in the file name is the academic week number.

  • 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.

Because NetBeans produces multiple files for one project, the best method to submit an assignment is to zip the files. There should be one project folder created by NetBeans using your project name. Zip the folder. Submit your NetBeans project zip file.



This slideshow requires JavaScript.


This assignment includes a Netbeans project.

  • Attachments
    • PRG-420-Week-2-Individual-Assignment.zip (200.99 KB)
      • Netbeans Project
        • CommissionPart1
          • build
            • classes
              • .netbeans_automatic_build
              • .netbeans_update_resources
              • SalesPerson.class
          • build.xml
          • manifest.mf
          • nbproject
            • build-impl.xml
            • genfiles.properties
            • private
            • project.properties
            • project.xml
          • src
          • test
      • PRG-420-Week-2-Individual-Assignment.jpg

    Preview random excerpt

    xxxxxx xxxx.xxxx.xxxxxxx;

    xxxxxx xxxxx xxxxxxxxxxx {

    xxxxxxx

    static final double FIXED_ANNUAL_SALARY = 100000; //

    x

    xxxxxxxxxxx

    will

    xxxx

    x

    fixed annual salary of $25,000.00.

    xxxxxxx

    xxxxxx

    final

    xxxxxx

    PERCENTAGE = 5; //

    xxx

    current commission is 5%

    xx

    total sales

    xxxxxx

    static void main(String[] args) {

    xxxxxx

    annualSales; //

    xxxxxx

    sales of sales person

    xxxxxxx

    input =

    xxx

    Scanner(System.

    xx

    ); // Enable keyboard input

    xxxxxx

    .out.print("Enter annual sales

    xx

    sales person:

    x

    );

    xxxxxxxxxxx

    =

    xxxxx

    .nextDouble(); //

    xxxxxx

    xxxxxx

    xxxxx

    double commission;

    xxxxxxxxxx

    = PERCENTAGE /

    xxx

    .0 * annualSales; //

    xxxxxxxxxx

    is a percentage

    xx

    the salesperson’s annual sales

    xxxxxx xxxxxxxxxxx;

    xxxxxxxxxxx = xxxxx_xxxxxx_xxxxxx + xxxxxxxxxx; // xxx xxxxx xxxxxx xxxxxxxxxxxx xx xxx xxxxx xxxxxx xxxx xxx xxxxxxxxxx xxxxxx.

    xxxxxx.xxx.xxxxxxx("xxx xxxxx xxxxxx xxxxxxxxxxxx xx: $" + xxxxxxxxxxx);

    - - - more text follows - - -


Purchasing Instruction
List Price:$15

Buy More Save More
Buy at least TWO items & save up to 30% OFF your ENTIRE order!
Rack up instant rebates in your shopping cart. Simply add items to your cart, and see the savings add up.
Discounts will automatically be applied on eligible orders.

One thought on “Prg 420 Week 1 Individual Assignment

Leave a comment

L'indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *