NPTEL Software Engineering Week 8 Assignment Solutions
NPTEL Software Engineering Week 8 Assignment Answers 2023
1. Which one of the following is true of unary association?
a. It is defined between multiple classes
b. It is defined on exactly one object
c. It is defined between multiple obiects of the same class
d. It is defined between multiple obiects of different classes
e. It has a constant arity of 1 exactly
Answer :- For Answer Click Here
2. Which of the following statements regarding relations among classes are FALSE?
a. Composition is a special type of aggregation
b. Aggregation is special type of binary association
C. Binary association is special type of aggregation
d. Binary association is a special type of N-ary association
e. N-ary association is a special type of binary association.
Answer :- For Answer Click Here
3. Which of the following mechanisms are deployed by the state machine formalism to overcome the state explosion problem inherent to the finite state machine formalism?
a. Composite OR states
b. History states
c. Guards on transitions
d. Pseudo initial state
e. Composite AND states
Answer :- For Answer Click Here
4. If a class has 5 state variables, and each of state variable can assume 4 discrete values, what is the maximum number states that an object of the class can assume?
a. 20
b. 80
c. 256
d. 625
e. 1024
Answer :- For Answer Click Here
5. Which one of the following best characterizes a sequence diagram?
a. A call graph illustrating all possible sequences of calls between class method members
b. A typical sequence of calls between object methods on a time-line
c. A time-line illustrating the changes in inheritance and instantiation relationships between classes and objects over time
d. A tree illustrating inheritance relationship between classes
e. Sequence in which an object changes state
Answer :- For Answer Click Here
6. Which of the following UML diagrams should you use when allocating use-case behavior to classes?
a. Sequence and communication diagrams
b. Use-case and activity diagrams
c. Sequence and activity diagrams
d. Class and deployment diagrams
e. State machine and activity diagrams
Answer :- For Answer Click Here
7. Which one of the following can be said of a sequence diagram?
a. It is used to model the behavior of a single object when many use cases are executed
b. It is used to model the behavior of several objects when a single use case is executed
c. It is used to model the behavior of a single object when a single use case is executed
d. It is used to model the behavior of several objects when many use cases are executed
e. It is used to model how state changes occur in a state machine diagram
Answer :- For Answer Click Here
8.
Answer :- For Answer Click Here
9.
Answer :- For Answer Click Here
10.
Answer :- For Answer Click Here
Course Name | Software Engineering |
Category | NPTEL Assignment Answer |
Home | Click Here |
Join Us on Telegram | Click Here |