Differentiating syntactic and semantic dependency


Question 1)a) Considering classes as modules, state what you mean by dependency between two modules, say A and B. How is dependency related to coupling?

b) Distinguish between syntactic and semantic dependency.

c) What are the advantages of drawing CRC cards while developing a design?

Question 2)a) What is a parameterized class? Give UML syntax for applying a parameterized class to an argument.

b) Comment on the role of use cases in performing the following tasks.

i) Validating system design

ii) Deriving system tests

c) Develop a sequence diagram which depicts the following scenario.

i) An actor named “user” sends a message named “m1” to an object P.

ii) P creates a new object Q

iii) Q sends a message named “m2”to an object R.

iv) After receiving the response from R, Q returns.

v) P destroys the object Q.

Write the corresponding code in Java to implement this scenario. Use stereotypes <> and <> as message labels in the sequence diagram while creating and destroying the object.

Question 3)a) Under what circumstances could you have guards in a state diagram? Illustrate with an example.

b) A university has a records system to store and retrieve information about its faculty and students. Typically records are added and viewed. A faculty has a name, employee code, designation and department while students have a name, roll number, course name and department. The faculty in a University is designated as either a lecturer, reader or a professor. They all teach students but in addition a lecturer makes timetable for faculty and students a reader does research a professor does research as well as administration

i) State the guidelines for identifying use cases

ii) State the guidelines for identifying actors

iii) By applying these guidelines, develop a use case model for the University system described above.

Question 4)a) Taking example of University system described above, describe the following unnecessary associations

i) Implementation association

ii) Ternary association

iii) Directed association

b) What is interaction coupling? Which is the most desirable form of interaction coupling? Explain with an example

Question 5)a) How is the association between classes supported in the object oriented design process? Give an example.

b) List the activities employed in creating access layer classes for the business classes. Assume that the access layer classes need to store only the persistent attributes

c) Illustrate the mapping procedure of tables to inherited classes with an example.

Question 6)a) Why are modes discouraged while designing a user interface object? Explain three modes that can be used in the design of the user interface objects.

b) What do you understand by pattern catalog? Give a pattern catalog for Facade design pattern.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Differentiating syntactic and semantic dependency
Reference No:- TGS06491

Expected delivery within 24 Hours