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
How is navigatability shown in binary association (in a UML class diagram)?
26
How is multiplicity shown using binary association in a UML class diagram? How is the role shown?
27
How to shown an xor when binary association in UML class diagram?
28
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
29
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
30
What is shared aggregation in a UML class diagram?
31
What is composition in a UML class diagram?
32
How to generalize in a UML class diagram?
33
What is an abstract class in a UML class diagram?
34
How to inherit from multiple classes in a UML class diagram?
35
What are objects compared to classes?
36
How are objects shown in a UML object diagram?
37
How are links shown in an object diagram?
38
How are binary relationships shown in a UML object diagram?
39
How should you prefer to make classes (deep vs. shallow)?
Deep
40
What should be remembered when creating classes (i.e., on the subject of structuring code)?
41
What is the single responsiblity principle?
42
What is encapsulation? What are its advantages?
43
What are escaping references? How can they be found?
44
What is immutability? What are its advantages and disadvantages?
45
How to ensure that objects are immutable?
46
What is an extended interface?
47
How deep should we copy references?
Until we reach immutable objects.
48
Whare are the different types of complexity?
49
What are guidelines to reduce complexity?
50
What is the notation of a state in a UML state diagram (i.e., the interal activities)?
51
How is a transition notated in a UML state diagram?
52
What is the initial state in a UML state diagram?
53
How to write down the final state and termination in a UML state diagram?
54
What is a decision node in a UML state diagram?
55
What are parralellization nodes and syncranization nodes in a UML state diagram?
56
What is a composite state in a UML state diagram?
57
What is an orthogonal state in a UML state diagram?
58
What is submachine state (SMS)?
59
What is a history state in a UML state diagram?
60
What are entry and exit points in a UML state diagram?
61
What are the design principles of the UML state diagrams?
62
What do the axis of a UML sequence diagram mean?
63
What are interaction partners in a UML sequence diagrams?
64
How are messages sent in a UML sequence diagram? How are they received?
65
What is a trace of a UML sequence diagram?
66
What are the different types of messages in a UML sequence diagram?
67
What are the different types of combined fragments in a UML sequence diagram?
68
What does the alt fragment do (UML sequence diagram)?
69
What does the opt fragment (UMLsequence diagram) do?
70
What does the loop fragment do (UML sequence diagram)?
71
What is the break fragment (UML sequence diagram) do?
72
What does the seq fragment mean (UML sequence diagram)?
73
What does the strict fragment mean (UML sequence diagram)?
74
What does the par fragment mean (UML sequence diagram)?
75
What does the critical fragment mean (UML sequence diagram)?
76
What does the ignore fragment mean (UML sequence diagram)?
77
What does the consider fragment mean (UML sequence diagram)?
78
What does the assert fragment mean (UML sequence diagram)?
79
What does the neg fragment mean (UML sequence diagram)?
80
How to add time constraints (UML sequence diagram)?
81
How to integrate two sequence diagrams with each other? (UML sequence diagram)
82
What is a gate (UML sequence diagram)?
83
What does state invariant mean (UML sequence diagram)?
84
What is the law of dentimeter (UML sequence diagram)?