Skip to main content
Version: 26sp

Review for Quiz 3

Properties

It is recommended to review these topics:

  • @property and *.setter decorators
  • Accessing attributes named using _ or __

Abstract methods

It is recommended to review these topics:

  • What @abstractmethod does
  • Rules for when you can instantiate a class

Inheritance

It is recommended to review these topics:

  • What is inherited by subclasses (methods and attributes that aren't named with two underscores)
  • Overwriting inherited methods
  • Calling a superclass's method or constructor

UML diagrams

It is recommended to review these topics:

  • The three parts of the UML diagram for a single class (name, attributes, methods)
  • How to depict an abstract class
  • How to depict an abstract method
  • How to depict methods / attributes that are intended to be publicly accessed versus not publicly accessed
  • How to use arrows depict the relationships between classes

Privacy

It is recommended to review these topics:

  • Answering the five main questions:
    • What type of information is shared?
    • Who is the subject of the information?
    • Who is the sender of the information?
    • Who are the potential recipients of the information?
    • What principles govern the collection and transmission of this information?
  • Determining the right balance of tradeoffs for these five questions