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

Projectdecision statementsdirections read carefully and

Project: Decision Statements Directions (Read CAREFULLY and follow COMPLETELY): - Create the following programs in C++ that perform the purpose described and show the sample output (with user input where applicable). - I ...

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

Discussionobject-oriented design please respond to the

Discussion "Object-Oriented Design" Please respond to the following: • Suppose you were required to write a C++ program that captures and stores data about automobiles that a small dealership in your city sells. Consider ...

Assignment a random mazewrite a new c program with the

Assignment (a) Random Maze Write a new C++ program with the following functionality: The program writes a greeting on the screen. Then the program displays a maze of ASCII symbols on the screen. The maze consists of 8 ro ...

Create your own unique while-end repetition structure you

Create your own unique While-End repetition structure. You decide the theme. You should provide both the pseudocode and the flowchart of your example. Be sure to provide an overview of what your repetition structure is d ...

Assignmentbullwrite the code for each lab

Assignment • Write the code for each lab assignment. • Submit the lab in a single zip file in the online course shell. The lab must contain all .cpp files, along with any additional files that may be necessary for your p ...

Assignmentgoals developing problem-solving skills declaring

Assignment Goals: Developing problem-solving skills, declaring variables, multi-way branches, data validation. Problem: Complete Programming Challenge 4.19 in your text book. Do not accept values larger than 10 meters or ...

Programming cc assignmentsyoull need to download this to

Programming C/C++ assignments You'll need to download this To write the program. The programs will be written using the Microsoft Visual C++ Express Edition IDE (Integrated Development Environment), which can be download ...

Write a program that reads numbers from cin and then sums

Write a program that reads numbers from cin and then sums them, stopping when 0 has been entered. Construct three versions of this program, using the while ,do - while , and for loops. Add the following to your program: ...

Transaction processing system tpsxyz electronics is one of

Transaction Processing System (TPS) XYZ Electronics is one of the most popular electronics companies In Sultanate of Oman the company offers affordable electronic gadgets such as mp3 players, portable movie players, mobi ...

  • 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