C1S355 Lab 2 – GPA Calculation and Currency Conversion Programs- Guaranteed 100% score

Lab Price = $20
Please feel free to send us your queries at: support@iqrajavaid.com
Payment Methods

Add to Cart

Buy Now

View Cart


Problem Statement
CIS355A
Week 2 ILab .
iLab 2 of 7: Classes, Objects, and Methods (40 points)
In this lab, you will create two programs that use classes and methods.

Deliverables
Program files for the following program
1.StudentGPAInfo
2.CurrencyConversion
At the beginning of all your programs, put a comment box that includes the program name, your name, and a brief description of the program.
Example:
/***********************************************************************
Program Name: ProgramName.java
Programmer’s Name: Student Name
Program Description: Describe here what this program will do
***********************************************************************/
How to submit your assignment:
1.The programs must have the same names as the assignment title.
2.Each Java source file (*.java) must include a corresponding class file (*.class) program as evidence of success.
3.In addition to the program source code files and byte code files, put all your program source code files and screen shots of your program output files into a Word document.
4.You must use a zipped folder to send your weekly assignment to the Dropbox. Do not send subfolders within your zipped folder. Place all of the .java and .class files for the week into the one zipped folder. The zip folder should be named CIS355A_YourLastName_iLab_Week2, and this zip folder will contain all the weekly programming assignments.

Step 1: StudentGPAInfo (20 points)
Create a class called StudentGPAInfo.java that contains one double-precision instance variables named gpa. It should also contain two integer instance variables named totalgradepoints and numberofclasses. Finally, there should be one instance variable named studentname of string type. The class should include a constructor that initializes the name, numberof classes, and totalgradepoints variables, as well as a default constructor. Also, you need an instance method named calculateGPA() that calculates the student’s grade point average by using this formula: totalgradepoints divided by numberofclasses. Also, you need an instance method. Create one set method that will assign values to the studentname, totalgradepoints, and numberofclasses variables. Create a displayStudent method that will display all of the attributes of the StudentGPAInfo object. Display the GPA with an accuracy of two decimal places (i.e., 3.25).

Write a class called GPATest.java. Create one StudentGPAInfo object named student1 using constructor that allows you to pass values to the object. Pass any values you would like to use. Create another StudentGPAInfo object named student2 using the default constructor. Using the set method, assign values to the student2 object. Next, use the calculateGPA() methods on both objects, then invoke the displayStudent() method on each of the objects.
Grading Rubric
StudentGPAInfo Points Description
Standard header included 1 Must contain program’s name, student name, and description of the program
Program compiles 2 Program does not have any error
Program executes 2 Program runs without any error
Created StudentGPAInfo class 3 Program contains the StudentGPAInfo class
Constructor created that initializes variables 2 A constructor method exists in the StudentGPAInfo
Contains all other methods 2 Set, calculateGPA, and display methods
GPATest class, which drives the application, is created 4 A driver class with the main method
Correct output is displayed 4 Program displays the name, total points, total classes, and GPA for both objects
Subtotal 20

STEP 2: CurrencyConversion (20 points
You must create a program named CurrencyConversion.java that converts money between the following currencies.
Given one of the three currencies, the program should convert the input amount into one of the other currencies. For example, if you input one (1) U.S. dollar, and you decide to convert that one dollar to a pound, then the output should be .60.
Using the JOptionPane GUI, do the following.
Prompt the user for the currency code type.

Prompt the user for the currency code that the entered amount must be converted to.

Using the table above, the following formula was used to convert USD to JPY.

10.00 * 103.73 = 1,037.30

Display the results in a JOptionPane message box.

CurrencyConversion Points Description
Standard header included 1 Must contain program’s name, student name, and description of the program
Program compiles 1 Program does not have any error
Program executes 2 Program runs without any error
Use JOptionPane 8 Use JOptionPane for input and output
Compute conversion 8 Uses logic and correct formula to compute results
Subtotal 20

Relevant Material
Screenshots
Instructions
* If you want to purchase multiple products then click on “Buy Now” button which will give you ADD TO CART option.Please note that the payment is done through PayPal.
* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at support@iqrajavaid.com.
* As soon as the payment is received, download link of the solution will automatically be sent to the address used in selected payment method.
* Please check your junk mails as the download link email might go there and please be patient for the download link email. Sometimes, due to server congestion, you may receive download link with a delay.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at support@iqrajavaid.com and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.
* In case of any query, please donot hesitate to contact us at support@iqrajavaid.com.
* MOST IMPORTANT Please use the tutorials as a guide and they need NOT to be used for any submission. Just take help from the material.
******************************************** Good Luck ***************************************************
Payment Details

 

Lab Price = $20
Please feel free to send us your queries at: support@iqrajavaid.com
Payment Methods

Add to Cart

Buy Now

View Cart

Privacy Policy
We take your privacy seriously and will take all measures to protect your personal information.
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
Refund Policy
Incase you face any issues with the tutorial, please free to contact us on support@iqrajavaid.com
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.


Leave a Reply