Thursday, May 5, 2011

[discussion_vu] CS504 Assignment no 2 idea solution april 2011

CS504 Assignment no 2 idea solution april 2011

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


Solution:

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

Remember Me In Your Prayers
Best regard's
Muhammad Afaaq
MBA 4th (Final Semester) Finance Group
Afaaq_Tariq@yahoo.com
Islamabad
For latest assignments solved quizzes files gdb solve n unsolved past papers Come join us in http://vugoogle.com

http://www.alliswell.com.pk/
http://groups.google.com/group/vustudymania

0346-5329264

If u like me than raise your hand with me
If not then raise ur standard
That's about me … !


--
You received this message because you are subscribed to the Google Groups "Virtual University of Pakistan" group.
To post to this group, send email to discussion_vu@googlegroups.com.
To unsubscribe from this group, send email to discussion_vu+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/discussion_vu?hl=en.

No comments:

Post a Comment

PAID CONTENT