PDA

View Full Version : CS504 Software Engineering-1 Assignment no 2 idea solution april 2011



Vuhelper
04-30-2011, 05:49 AM
Total marks = 20

Deadline Date = 04-05-2011

Q1 [Marks 10]

Consider the following Class, a student claims that the class is poorly (low) cohesive, device more cohesive class(s) out of this class (along with proper methods and attributes).




Q2 [10 Marks]

Discuss all the possible effects of bad / poor object model on the final product

TIP: provide you answer with proper and suitable headings

Vuhelper
05-04-2011, 07:46 PM
Q1- [Marks 10]

Answer:

class patmng
{
Int ptn_no;
Date dob;
};
Class physin
{
int surgn no;
String fee;
};
Class operation
{
String operationpoint;
Bool targetachived;
}
;;
Q2- [Marks 10]

Answer:

effects of bad / poor object model on the final system::
It brings collapse to the overall project. Model poorly help the developers to get the solution accepted by the demanding organization. Reduced effort in maintenance and enhancement, resulting from inheritance, encapsulation, low coupling, and high cohesion.
. We can not well maintain our profit. Clarity and understandability of the system, as object-oriented approach is closer to the working of human cognition. Reusability of code resulting from low inter-dependence among objects, and provision of generalization and specialization through inheritance

vukhan
05-05-2011, 12:03 AM
effects of bad / poor object model on the final system::
I)-Collapse:
It brings collapse to the overall project.
II)-Acceptance:
Model poorly help the developers to get the solution accepted by the demanding organization.
III)- Maintainence:
Reduced effort in maintenance and enhancement, resulting from inheritance, encapsulation, low coupling, and high cohesion.
Iv)Profit
. We can not well maintain our profit.
V)-Clairity:
Clarity and understandability of the system, as object-oriented approach is closer to the working of human cognition.
Vi)Reusability:
Reusability of code resulting from low inter-dependence among objects, and provision of generalization
VIII)-Inheritence:
and specialization through inheritance.

sulmanbilly
05-05-2011, 03:51 PM
alright can you please tell me where is the topic comes from of first question ???

Xpert
05-05-2011, 04:02 PM
please consult with your handouts. you will know....