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

Discussion questionsplease respond to all of the following

Discussion Questions Please respond to all of the following prompts: • What is a friend function and how is it declared? • Which operators cannot be overloaded and why? • What is a macro in C++ programming and what are s ...

Computer programming assignment-q1 using for loop write a c

Computer Programming Assignment- Q1. Using for loop, write a C++ program that prints out the multiples of 3 up through 75, separated by a blank space.  3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 ...

Object oriented programmingassignmentq1 assuming there are

Object Oriented Programming Assignment Q1: Assuming there are 7.481 gallons in a cubic foot, write a program that asks the user to enter a number of gallons, and then displays the equivalent in cubic feet. Q2: You can co ...

Problem 1 you are tasked to write a program that outputs

PROBLEM 1 You are tasked to write a program that outputs the following amplifier system specifications: Voltage amplification: 25 Input voltage: 50 mV Power output: 2.5 W Bandwidth: 15 kHz Type: Class A a. For this progr ...


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

Cs492 programming assignment-the program must be written in

CS492 Programming Assignment- The program must be written in C or C++, and run on a linux machine. ALL source code you submit must be well documented (documentation is an indicator of understanding!) Programs that cannot ...

Write code to create the generator submit your source code

Write code to create the generator. Submit your source code as well as a description of how I could run the program, sample screenshots of the program in action, and the various changes that could be produced through you ...

Problem 1overview for problem 1a of this assignment you

Problem #1 Overview: For problem 1(a) of this assignment, you will need a C++ compiler. In order to receive credit, your program must compile and run; and you must provide the actual source code file so that I can compil ...

Question 1you are facing the following problem you are

Question 1 You are facing the following problem: You are given a robot and your task is to "guide" the robot through a 2-dimensional maze such that the robot can reach a desired goal state. Assume that the maze is define ...

Objectives- gain experience with if if else and switch

Objectives - Gain experience with if, if else, and switch statements in C programs. - Experience using % operator and true false logic. Hints This program will be MUCH easier if you design how to do the logic in your own ...

  • 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