Some True/False questions are not visible. Usually teachers hides their visibility if they are few in number. Subject Expert recommends them to have more than 70+ questions against the topic and make them public.
1
Pre-conditions is the most critical part in operation contract. FalseView Answer
2
Using attributes, Javadoc tags, or pre-compilers pre-conditions and post conditions can be provided in Java and C#. TrueView Answer
3
In Inception phase of UP, Contracts are not motivated since they are too detailed. TrueView Answer
4
If developers easily understand what to do without operation contracts, then operation contracts can be skipped TrueView Answer
5
Operation contracts are useful in situations where the details and complexity of required state changes are awkward or too detailed to capture in use cases. TrueView Answer
6
In iterative and evolutionary methods, all analysis and design artifacts are considered partial and imperfect, and evolve in response to new discoveries. TrueView Answer
7
UML operation specification can not show an algorithm or solution, but only the state changes or effects of the operation TrueView Answer
8
Write operation contracts in a declarative, present tense form. FalseView Answer
9
Write operation contracts in a declarative, passive past tense form. TrueView Answer
10
One common mistake in operation contract is "Forgetting to include the forming of associations when new instances are created". TrueView Answer
11
If object X establish a relationship with another object Y in a post condition of the operation contract then it will belong to "Association formed or broken" category. TrueView Answer
12
If object X establish a relationship with another object Y in a post condition of the operation contract then it will belong to "Attribute change State" category. FalseView Answer
13
Post conditions are observations about the domain model objects that are true when the operation has finished after the smoke has cleared. TrueView Answer
14
Post conditions are NOT actions to be performed during the operation of an operation contract TrueView Answer
15
The post condition section of operation contract state changes include instances created, associations formed or broken, and attributes changed. TrueView Answer
16
A single operation contract CANNOT have more than one operation contract. TrueView Answer
17
A single system operation of SSD can have more than one operation contracts. FalseView Answer
18
Operation contracts are defined against the system operations which were identified in system sequence diagrams. TrueView Answer
19
Noteworthy assumptions about the state of the system or objects is recorded in pre-condition section of operation contract. TrueView Answer
20
Noteworthy assumptions about the state of the system or objects is recorded in post condition section of operation contract. FalseView Answer
21
In Operation Contract artifact the "Cross References" section describes the name and parameters of the system operation. FalseView Answer