GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

SCC 204 - Basic Object Oriented Design

Ayo Olutobi Englisch 18 Karten

Karten in diesem Stapel (18)

  1. 1What are the three main kinds of diagram?Static diagram
    Dynamic diagram
    Physical diagram
  2. 2What does the static diagram describe?Static diagrams describe the logical structure of software elements by depicting, classes, objects, and data structures and the relationships between them
  3. 3What does dynamic diagrams show?Dynamic diagrams show how software entities change during execution by depicting the flow of execution, or the way entities change state.
  4. 4What does physical diagram show?Physical diagrams show the unchanging physical structure of software entities by depicting physical entities such as source
    files, libraries, binary files, data files their relationships
  5. 5What happens if an interface is realized(implemented by a class)?The class promises to deliver the structure and behaviour of the interface to the rest of the program
    – The class that implements the interface provides a public interface (façade) that conforms to the interface specification
  6. 6In the current version UML, an interface can declare attributes but what it cannot do?In the current version UML, an interface can declare attributes but cannot be instantiated
  7. 7In java, an interface can contain attributes but they must be what?In Java an interface can contain attributes but they must be constants (defined by static and final modifiers)
  8. 8Classes have two kinds of relationships with interfaces? What are they?A class provides an interface if it implements that interface
    – A class requires an interface if it needs that interface in order to work
  9. 9Interfaces are a powerful tool in reducing what?Interfaces are a powerful tool in reducing dependencies
  10. 10Programming with interfaces allows client objects to be unaware of what?• the specific classes of objects they use,
    • and the classes that actually implement these interfaces
  11. 11One of the most important principles of reusable, maintainable, and scalable object-oriented design is what?One of the most important principles of reusable, maintainable, and scalable object-oriented design is:
    ‘Program to an interface, not an implementation’ (Gamma et al. 1995)
  12. 12What are associations by default?Associations are, by default, bidirectional
  13. 13What do bi-directional relationships introduce as opposed to uni-directional?Bidirectional relationships introduce mutual dependencies
    Unidirectional relationships are simpler and reduce dependencies among classes
  14. 14Within a grammatical approach, what are objects and attributes?Object and attributes are nouns
  15. 15Within a grammatical approach, what are operations and services?Operations and services are verbs.
  16. 16If an object is a subclass of another object, what is this relationship known as?Is the object a subclass of another object? Is so the relationship is generalization (i.e. inheritance)
  17. 17If an object is part of another object, this is what is this relationship known as?the relationship is aggregation.
  18. 18—

Informationen

Beschreibung
Karteikarten am SCC 204 - Basic Object Oriented Design, erstellt von Ayo Olutobi am 29/04/2017.
Erstellt von
Ayo Olutobi
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck