SPPU Information Technology (Semester 7)
Software Modeling and Design
December 2015
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


Solve any one question from Q1 and Q2
1 (a) What is an association class? What is a ternary association? Elaborate both with an example.
6 M
1 (b) In the context of state diagram, what are concurrent substates? Elaborate with an example.
4 M

2 (a) Draw a class diagram for the given description with appropriate relationships, relationship names, and multiplicity.
A person owns multiple documents. Each document is composed of paragraphs that are, in turn, composed of characters. The copy operation propagates from document to paragraph to characters. Copying a paragraph copies all the characters in it. The operation does not propagate in reverse direction; a paragraph can be copied without copying the whole document.
6 M
2 (b) In the context of use case diagram, elaborate what is include and extend with the help of an example.
4 M

Solve any one question from Q3 and Q4
3 (a) Construct the activity diagram of the given description using swim lanes. A customer decides to purchase a DVD player. He begins by calling the sales department of the DVD shop. They tell him to talk to customer support. He then calls customer support; they put him on hold while talking to engineering. Finally customer support tells the customer about several DVD player options. The customer chooses a DVD player and makes payment to the accounts department. The DVD player is shipped by the dispatch department. The customer receives the DVD player.
6 M
3 (b) The use case 'Login' accepts userid and password from the user. The system validates them and displays a message 'Log in is successful'. Draw a sequence diagram for this.
4 M

4 (a) Draw state diagram for ATM machine.
ATM machine is idle until an ATM card is inserted. Then it becomes active. Within being in the active state, it validates the card( validating) first. After card validation, it can process a transaction like (transaction processing) a withdrawal or deposit cash or a view balance or print receipt. After the processing is complete, card is ejected and it goes to idle state.
6 M
4 (b) State the steps to construct the domain state model.
4 M

Solve any one question from Q5 and Q6
5 (a) Elaborate how a software designer organizes a system into a subsystem.
8 M
5 (b) Describe batch transformation and continuous transformation.
8 M

6 (a) In the context of reuse in system design elaborate 'libraries' and 'pattern'.
8 M
6 (b) In the context of system design elaborate management of data storage.
8 M

Solve any one question from Q7 and Q8
7 (a) Define a design pattern. What is the basis on which the design patterns are classified? Name the types of design pattern with one example of each type.
8 M
7 (b) For the description given below, draw the class diagram and identify the roles for a state design pattern. Mention the roles identified for each class and its relevant behaviour in the class diagram.
When a book has isbn number, price, title and one or more authors. When it is bought in the library it gets 'purchased' state, when it is added to a catalogue it goes to 'catalogued' state. When the cataloguing is complete it goes to 'Available on stack' state. When it is borrowed by a member it goes to 'borrowed' state. When it is returned by a member it goes to 'available on stack' state.
8 M

8 (a) Write complete documentation of adapter design pattern.
8 M
8 (b) For the description given below, draw the class diagram and identify the roles for a strategy design pattern. Mention the roles identified for each class and its relevant behaviour in the class diagram.
Grand health club offers a scheme for membership of the health club. The options available for registering are 'yoga' and 'aerobics'. The monthly charges for aerobics membership are 2000.00. The monthly charges for yoga membership are 1000.00. The members can avail a single option out of the two options. If a person books for three months, he gets 20% discount. If he books for six months, he gets 25 percent discount. If he books for nine months, he gets 35% discount. If he books for one year, he gets 50% discount.
8 M

Solve any one question from Q9 and Q10
9 (a) Define the following terms :
i) fault
ii) failure
iii) software validation
iv) software verification
v) white box testing
vi) black box testing
8 M
9 (b) Elaborate the V model of testing in detail.
10 M

10 (a) What is testing driven development approach of development? Elaborate.
8 M
10 (b) A strong password for a system is defined as,
It should be of at least 8 characters
It should not contain space character
It should contain at least 1 special character
It should contain at least 1 digit
It should contain at least 1 capital letter
Write 5 test cases to check that system accepts correct password & rejects incorrect (one which do not follow above rules) password.
10 M



More question papers from Software Modeling and Design
SPONSORED ADVERTISEMENTS