Questions Flashcards
What is a model? What is an abstraction?

What are the features of a good model?

What is a descriptive model? What are some examples?

What are prescriptive models? What are somem examples?

What is requirements engineering?

What is the design part in the software development process? What is the implementation?

What is the waterfall design process? What are some of its issues, and advantages?
Issues:
- Difficult to quantify progress
- Poor quality (since when you are out of time, you have to cut testing or even development)
- High risk
- No feedback
- No parralellism, everything is blocking
- A single delivery date
Advantages:
- Precise planning and management
- Postpone implementation after understanding objectives
- Good documentation

What is the Agile design process? How does it work in practise?
- Make a list of tasks
- Estimate time
- Set priorities
- Start executing tasks
- Update plan @runtime

What are the advantages and disadvantages of Agile?

What are feature and quality requirements?

What should the features (functional requirements) follow?

What should the quality requirements follow?

What are some categories of quality requirements?

How is a class represented in a UML class diagram? (i.e., what does it consist of?)

How is the access shown of attributes (and operations) of a class (in a UML class diagram)?

How is in a UML class diagram shown that an attribute is derived from another attribute?

How is in a UML diagram the type (of a class) shown, and what are the different types?

How is in a UML class diagram shown that an attribute can have multiple values?

How is in a UML class diagram a default value shown?

What are some properties that can be added to attributes in a UML class diagram?

How is the attribute syntax defined (in a UML class diagram)?

How are parameters defined for operations in a UML class diagram?

How is the operation syntax defined (in a UML class diagram)?

What is a class operation/variable? How can be shown in a UML class diagram that a operation is a class operation?

How is navigatability shown in binary association (in a UML class diagram)?

How is multiplicity shown using binary association in a UML class diagram? How is the role shown?

How to shown an xor when binary association in UML class diagram?

What is n-ary association in a UML class diagram? What does it mean?
Note: all these classes are connected. Thus:
- (Student, Exam) –> (Lecturer)
- One student takes one exam with either one or no lecturer
- (Exam, Lecturer) –> (Student)
- One exam with one lecturer can be taken by any number of students
- (Student, Lecturer) –> (Exam)
- One student can be graded by one lecturer for any number of exams

What is an association class? How is it represented in a UML class diagram?
It is possible for a 1:1 (or 1:n), but then you could just include in the connected class

What is shared aggregation in a UML class diagram?

What is composition in a UML class diagram?

How to generalize in a UML class diagram?

What is an abstract class in a UML class diagram?

How to inherit from multiple classes in a UML class diagram?

What are objects compared to classes?

How are objects shown in a UML object diagram?

How are links shown in an object diagram?

How are binary relationships shown in a UML object diagram?

How should you prefer to make classes (deep vs. shallow)?
Deep
What should be remembered when creating classes (i.e., on the subject of structuring code)?

What is the single responsiblity principle?

What is encapsulation? What are its advantages?

What are escaping references? How can they be found?

What is immutability? What are its advantages and disadvantages?

How to ensure that objects are immutable?

What is an extended interface?

How deep should we copy references?
Until we reach immutable objects.
Whare are the different types of complexity?

What are guidelines to reduce complexity?

What is the notation of a state in a UML state diagram (i.e., the interal activities)?

How is a transition notated in a UML state diagram?

What is the initial state in a UML state diagram?

How to write down the final state and termination in a UML state diagram?

What is a decision node in a UML state diagram?

What are parralellization nodes and syncranization nodes in a UML state diagram?

What is a composite state in a UML state diagram?

What is an orthogonal state in a UML state diagram?

What is submachine state (SMS)?

What is a history state in a UML state diagram?

What are entry and exit points in a UML state diagram?

What are the design principles of the UML state diagrams?

What do the axis of a UML sequence diagram mean?

What are interaction partners in a UML sequence diagrams?

How are messages sent in a UML sequence diagram? How are they received?

What is a trace of a UML sequence diagram?

What are the different types of messages in a UML sequence diagram?

What are the different types of combined fragments in a UML sequence diagram?

What does the alt fragment do (UML sequence diagram)?

What does the opt fragment (UMLsequence diagram) do?

What does the loop fragment do (UML sequence diagram)?

What is the break fragment (UML sequence diagram) do?

What does the seq fragment mean (UML sequence diagram)?

What does the strict fragment mean (UML sequence diagram)?

What does the par fragment mean (UML sequence diagram)?

What does the critical fragment mean (UML sequence diagram)?

What does the ignore fragment mean (UML sequence diagram)?

What does the consider fragment mean (UML sequence diagram)?

What does the assert fragment mean (UML sequence diagram)?

What does the neg fragment mean (UML sequence diagram)?

How to add time constraints (UML sequence diagram)?

How to integrate two sequence diagrams with each other? (UML sequence diagram)

What is a gate (UML sequence diagram)?

What does state invariant mean (UML sequence diagram)?

What is the law of dentimeter (UML sequence diagram)?
