VU Projects Video Lectures Handouts Past Papers Quizzes Assignments & GDB border= Members Free SMS Service FB Page
VU Projects Video Lectures Handouts Past Papers Quizzes Assignment,GDB Members SMS Service FB Page

Assignment No. 01
SEMESTER Fall 2016
CS304- Object Oriented Programming

Total Marks: 20

Due Date:  10 /11/2016

 

Instructions:

Please read the following instructions carefully before submitting assignment:

It should be clear that your assignment will not get any credit if:

 

  • The assignment is submitted after due date.
  • The assignment is submitted via email.
  • The assignment is copied from Internet or from any other student.
  • The submitted assignment does not open or file is corrupt.
  • It is in some format other than .doc (MS Word Document).

 

Note: All types of plagiarism are strictly prohibited.

 

For any query about the assignment, contact at CS304@vu.edu.pk

Objective

The objective of this assignment is:

  • To give you the practical implementation of Class Diagram

 

For any query about the assignment, contact at cs304@vu.edu.pk

GOOD LUCK!

 

Marks: 20 

 

Problem Statement:

The galaxy is composed of the stars, satellite and planets etc.  In earth’s home galaxy, the solar system is comprised of sun (average star) and objects that orbits around it. Following are the 8 largest objects (planets):

1. Mercury

2. Venus

3. Earth

4. Mars

5. Jupiter

6. Saturn

7. Uranus

8. Neptune

The first four planets are called inner planets while the remaining four are outer planets. All planets revolve around the Sun and Satellites revolve around the planet.


 

The tasks you have to do are:

  1. Extract the main objects (entities) from the given scenario.
  2. Find the necessary attributes and functions that need to be associated with each object to implement the functionality mentioned above.
  3. Identify the relationships between these objects.
  4. Construct a final comprehensive Class diagram showing all objects and their relationships along with their attributes and functions.
  5. You have to use UML conventions to draw class diagram. The same has been followed in video lectures as well.

 

Note: You can use any drawing tool such as MS Visio, MS Paint or online drawing tool etc. but you have to paste your diagram in MS Word (.doc) file and submit this file on LMS. Images submitted as solution files will not be accepted.

 

Helping/External Links:

  1. 1.       http://solarviews.com/eng/solarsys.htm
  2. 2.      https://www.draw.io/         (Online Drawing Tool)

 

 

 

Lectures Covered:  This assignment covers Lecture #    1-6

Deadline:            Your assignment must be uploaded/submitted at or before November,10, 2016

Views: 2235

Replies to This Discussion

Asslam-u-Alaikum,

Please don't mind but I'm unable to understand the whole purpose of this explanation, if this post is being prepared in order to support the assignment, then i'm sorry to say this is waste of time. A person would rather spend time in reading the handouts, which will help him/her better to get in detail idea about this topic.

It would be more appreciated if this post was directly addressing the subject matter, the assignment of CS304 rather than the explanation of object and classes and their relations.

Moreover provided solution file has no direct/indirect relation with current assignment topic.

Regards,

Omer

yup bro this means in future there will be no solutions here.

So be ready for it

Thank u sooooooooooooo much bro 

Yes i can study classes and objects from google.

Beside that weird looking diagram.

Can someone plz explain what i have to do in assignment ? 

 itne idea da diye hain..... dimgh ki lasii bn gai ha brooo

plz upload a larger image 

cs304 assignment#1 solution

Attachments:

bhio sab fail han is main,

write code showing classes , objects and attributes.

RSS

© 2017   Created by Muhammad Anwar Tahseen.   Powered by

Badges  |  Report an Issue  |  Terms of Service