Question: I have a C + + assignment, i need to create a movies and series platform. It should include . h and . cpp files,

I have a C++ assignment, i need to create a movies and series platform. It should include .h and .cpp files, and topics such as:
Inheritance and Polymorphism
1.1. OOP Design
1.2. Concept of Inheritance
1.3. Access Modifiers
1.4. Method Overloading and Overriding
1.5. Concept of Polymorphism
1.6. Abstract Classes and Interfaces
Operator Overloading
2.1. Introduction to Overloading
2.2. Allowed Operators
2.3. Operator Overloading within a Class
Exception Handling
3.1. Predefined Exceptions
3.2. Using Exceptions
We want to work with two types of videos: movies and series. Every video has an ID, a name, a duration, and a genre (drama, action, mystery).
Series have episodes, and each episode has a title and the season to which it belongs.
We are interested in knowing the average rating that each of the videos has received. This rating is on a scale of 1 to 5, where 5 is the best rating.
The system should be capable of:
Displaying videos in general with their ratings
Displaying the episodes of a specific series with their ratings
Displaying movies with their ratings
What would be the class diagram that represents the described situation?
How would you use Object-Oriented Programming concepts such as inheritance, polymorphism, and operator overloading to build the class system that would facilitate the solution to the problem?
Could you build an application that takes information about the different types of videos and generates reports such as: movies of a certain genre, series of a certain genre, movies with their ratings?

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!