CS304 Assignment 1 Solution - Fall 2016
#1
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:
o  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.      http://solarviews.com/eng/solarsys.htm
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

Solution
[Image: 14915468_333486650347253_780662964860548...e=5895015A]
#2
Thank you for sharing the solution.
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  CS304 Quiz 1 Questions Solved Pakistani 1 70 05-22-2017, 10:33 PM
Last Post: Iram Rana
  Assignment Solutions Iram shahzad 2 47 05-22-2017, 08:21 AM
Last Post: Rana
  CS301 Assignment 2 Solution - Spring 2017 Rana 0 274 05-17-2017, 08:54 PM
Last Post: Rana
  cs504 assignment 1 help needed Syed Muhammad Taha 3 139 05-10-2017, 04:44 PM
Last Post: Rana
  CS403 Assignment 1 help required Syed Muhammad Taha 3 125 05-06-2017, 06:50 PM
Last Post: Rana
  CS506 Assignment No1 Solved 2017 Rubaisha(Moody Girl) 0 235 05-05-2017, 02:11 PM
Last Post: Rubaisha(Moody Girl)
Thumbs Up cs402 Assignment jamshed Ansari 1 117 05-03-2017, 06:05 PM
Last Post: Rana
  CS610 Assignment 1 Pakistani 3 374 05-03-2017, 01:50 PM
Last Post: jamshed Ansari
  CS304 Assignement 1 full Solution 2017 Rubaisha(Moody Girl) 0 112 04-28-2017, 09:34 PM
Last Post: Rubaisha(Moody Girl)
  CS601 Data Communication Assignment Solution Rana 2 1,241 02-07-2017, 06:00 PM
Last Post: Pakistani



Users browsing this thread:
1 Guest(s)