1. CIS 406 Week 6 Assignment 1 Financial Portfolio
For more course tutorials visit
www.newtonhelp.com
Assignment 1: Financial Portfolio
Due Week 6 and worth 200 points
This assignment consists of two (2) sections:
A java program file
A screen shot of the output and a description of your Java program
Label each file name according to the section of the assignment for
which it is written. Put both sections together in a single zip file and
submit the zip file.
2. Suppose you are a Java programmer for an investment company.
Your Chief Technology Officer (CTO) has asked you to development
an interactive Java application that will be used by investment
advisors to analyze clients’ bank portfolios. The application must
show the investment advisor the total value of the assets, and the
value of the individual assets (savings account, stocks investments,
and bonds investments).
Section 1: Java Program File
Create a Java program according to the specifications stated below:
Include a composition class called “FinancialPortofolio”
Public attributes for the composition class must include the client’s
first name (string data type), last name (string data type), portfolio
number (integer data type), and total value of the portfolio (double
data type)
The composition class must include a savings account class called
“SavingsAccount” with the following public attributes: an account
number (string), and an account balance (double)
The composition class must include a bonds class called “Bonds”
with the following public attributes: bond name (string), face value
(double), and number of bonds (integer)
3. The composition class must include a stocks class called “Stocks”
with the following public attributes: stock name (string), stock value
(float), and number of shares (integer)
Create setters and getters methods for all the public attributes in each
of the classes
Create objects that prompt the user (investment advisor) to enter all of
the values for each of the classes
The savings account object must add the balance to the portfolio total
value
The bonds object must add the total bonds value (bond value
multiplied by the number of bonds) to the portfolio total value
The stocks object must add the total stocks value (stock value
multiplied by the number of shares) to the total portfolio value
When a user (investment advisor) runs the Java program, it must
prompt the advisor to enter the financial portfolio data, savings
account data, stocks data, and bonds data. The program must compute
the total value of the portfolio for each asset (savings account, stocks,
and bonds).
When all of the data has been entered and the total value of the
portfolio has been calculated, the program must display the results
using the following format as an example:
Portfolio Name: Jane’s Portfolio
Savings account: Blue Bank ($2000.00)
4. Bonds: Derby ($3000.00)
Stocks: IBM ($10000.00)
Portfolio value: $15000.00
Section 2: Screen Shot of the Output and Description of Your Java
Program
Create a screen shot of the interactive session output, and include a
description of your Java program.
Submit a screen shot which shows the output of your Java Program.
Note: Go to http://www.take-a-screenshot.org/ if you need a tutorial
on taking a screen shot.
Include a one (1) page description about your program. Note: Use MS
Word for your program description, and place the screen shot of the
output from your Java program into the Word file as an attached
image.
Section 1 and Section 2 will be graded based on the following:
5. The program must compile, execute, produce correct results, and meet
all of the specifications stated in Section 1.
Additionally you must:
Organize the code for user readability.
Organize the code for reusability.
Organize the code for efficiency.
Provide documentation with embedded comments for reader
understanding.
Include a one (1) page description about your program.
The specific course learning outcomes associated with this
assignment are:
Demonstrate the proper use and application of syntax in the Java
programming language.
Demonstrate the ability to design, compile, implement, test, and
debug simple programs in Java.
Demonstrate the ability to manipulate numbers and character strings
in Java.
Compare and contrast classes and objects in Java.
Construct classes through systematic procedures.
Differentiate between static and non-static methods and variables.
6. Demonstrate the ability to program simple and complex decisions in
Java.
Write clearly and concisely about Java programming using proper
writing mechanics and technical style conventions.
===============================================
CIS 406 Week 8 Case Study: Business Applications of Java
For more course tutorials visit
www.newtonhelp.com
Case Study: Business Applications of Java
Due Week 8 and worth 100 points
Read the article titled, “Business Applications of Java” dated 2014,
located in the online course shell.
7. Write a two to four (2-4) page paper in which you:
Summarize the main points of the article.
Select two (2) features (e.g., class, object, etc.) of the Java
programming language that make it well suited for business
applications. Provide one (1) example of a scenario in which each
feature is used in business to support your response.
Provide one (1) example of a scenario which illustrates that Java
programs that make simple and complex decisions are useful in
business. Justify your response.
Speculate on the overall trend of the application of Java within the
business world over the next five (5) years. Justify your response.
Your assignment must follow these formatting requirements:
Be typed, double spaced, using Times New Roman font (size 12),
with one-inch margins on all sides; citations and references must
follow APA or school-specific format. Check with your professor for
any additional instructions.
Include a cover page containing the title of the assignment, the
student’s name, the professor’s name, the course title, and the date.
The cover page and the reference page are not included in the
required assignment page length.
8. The specific course learning outcomes associated with this
assignment are:
Compare and contrast classes and objects in Java.
Demonstrate the ability to program simple and complex decisions in
Java.
Use technology and information resources to research issues in Java
programming.
Write clearly and concisely about Java programming using proper
writing mechanics and technical style conventions.
===============================================
CIS 406 Week 10 Assignment 2: uGrade
For more course tutorials visit
www.newtonhelp.com
Assignment 2: uGrade
Due Week 10 and worth 200 points
9. This assignment consists of two (2) sections:
A Java program file
A screen shot of the output and a description of your Java program
Label each file name according to the section of the assignment for
which it is written. Put both sections together in a single zip file and
submit the zip file.
Imagine that you work as a Java programmer for a software company.
Your company is developing a new interactive learning management
tool called uGrade. You have the task of creating the functionality
that will allow the user to manually enter names and grades. The
program will store this information in parallel arrays. Next, it will
prompt the user to sort the date by name or by grade and display the
sorted data accordingly in an organized table.
10. Section 1: Java Program File
Create a Java program in which you include:
a class called “roster”
attributes, which must be last names and numerical grades, and must
also be parallel arrays
an indefinite loop, which allows the user to manually enter five (5)
names and grades and stores them in the array. Note: The loop must
end either when the user specifies that they are done or when a
maximum of five (5) values have been stored in the arrays, i.e., five
(5) names and a corresponding grade for each name.
an indefinite loop, which prompts the user to select a sorting criterion
or to end the program, and must also use bubble sort. Note: The user
may either selectname or grade as the sorting criteria. The program
must use bubble sort to sort that data according to the specific criteria
and then use another loop to display the data. This process must
continue until the user ends the program.
Section 2: Screen Shot of the Output and Description of Your Java
Program
Create a screen shot of the output and include a description about
your Java program.
Submit a screen shot which shows the output of your Java Program.
Note: Go to http://www.take-a-screenshot.org/ if you need a tutorial
on taking a screen shot.
11. Include a one (1) page description about your program. Note: Use MS
Word for your program description, and place the screen shot of the
output from your Java program into the Word file as an attached
image.
The output should look like this if the user chose to sort by name:
Name Numerical Grade
Bailey 97
David 88
Ericson 79
Frank 99
Manning 91
12. The output should look like this if the user chose to sort by grade:
Name Numerical Grade
Frank 99
Bailey 97
Manning 91
David 88
Ericson 79
Note: The name and grade pairs must stay together.
Section 1 and Section 2 will be graded based on the following:
13. The program must compile, execute, produce correct results, and meet
all of the specifications stated in Section 1.
Additionally you must:
Organize the code for user readability.
Organize the code for reusability.
Organize the code for efficiency.
Provide documentation with embedded comments for reader
understanding.
Include a one (1) page description about your program.
The specific course learning outcomes associated with this
assignment are:
Demonstrate the proper use and application of syntax in the Java
programming language.
Demonstrate the ability to design, compile, implement, test, and
debug simple programs in Java.
Demonstrate the ability to manipulate numbers and character strings
in Java.
Compare and contrast classes and objects in Java.
Construct classes through systematic procedures.
14. Discuss object-oriented design principles.
Compare and contrast abstract and concrete data types.
Demonstrate the ability to implement generic classes and methods.
Declare and use interface types.
Implement loops for repetitive tasks.
Compare and contrast definite loops and indefinite loops.
Write clearly and concisely about Java programming using proper
writing mechanics and technical style conventions.
Demonstrate the ability to program simple and complex decisions in
Java.
Compare and contrast arrays and array lists in Java.
===============================================