Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask C/C++ Expert


Home >> C/C++

problem 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?

problem 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.

prepare 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.

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

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.

problem 4)a) Taking ex 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? describe with an ex

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

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 ex.

problem 6)a) Why are modes discouraged while designing a user interface object? describe 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.

C/C++, Programming

  • Category:- C/C++
  • Reference No.:- M96491

Have any Question? 


Related Questions in C/C++

Assignment simple 5-card poker gamein this assignment you

Assignment: Simple 5-Card Poker Game In this assignment, you will develop a simple poker game, complete with basic AI, using the object oriented programming principles discussed in class. Flow of Play Your poker game's p ...

Programming assignment- in this assignment you are

Programming Assignment- In this assignment you are requested to write a C++ program that displays the following colored pyramid on the screen: - The pyramid is 71 characters wide and 21 characters high. - To draw it, you ...

Pa 1 word countertabulating basic document statistics is an

PA #1: Word Counter Tabulating basic document statistics is an interesting exercise that leverages your knowledge of strings, files, loops, and arrays. In this homework, you must write a C++ program that asks the user fo ...

Write an application that allows the user to enter two

Write an application that allows the user to enter two variables: number (real) and code (character). Calculate the value indicated by the table below: If code is Result A symbol the whole part of the number everything e ...

1 write a program to find the sum amp average of the given

1) Write a program to find the sum & average of the given numbers using the while loop. 2) Write a program in C to find the sum and average of the given numbers stored in an array of n values.

Programwriteacprogramthatwillasktheuserforthenameofaninputfi

Program Write a C++ program that will: Ask the user for the name of an input file. Read in this name and open that text file for input. Ask the user which of two options they want to do: Read in student data Count lines ...

This program involves using stl listsfor this program you

This program involves using STL lists. For this program you will implement three functions whose prototypes are given below: list ::iterator mxIter(list ::iterator first, list ::iterator last); void selectSort(list & aLi ...

1 requirementsin this assignment you can unleash your

1. REQUIREMENTS In this assignment, you can unleash your imaginations and use OpenGL with C/C++ programming to produce a scene(s) that represents what you envision could possibly be seen under the sea. Please note that a ...

For this program you will add and test 2 new member

For this program you will add and test 2 new member functions to the IntSLList class posted on the website. The two member functions are: insertByPosn(int el, intpos) Assuming that the positions of elements of a list beg ...

Here are two examplesifcounter7continueifcounter7break1

Here are two examples: if(counter==7) continue; if(counter==7) break; 1. Write a for loop that counts only the odd numbers out of the first five numbers entered from the keyboard, but does not count (skips) the number 7. ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate