Earn Higher Grades With Instant Assignment Help.Ask Question!

C Programming
(5/5)

new class, “PassFailCourse.java”, should be added to store information related to a Pass/Fail course. This new PassFailCourse should be a subclass of Course and should be stored inside package catalog.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

B.1  Task2: Pass/Fail Courses

A new class, “PassFailCourse.java”, should be added to store information related to a Pass/Fail course. This new PassFailCourse should be a subclass of Course and should be stored inside package catalog. PassFailCourse should contain a passLetter variable assigned either “S” (Satisfactory) or “U” (Unsatisfactory). There is no numerical grade for a Pass/Fail course. A Pass/Fail grade does not count towards your GPA.

The “transcript.txt” file will now include Pass/Fail courses. See example below.

Program output should be similar to Assignment 3 (B.7), but should now include entries for Pass/Fail courses as well. Note that the output for “Total Courses Without Grade” will include both NonGraded and PassFail courses.

B.2  Task3: Print Single Semester

The program should be able to print all courses taken in a specific semester. Multiple same semester courses may be printed in any order. Note that the range of courses in “transcript.txt” is from Spring 2018 to Spring 2020, and may include summers. Also note that course entries in “transcript.txt” will NOT follow any particular order. See example below.

The specific semester is chosen by the user. You should a “Scanner” structure, to allow the user to enter a specific semester, e.g. Fall2018:

If no classes exist for a particular semester, the program should print “No Classes Taken”). Program output for the “Fall2018” semester from the above “transcript.txt” file should be as follows:

B.3  Task4: Print Ordered Semesters

The program should be able to print courses ordered by semester. If several courses are on the same semester, same semester courses may be printed in any order. Note that the range of courses in “transcript.txt” is from Spring 2018 to Spring 2020, and may include summers. Also note that course entries in “transcript.txt” will NOT follow any particular order. See example below.

 

If no classes exist for a particular semester, you do not need to print anything for that semester. Program output for the above “transcript.txt” file should be as follows:

C.1  Software

  • No Compilation Errors

  • No Run-Time Errors

  • No Logic Errors

C.2  Report

  • Include a list of all your “.java” source files in the document.

  • Include all the source code of your “.java” files in the document (you can “CSCy” and “paste” directly from the program).

  • Include a CSCy of your “transcript.txt” file.

  • Include a CSCy of your program output for each

Attachments:
(5/5)

Related Questions

CSI 1420 Introduction to C Programming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two majorconstructs of the C programming language – Fu

The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Ask This Assignment To Be Done By Our ExpertsGet A+ Grade Solution Guaranteed

expert
joyComputer science
(4/5)
12 Answers Hire Me
expert
Robert DLaw
(4.8/5)
856 Answers Hire Me
expert
Dr Samuel BarberaStatistics
(5/5)
855 Answers Hire Me
expert
Tutor For YouEconomics
(5/5)
739 Answers Hire Me