Questions Flashcards

1
Q

What is a model? What is an abstraction?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the features of a good model?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a descriptive model? What are some examples?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are prescriptive models? What are somem examples?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is requirements engineering?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the waterfall design process? What are some of its issues, and advantages?

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the Agile design process? How does it work in practise?

A
  1. Make a list of tasks
  2. Estimate time
  3. Set priorities
  4. Start executing tasks
  5. Update plan @runtime
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the advantages and disadvantages of Agile?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are feature and quality requirements?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What should the features (functional requirements) follow?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What should the quality requirements follow?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are some categories of quality requirements?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

What is n-ary association in a UML class diagram? What does it mean?

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

What is an association class? How is it represented in a UML class diagram?

A

It is possible for a 1:1 (or 1:n), but then you could just include in the connected class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

What is shared aggregation in a UML class diagram?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

What is composition in a UML class diagram?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

How to generalize in a UML class diagram?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

What is an abstract class in a UML class diagram?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

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

A
35
Q

What are objects compared to classes?

A
36
Q

How are objects shown in a UML object diagram?

A
37
Q

How are links shown in an object diagram?

A
38
Q

How are binary relationships shown in a UML object diagram?

A
39
Q

How should you prefer to make classes (deep vs. shallow)?

A

Deep

40
Q

What should be remembered when creating classes (i.e., on the subject of structuring code)?

A
41
Q

What is the single responsiblity principle?

A
42
Q

What is encapsulation? What are its advantages?

A
43
Q

What are escaping references? How can they be found?

A
44
Q

What is immutability? What are its advantages and disadvantages?

A
45
Q

How to ensure that objects are immutable?

A
46
Q

What is an extended interface?

A
47
Q

How deep should we copy references?

A

Until we reach immutable objects.

48
Q

Whare are the different types of complexity?

A
49
Q

What are guidelines to reduce complexity?

A
50
Q

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

A
51
Q

How is a transition notated in a UML state diagram?

A
52
Q

What is the initial state in a UML state diagram?

A
53
Q

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

A
54
Q

What is a decision node in a UML state diagram?

A
55
Q

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

A
56
Q

What is a composite state in a UML state diagram?

A
57
Q

What is an orthogonal state in a UML state diagram?

A
58
Q

What is submachine state (SMS)?

A
59
Q

What is a history state in a UML state diagram?

A
60
Q

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

A
61
Q

What are the design principles of the UML state diagrams?

A
62
Q

What do the axis of a UML sequence diagram mean?

A
63
Q

What are interaction partners in a UML sequence diagrams?

A
64
Q

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

A
65
Q

What is a trace of a UML sequence diagram?

A
66
Q

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

A
67
Q

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

A
68
Q

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

A
69
Q

What does the opt fragment (UMLsequence diagram) do?

A
70
Q

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

A
71
Q

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

A
72
Q

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

A
73
Q

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

A
74
Q

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

A
75
Q

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

A
76
Q

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

A
77
Q

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

A
78
Q

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

A
79
Q

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

A
80
Q

How to add time constraints (UML sequence diagram)?

A
81
Q

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

A
82
Q

What is a gate (UML sequence diagram)?

A
83
Q

What does state invariant mean (UML sequence diagram)?

A
84
Q

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

A