Ask Question, Ask an Expert


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++

Intro to programming in c programming assignmentassignment

Intro to Programming in C Programming Assignment Assignment purpose: User defined functions, pointers, Menu driven program A Company needs to create software for their new line of phone applications. Customers will have ...

Practice with pointers and dynamic memory

Practice with pointers and dynamic memory allocation Problem: Write a C++ program that will implement and test the four functions described below that use pointers and dynamic memory allocation. The Functions: You will w ...

Intro to programming in c assignmentsince this is the last

Intro to Programming in C Assignment Since this is the last assignment, there will be no late submission. All programs must be electronically submitted by 5:00pm on Tuesday, December 2nd with NO EXCEPTIONS in order to re ...

Assignmentinstructionsthis assignment is to implement your

Assignment Instructions This assignment is to implement your own mini-grocery store in C++. Suppose you have the following Food hierarchy: FOOD FRUIT APPLE BANANA GRAPE DAIRY MILK YOGURT CHEESE (your choice) (three items ...

Discussionwhile loops versus for loops please respond to

Discussion "While Loops versus For Loops" Please respond to the following: • Suppose you are writing a C++ program that plays a commercial video continuously within a kiosk at your favorite shopping mall within your home ...

A compiler that translates a high-level language into

A compiler that translates a high-level language into another high-level language is called a source-to-source translator. What advantages are there to using C as a target language for a compiler?

C-programmingcreate a c program that sorts a sequence of

C-Programming Create a C program that sorts a sequence of positive numbers using the bubble sort algorithm in an increasing or decreasing order based on the user's choice. The pseudo code for the bubble sort algorithm is ...

Computer scienceyou have gathered your information on the

Computer Science You have gathered your information on the AI for the Tic-Tac-Toe game and began to develop your own ways to improve it using C++. Now, it's time to present your findings in a final paper. Remember that y ...

Bankers algorithmimplement the bankers algorithm for

Banker's Algorithm Implement the Banker's algorithm for deadlock avoidance, that works on a given set of N processes and M resource types (N The input data and result is then displayed on the screen. You may use your pro ...

Modules in c are called functions c programs are typically

Modules in C are called functions. C programs are typically written by combining user created functions as well as "pre-packaged" functions found in the C Standard Library. For instance, printf() is a function that is fo ...

  • 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

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen