
ASSIGNMENT 1 – CS6310
KRITHIKA MAYILVAGANAN
DATE: 02/01/2021
1. How does your model track which events have been produced by different
studios?
I used +eventList:list<Events> attributes in the “Studio” class which tracks all the
events that includes both movie and ppv produced by the specific studio.
2. How does your model track which events have been offered by which
streaming services?
I used two attributes in “StreamingService” class which tracks the events such as
Movies and PPV.
+movieOffered: List<Movies>
+ppvOffered: Dictionary<PPV, Money>
Here when the subscrtiption service gets the license from studio for any events,
then the specific event will be added to the service offered by the subscription
service.
3. How does your model track which events have been watched by different
demographic groups?
I used one function in “DemoGraphicGroup” class which tracks the events such as
Movies and PPV watched by each group.
+getWatchedEvents():List<Events> Here data is pulled from the each Account
Class which has attribute (+eventsWatched: list<Events>)to get all the events
watched by the specific account. Demographic group collect the list of events from
all the account and Displays it.