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 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
Get step-by-step solutions from verified subject matter experts
