my main confusion with the assignment is what the purpose of this is
Instructors get a pay-raise every time someone asks that question on a forum. It is like a bonus.
what the outcome should look like
What did the instructions say the output should look like? ... Exactly like that.
From what I understand I'm creating a Superclass called Gates and AND OR NAND NOR will all be subclasses and that I should extend them using keyword.
Sounds like a plan. Does this plan solve the problem while following all of the rules?