Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Drive Application Program Filemi med on your last-me and_n For example LASTNAM 22 Juve (make sure to replace LASTNAME with youn) And the clou

image text in transcribed
1. Drive Application Program Filemi med on your last-me and_n For example LASTNAM 22 Juve (make sure to replace LASTNAME with youn) And the clou definition is serve LASTNAME_Studente at the beginning of both files put your student m, location where the digament has been completed, and a brief description about the file as a comment Zip both files to rether and name it Le First Pap and submit a Blackboard THE LASTNAMEYretil Student class - Redon UML odlegram ghen 2 Attributes name, appropriate access modifier and data types (see UML) 3. Constructor - A constructor to initialize LASTNAMEfistinitial Student object's attributes anly with parameters 4. Accesser methode - will retrieve the object's attributes: getNome. BetMajor, checkClassification, and getGPA 5. Mattor methods - will assign the new value to object's attributes (Note that some method may not prefix with set): setName, switch Major, updateClassification and changeGPA 6. calculateGPA will read in 6 numbers, each represent a grade weight (Ex. 3.7 for A., 3.0 for 3, etc.). The first 3 grades are for 3 credit-hour courses, the 4 grade is for 4-credit MAT course the 5 grade is for 2-credit HEA course, and last one for l-credt UNI 101 course. Make sure the spa result in only 2 decimal point. Note that no round up, just round at 2 decimal point 7.toString method that will return a string that is a concatenation of the object's name, major, classification, and spa using TAB as a delimiter between each value (look up in the book index to show how to String method should be defined) The Driver Program - LastnameFirstInit_P2java (XXX is your initials, first-middle-last initials) 8. Create a Driver class that should do the following tasks a. Create all necessary objects and variables with appropriate data types b. Read LASTNAMEfirstInitial_Student information from the keyboard using Scanner class name, major, classification, gpu. Prompt the user appropriately (see sample 1/0) Create a LASTNAMEfirstInitial_Student object, called firstStudent_XXX Pass in appropriate variables 1. Set this student's GPA using the appropriate mutator method 1. Print out the state of this object (all attributes, see sample 10) d. Create a second LASTNAMEfirstInitial Student object, called second Student_XXX Hard code the appropriate parameters using your own information 1. Prompt the user and Read in from the keyboard & grades (see sample 10) it Calculate GPA m. Print the current state of the object iv. Prompt the user and Read in from the keyboard a new major (see sample 10) Switch the major 7. trint out the update state of the object ** Mature 16 ceput screen meana na sed sample Comments should be put throughout the program to explain what is being done or computed: and prostrammaste to readability Source ceva files files class and des application as well screenshots of your output wanited on black bound and date by 11 pm both fiesta Lastminst 12 ip 1. Drive Application Program Filemi med on your last-me and_n For example LASTNAM 22 Juve (make sure to replace LASTNAME with youn) And the clou definition is serve LASTNAME_Studente at the beginning of both files put your student m, location where the digament has been completed, and a brief description about the file as a comment Zip both files to rether and name it Le First Pap and submit a Blackboard THE LASTNAMEYretil Student class - Redon UML odlegram ghen 2 Attributes name, appropriate access modifier and data types (see UML) 3. Constructor - A constructor to initialize LASTNAMEfistinitial Student object's attributes anly with parameters 4. Accesser methode - will retrieve the object's attributes: getNome. BetMajor, checkClassification, and getGPA 5. Mattor methods - will assign the new value to object's attributes (Note that some method may not prefix with set): setName, switch Major, updateClassification and changeGPA 6. calculateGPA will read in 6 numbers, each represent a grade weight (Ex. 3.7 for A., 3.0 for 3, etc.). The first 3 grades are for 3 credit-hour courses, the 4 grade is for 4-credit MAT course the 5 grade is for 2-credit HEA course, and last one for l-credt UNI 101 course. Make sure the spa result in only 2 decimal point. Note that no round up, just round at 2 decimal point 7.toString method that will return a string that is a concatenation of the object's name, major, classification, and spa using TAB as a delimiter between each value (look up in the book index to show how to String method should be defined) The Driver Program - LastnameFirstInit_P2java (XXX is your initials, first-middle-last initials) 8. Create a Driver class that should do the following tasks a. Create all necessary objects and variables with appropriate data types b. Read LASTNAMEfirstInitial_Student information from the keyboard using Scanner class name, major, classification, gpu. Prompt the user appropriately (see sample 1/0) Create a LASTNAMEfirstInitial_Student object, called firstStudent_XXX Pass in appropriate variables 1. Set this student's GPA using the appropriate mutator method 1. Print out the state of this object (all attributes, see sample 10) d. Create a second LASTNAMEfirstInitial Student object, called second Student_XXX Hard code the appropriate parameters using your own information 1. Prompt the user and Read in from the keyboard & grades (see sample 10) it Calculate GPA m. Print the current state of the object iv. Prompt the user and Read in from the keyboard a new major (see sample 10) Switch the major 7. trint out the update state of the object ** Mature 16 ceput screen meana na sed sample Comments should be put throughout the program to explain what is being done or computed: and prostrammaste to readability Source ceva files files class and des application as well screenshots of your output wanited on black bound and date by 11 pm both fiesta Lastminst 12 ip

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Tracking Your Trek Looking Backward To Determine Your Forward

Authors: Erica Pauly

1st Edition

979-8839157330

More Books

Students also viewed these Accounting questions