PRG420 Assignments Brand New Tutorials

10
Use Coupon Code: SpringFlowers for 10% Off Entire Cart! Coupon Code Expires: April 30, 2015 PRG/420 Week 1 Individual Assignment Create a program in Java that displays Hello world! Submit your assignment using the Programming Assignment Sheet (see course materials folder for template). No Design Section is required for this assignment.

description

PRG/420 PRG420 PRG 420PRG/420 Week 1Individual AssignmentCreate a program in Java that displays Hello world!Submit your assignment using the Programming Assignment Sheet (see course materials folder for template).No Design Section is required for this assignment. Copy and Paste your code into the Source Programs section and a screen shot of the results in the Output section. Describe how you tested the application in the testing section.Remember that your program must follow the coding conventions found in the Java Coding Conventions document. WEEK 1 DQ#1 ThreadJava is a portable language, and being an object-oriented programming language, it also encourages component reusability. How does Java achieve these two important features? How are these features desirable in modern software engineering? WEEK 1 DQ#2 ThreadYou are a bank manager and you are helping a new bank teller understand the kind of accounts the bank offers. If a customer comes in asking to open a new savings account, the teller needs to ask what kind of account— passbook savings or certificate of deposit —the customer would like to open. Remind the customer that all accounts with our bank are insured by the FDIC. You should explain that all accounts earn some interest; a savings account’s interest is compounded monthly. You should assign a unique account number after accepting the customer’s initial deposit. If the customer chooses to receive statements electronically, the system will send an e-mail with a monthly statement; if the customer chooses not to, then a paper statement will be sent by mail quarterly. If savings account is a class, give an example of each of the following as it relates to that savings account. Explain your reasoning behind your example. SuperclassSubclassAttributeMethodInstance (object)Encapsulation Add to CartPRG/420 Week 2Simple Commission Calculation Program Part 1TUTORIAL NOTES FOR RUNNING CODE:Are you using Netbeans? Please confirm that JavaDB server is running. You can check this by going to the Services tab-> Databases -> Java DB -> Right click -> Start server 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 $51,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 13% 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.Submit your assignment using the Programming Assignment Sheet.Remember to include a UML Class Diagram and some information regarding the design of your program. Copy and Paste your code text into the Source Programs section and a screen shot of the results in the Output section. Describe how you tested the application in the testing section.Remember that your program must follow the coding conventions found in the Java Coding Conventions document. Learning Team - Week 2 MemoRead the program requirements discussed in the Learning Team section in Week 1. From this determine the details and specifications for the client database.Submit your team's interpretation of the specifications for the learning team project using the Memo Template. WEEK 2 DQ #1 ThreadWhat 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 e

Transcript of PRG420 Assignments Brand New Tutorials

  • Use Coupon Code: SpringFlowers for 10% Off Entire Cart! Coupon Code Expires: April 30, 2015

    PRG/420 Week 1

    Individual Assignment

    Create a program in Java that displays Hello world! Submit your assignment using the Programming Assignment Sheet (see course materials folder for template).

    No Design Section is required for this assignment.

    http://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttps://www.e-junkie.com/ecom/gb.php?c=cart&i=1411555&cl=286758&ejc=2

  • Copy and Paste your code into the Source Programs section and a screen shot of the results in the Output section.

    Describe how you tested the application in the testing section. Remember that your program must follow the coding conventions found in the Java Coding Conventions document.

    WEEK 1 DQ#1 Thread

    Java is a portable language, and being an object-oriented programming language, it also encourages component reusability. How does Java achieve these two important features? How are these features desirable in modern software engineering?

    WEEK 1 DQ#2 Thread

    You are a bank manager and you are helping a new bank teller understand the kind of accounts the bank offers. If a customer comes in asking to open a new savings account, the teller needs to ask what kind of account passbook savings or certificate of deposit the customer would like to open. Remind the customer that all accounts with our bank are insured by the FDIC. You should explain that all accounts earn some interest; a savings accounts interest is compounded monthly. You should assign a unique account number after accepting the customers initial deposit. If the customer chooses to receive statements electronically, the system will send an e-mail with a monthly statement; if the customer chooses not to, then a paper statement will be sent by mail quarterly.

    If savings account is a class, give an example of each of the following as it relates to that savings account. Explain your reasoning behind your example.

    Superclass Subclass Attribute Method Instance (object) Encapsulation

    http://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.html

  • PRG/420 Week 2

    Simple Commission Calculation Program Part 1 TUTORIAL NOTES FOR RUNNING CODE: Are you using Netbeans? Please confirm that JavaDB server is running. You can check this by going to the Services tab-> Databases -> Java DB -> Right click -> Start server

    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 $51,000. A salesperson will also receive a commission as a sales incentive. Commission is a

    percentage of the salespersons annual sales. The current commission is 13% 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 applications 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. Submit your assignment using the Programming Assignment Sheet.

    Remember to include a UML Class Diagram and some information regarding the design of your program.

    Copy and Paste your code text into the Source Programs section and a screen shot of the results in the Output section.

    Describe how you tested the application in the testing section. Remember that your program must follow the coding conventions found in the Java Coding Conventions document.

    Learning Team - Week 2 Memo

    http://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttps://www.e-junkie.com/ecom/gb.php?c=cart&i=1411556&cl=286758&ejc=2

  • Read the program requirements discussed in the Learning Team section in Week 1. From this determine the details and specifications for the client database.

    Submit your team's interpretation of the specifications for the learning team project using the Memo Template.

    WEEK 2 DQ #1 Thread

    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?

    WEEK 2 DQ #2 Thread

    A class is a blueprint for an object. A class may have a default constructor, a constructor with arguments, accessor methods, mutator methods, public fields, and private fields. Choose a category (such as animal, vehicle, and so on) and describe how you would design a class for it.

    PRG/420 Week 3

    Simple Commission Calculation Program Part 2 TUTORIAL NOTES FOR RUNNING CODE: Are you using netbeans? Please confirm that JavaDB server is running. You can check this by going to the Services tab-> Databases -> Java DB -> Right click -> Start server

    Modify the Week Two Java application using Java NetBeans IDE to meet these additional and changed business requirements:

    The company has recently changed its total annual compensation policy to improve sales.

    http://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttps://www.e-junkie.com/ecom/gb.php?c=cart&i=1411558&cl=286758&ejc=2

  • A salesperson will continue to earn a fixed salary of $51,000. The current sales target for every salesperson is $120,000

    The sales incentive will only start when 80% of the sales target is met. The current commission is 13% of total sales.

    If a salesperson exceeds the sales target, the commission will increase based on an acceleration factor. The acceleration factor is 1.25.

    The application should ask the user to enter annual sales, and it should display the total annual compensation.

    The application should also display a table of potential total annual compensation that the salesperson could have earned, in $5000 increments above the salespersons annual sales, until it reaches 50% above the salespersons annual sales.

    Sample Table: Assuming a total annual sales of $100,000, the table would look like this:

    Total Sales Total Compensation

    100,000

    105,000

    110,000

    115,000

    120,000

    125,000

    130,000

    135,000

    140,000

    145,000

    150,000

    The Java application should also meet these technical requirements:

    The application should have at least one class, in addition to the applications controlling class.

  • The source code must demonstrate the use of conditional and looping structures.

    There should be proper documentation in the source code.

    Submit your assignment using the Programming Assignment Sheet

    Remember to include a UML Class Diagram and some information regarding the design of your program.

    Copy and Paste your code text into the Source Programs section and a screen shot of the results in the Output section.

    Describe how you tested the application in the testing section.

    Remember that your program must follow the coding conventions found in the Java Coding Conventions document.

    Learning Team - Week 3 Memo with UML Diagram

    Includes Microsoft Visio file - Fully Editable! Design your program. Submit an official team design that includes a couple of paragraphs describing the design, a section that explains why you chose this design, and a UML Class diagram. Include all of these items in a Memo Template.

    WEEK 3 DQ #1 Thread

    Our focus this week is loops. Select and complete one of the following activities:

    Convert the following program from for loop to while loop.

    class ArithmeticProgression { public static void main (String [] args) { int sum = 0;

    while (int I != -1) { sum = sum + i;

    http://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.html

  • System.out.println(Integer.toString(sum)); } } }

    WEEK 3 DQ #2 Thread

    Consider the following conditions

    CONDITION 1: while ( !(cChoice == 'Q' || cChoice == 'q') ) CONDITION 2: while ( cChoice != 'Q' || cChoice != 'q' )

    Do Conditions 1 and 2 give the same result? What tool or technique would you use to explain the result?

    PRG/420 Week 4

    Simple Commission Calculation Program Part 3

    Java/Netbeans Database Program = Working Program!

    A+++ Work! TUTORIAL NOTES FOR RUNNING CODE: Are you using netbeans? Please confirm that JavaDB server is running. You can check this by going to the Services tab-> Databases -> Java DB -> Right click -> Start server

    http://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttps://www.e-junkie.com/ecom/gb.php?c=cart&i=1411560&cl=286758&ejc=2

  • Modify the Week Three Java application using Java NetBeans IDE to meet these additional and changed business requirements:

    The application will now compare the total annual compensation of at least two salespersons.

    It will calculate the additional amount of sales that each salesperson must achieve to match or exceed the higher of the two earners.

    The application should ask for the name of each salesperson being compared.

    The Java application should also meet these technical requirements:

    The application should have at least one class, in addition to the applications controlling class.

    The source code must demonstrate the use of Array or ArrayList. There should be proper documentation in the source code.

    Submit your assignment using the Programming Assignment Sheet.

    Remember to include a UML Class Diagram and some information regarding the design of your program.

    Copy and Paste your code text into the Source Programs section and a screen shot of the results in the Output section.

    Describe how you tested the application in the testing section.

    Remember that your program must follow the coding conventions found in the Java Coding Conventions document.

    Learning Team - Week 4 Memo Review your design to ensure that all of the customer requirements are met. Begin to develop a team program following the design.

    Submit a team status using the Memo Template.

    WEEK 4 DQ #1 Thread

    What is the difference between arrays and ArrayList? What are the advantages and disadvantages of an ArrayList, and when should you use an ArrayList over a simple array?

    WEEK 4 DQ #2 Thread

    What is the difference between string and StringBuilder? What are the advantages and disadvantages of a StringBuilder, and when should you use a StringBuilder over a simple String?

    http://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.html

  • PRG/420 - Week 5

    Team Final Project Java Database Program = Working Program! A+++ Work! Includes: JAVA/NETBEANS PROGRAM THAT WORKS plus Programming Assignment Sheet, Documentation, and UML Diagram with MS Visio file for editting = A+++ Work!

    TUTORIAL NOTES FOR RUNNING CODE: Are you using netbeans? Please confirm that JavaDB server is running. You can check this by going to the Services tab-> Databases -> Java DB -> Right click -> Start server

    A customer has come to your team and has requested a simple application that will allow the customer to store client names, addresses, and telephone numbers. Your team is tasked with building this "database" application. Here are some of the requirements:

    In this simple example, the application can programmatically enter data (within the program itself rather than using keyed input).

    A constant can be used to set the maximum number of records. The database must check to ensure that telephone numbers are numbers and output a

    message if they aren't The database must be able to retrieve client information and display it on the screen for a

    specific telephone number match. The program must be well commented and documented using javadoc. The program must conform to the Java Code Conventions

    The program must be well labeled, well documented, fully tested, cannot crash, and meet the above customer requirements.

    http://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttp://uop-tutorials.info/prg420.htmlhttps://www.e-junkie.com/ecom/gb.php?c=cart&i=1411561&cl=286758&ejc=2

  • Submit a Team Programming Assignment Sheet that includes your design, programs, outputs, testing, etc. This should include most of what you have published in your prior team assignments as well as your programs and output screenshots. Include team testing and all other information in the template. Use the Programming Assignment Sheet Template.

    WEEK 5 DQ #1 Thread

    In your opinion, what are the three biggest challenges in planning and designing a solution for a programming problem? What can you do to overcome these challenges? How would you apply these techniques to the programs in this class?

    WEEK 5 DQ #2 Thread

    Using an example from your work or daily life, describe an is-a relationship.

    Modify the Week Two Java application using Java NetBeans IDE to meet these additional and changed business requirements:Java Database Program = Working Program! A+++ Work!