{"id":124348,"date":"2018-02-20T23:50:30","date_gmt":"2018-02-20T23:50:30","guid":{"rendered":"https:\/\/writemyessayfree.com\/portfolio-1-is-the-completion-of-unit"},"modified":"2017-08-16T05:57:49","modified_gmt":"2017-08-16T05:57:49","slug":"portfolio-1-is-the-completion-of-unit","status":"publish","type":"post","link":"https:\/\/www.benedictsol.com\/blogs\/portfolio-1-is-the-completion-of-unit\/","title":{"rendered":"Portfolio 1 is the completion of Unit"},"content":{"rendered":"<div class=\"the_content_wrapper\">\n<p>Portfolio 1 is the completion of Unit 2: Methods, Classes, and Objects.<\/p>\n<p>During LiveLessons, we discussed: (Please review the livelessons and other information for assistance on this portfolio)<br \/> 1. Using mulitiple methods in programming to keep code redundancy down<br \/> 2. The benefits of creating Utility Classes like the Math Class<br \/> 3. The benefits of creating Object Classes to hold Object information<br \/> 4. How creating and using Object and Utility Classes can simplify Executable Classes<br \/> 5. The differences in Executable, Utility, and Object classes<\/p>\n<p>In this portfolio, you will need to create 3 different classes. You will be required to submit all three classes in your MS Word Document. If you need to do so, you could also submit three separate MS Word Documents to me.<\/p>\n<p>Class 1: Utility Class \u2013 GradeCheck<br \/> The GradeCheck utility class will be created to help calculate and figure out different grading information.<\/p>\n<p>Methods Required:<br \/> 1. calcLetterGrade \u2013 This method will take an overall percentage grade and then use it to calculate the Letter Grade. It will return a character variable that will hold the letter grade of the student involved. This method will involve a lot of If Statements or a big Switch\/Case Statement.<br \/> 2. avg2Scores \u2013 This method will take two scores and then send back the average of the two numbers.<br \/> 3. avg3Scores \u2013 This method will take three scores and then send back the average of the three numbers.<br \/> 4. tutorCheck \u2013 This will check the average score and return Boolean true if tutoring is needed and false if it is not.<\/p>\n<p>Class 2: Object Class \u2013 TheStudent<br \/> TheStudent class is an object class we will use to create a TheStudent object that will hold lots of information about each student that is created.<\/p>\n<p>Methods Required:<br \/> 1. TheStudent\u2013 add an additional constructor method that will accept the student\u2019s last name, first name, middle name, and student ID when a new object is created. Students ID\u2019s are a 8 digit integer.<br \/> 2. setStuID \u2013 this method will be used to set the students ID number.<br \/> 3. getStuID \u2013 This method will get the students ID number from the object to be used in the program.<br \/> 4. setFullName \u2013 This method will set the last and first name of the student.<br \/> 5. getFName \u2013 This method will get the first name of the student.<br \/> 6. getLName \u2013 This method will get the last name of the student.<br \/> 7. getMName\u2013 This method will get the middle name of the student.<br \/> 8. getFullName \u2013 This method will get the first, middle, and last name of the student.<br \/> 9. setClass1 \u2013 This method will set the student\u2019s class he\/she will be taking.<br \/> 10. getClass1 \u2013 This method will get the title of the class he\/she is taking.<br \/> 11. setGradePercent\u2013 This method will set the % grade of the student.<br \/> 12. getGradePercent\u2013 This method will get the % grade of the student.<br \/> 13. setLetterGrade\u2013 This method will set the letter grade of the student.<br \/> 14. getLetterGrade\u2013 This method will get the letter grade of the student.<br \/> Class 3: Executable Class \u2013 J2Portfolio1<br \/> In the J2Portfolio1 executable class, you will be creating 2 new student objects.<br \/> Student1 Requirements:<br \/> 1. Use the default constructor to create the new student, student1<br \/> 2. Set the student\u2019s first, middle, and last name to Sally Sue Johnson<br \/> 3. Set her ID to 11223344<br \/> 4. Set her class1 to \u201cJava Programming I\u201d<br \/> 5. Get two scores from the user for the class work<br \/> 6. Use the avg2Scores to get the average of the two scores and at the same time setGradePercent for student1<br \/> 7. Run the calcLetterGrade with the average score collected and at the same time setLetterGrade for student1<br \/> 8. Output all student information in a visually appealing manner<br \/> 9. Run the tutorCheck and use the getGradePercent for student1 to see if the student needs tutoring<\/p>\n<p>Student2 Requirements:<br \/> 1. Use the modified constructor to create the new student, student2 (use John Simon Simpson for the name and an ID number of 66778899)<br \/> 2. Set his class1 to \u201cAlgebra 2\u201d<br \/> 3. Get three scores from the user for the class work<br \/> 4. Use the avg3Scores to get the average of the three scores and at the same time setGradePercent for student2<br \/> 5. Run the calcLetterGrade with the average score collected and at the same time setLetterGrade for student2<br \/> 6. Output all student information in a visually appealing manner<br \/> 7. Run the tutorCheck and use the getGradePercent for student2 to see if the student needs tutoring. The Boolean answer that returns will be in an If statement that will output the following if it is true: \u201c&lt;Student\u2019s Full Name&gt;, your average grade is less than a 70%. You need tutoring in &lt;students class name&gt;.\u201d<br \/> Last Step:<br \/> Add a loop to the program that will run it over again and again as long as the user enters \u201cYes\u201d to the question: \u201cDo you want to run this program again?\u201d For a bonus point, see if you can do it and ignore the case so that the user can type No however he\/she would like. For example: No, NO, no, or nO.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Portfolio 1 is the completion of Unit 2: Methods, Classes, and Objects. During LiveLessons, we discussed: (Please review the livelessons and other information for assistance on this portfolio) 1. Using mulitiple methods in programming to keep code redundancy down 2. <a href=\"https:\/\/www.benedictsol.com\/blogs\/portfolio-1-is-the-completion-of-unit\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-124348","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/124348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/comments?post=124348"}],"version-history":[{"count":0,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/124348\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/media?parent=124348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/categories?post=124348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/tags?post=124348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}