Question: 2. Write a Python program superclass that represent the Course class that belong to the student course registration system. Create a UML diagram to represent

 2. Write a Python program superclass that represent the "Course" class

2. Write a Python program superclass that represent the "Course" class that belong to the student course registration system. Create a UML diagram to represent the classes. Based on courses you register for at the university, add at least 3 attributes to your parent class. Types of courses are: a. Full Semester Course ( 3 Credit hours) b. Half Semester Course ( 2 credit hours) c. Lab course ( 1 credit hour). Using python, create the base class (superclass) and subclasses to represent the given problem. Write a separate test module to create the instances of the courses you are registered in this semester. Ensure that you create instances of all sub classes and test their methods by giving the required details and printing the details for each class. Please hardcode the input

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!