Your program should include three classes: Course, TermTranscript, and HW2_yourld classes. Course class: should contain necessary instance variables and methods of a course and at least these methods: getGradePoint(): gives a grade point of a course using table 1. getCreditEarned(): gives number of earned credits if student have one of the grades from table 1; otherwise it is zero. getCreditAttempted(): gives number of attempted credits in a course. TermTranscript class: should contain student information, previous semesters information and all courses information. The class should contain any necessary methods, and at least the following: getSemesterGPA() method: calculate a semester GPA. getCGPA() method: calculate cumulative GPA (CGPA). semesterCreditEarned() method: gives credit earned in a semester. semesterCreditAttempted() method: gives credit attempted in a semester. generateReport() method: creates an output file with name “ID_semesterRep.txt" and displays the report as shown in the sample outputs. HW2_yourld class: is a tester class that prompts users to enter an input file name, reads student data and creates TermTranscript object and calls generateReport() method to create an output file with student report. Sample input/output files 1 |data 12344.t- Notepad File Edit Format View Hetp student Name: Abdul AlRahman Al oufi Student ID: 12344/19 college: science Credits Attenpted: 15 Credits Earned: 15 Grade Points: 41.2 Course Code COP1007, COP2202, MATH2108, HATHO40, STAT2101, Course Title Amazing Applications of AI, Fund. of object oriented Prog., , calculus (2), Discrete Math. for Comp. sci., Introduction to statistics, Credit Grade C- C- 4, Ln. Col 100% Windows (CR UT Figure 1 Input file 1 12344 semstertep.tt - Notepad File Edit Format View Help : 12344/19 I Abdul AlRahman Al oufi Name college : science COURSE NO COURSE TITLE CREDITS GRADE Amazing Applications of AI Fund. of object oriented Prog.3 calculus (2) Discrete Math. for Comp. sci. Introduction to statistics COMP1007 COMP2202 MATH2108 MATH3340 C- STAT2101 CREDITS: TOTAL.ATTEMPTED 30 EARNED 15 ATTEMPTED 15 SEM GPA 2.23 CUM GPA 2.49 Ln 1, Col1 100% Unix F) UT- Figure 2 Output file 1
Your program should include three classes: Course, TermTranscript, and HW2_yourld classes. Course class: should contain necessary instance variables and methods of a course and at least these methods: getGradePoint(): gives a grade point of a course using table 1. getCreditEarned(): gives number of earned credits if student have one of the grades from table 1; otherwise it is zero. getCreditAttempted(): gives number of attempted credits in a course. TermTranscript class: should contain student information, previous semesters information and all courses information. The class should contain any necessary methods, and at least the following: getSemesterGPA() method: calculate a semester GPA. getCGPA() method: calculate cumulative GPA (CGPA). semesterCreditEarned() method: gives credit earned in a semester. semesterCreditAttempted() method: gives credit attempted in a semester. generateReport() method: creates an output file with name “ID_semesterRep.txt" and displays the report as shown in the sample outputs. HW2_yourld class: is a tester class that prompts users to enter an input file name, reads student data and creates TermTranscript object and calls generateReport() method to create an output file with student report. Sample input/output files 1 |data 12344.t- Notepad File Edit Format View Hetp student Name: Abdul AlRahman Al oufi Student ID: 12344/19 college: science Credits Attenpted: 15 Credits Earned: 15 Grade Points: 41.2 Course Code COP1007, COP2202, MATH2108, HATHO40, STAT2101, Course Title Amazing Applications of AI, Fund. of object oriented Prog., , calculus (2), Discrete Math. for Comp. sci., Introduction to statistics, Credit Grade C- C- 4, Ln. Col 100% Windows (CR UT Figure 1 Input file 1 12344 semstertep.tt - Notepad File Edit Format View Help : 12344/19 I Abdul AlRahman Al oufi Name college : science COURSE NO COURSE TITLE CREDITS GRADE Amazing Applications of AI Fund. of object oriented Prog.3 calculus (2) Discrete Math. for Comp. sci. Introduction to statistics COMP1007 COMP2202 MATH2108 MATH3340 C- STAT2101 CREDITS: TOTAL.ATTEMPTED 30 EARNED 15 ATTEMPTED 15 SEM GPA 2.23 CUM GPA 2.49 Ln 1, Col1 100% Unix F) UT- Figure 2 Output file 1
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
USE JAVA LANGUAGE
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY