https://www.google.com/contributor/welcome/?utm_source=publisher&utm_medium=banner&utm_campaign=2376261057261409

Search This Blog

Search with our Site

Custom Search

Monday, November 15, 2010

Software Engineering-1 (CS504) Assignment # 2

Software Engineering-1 (CS504)
Assignment # 2
  Total marks = 20
                                                                                       Deadline Date = 22-11-2010

Please carefully read the following instructions before attempting the assignment.

Rules for Marking
It should be clear that your assignment would not get any credit if:

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file is corrupt.
  • The assignment is copied. Note that strict action would be taken if the submitted assignment is copied from any other student. Both students will be punished severely.

1)      You should concern recommended books to clarify your concepts as handouts are not sufficient.
2)      You are supposed to submit your assignment in .doc format. Any other formats like scan images, PDF, Zip, rar, bmp, docx etc will not be accepted
3)      You are advised to upload your assignment at least two days before Due date.
4)      This assignment file comprises of Two (2) pages.


Important Note: 

Assignment comprises of 20 Marks. Note that no assignment will be accepted after due date via email in any case (whether it is the case of load shedding or emergency electric failure or internet malfunctioning etc.). Hence, refrain from uploading assignment in the last hour of the deadline, and try to upload Solutions at least 02 days before the deadline to avoid inconvenience later on.

For any query please contact: CS504@vu.edu.pk

Q1 [Marks 5+5]

Differentiate the following
1)      Coupling and Cohesion
2)      Object-Oriented and Function-Oriented design

Your solution should be in following format:

Coupling
Cohesion

Object-Oriented Design
Function-Oriented Design


Q2 [4+2+4]


1)      Write down any custom built C++ Class which you think is not cohesive (or low cohesive).

2)      Write down the reason why this class (developed in Step-1) is not cohesive or low cohesive

3)      Break this class (developed in Step-1) into two (or more) separate classes that are more cohesive or (highly cohesive)

NOTE:

1)      The example class should not be the one, given in handouts, instead write your own class.
2)      Do not send any .CPP file; instead write down the class in same solution file (i.e. MS Word file).
            

No comments:

Post a Comment