CS304 Assignment No 1 Solution Fall 2019 | Virtual Study Solutions

Adsetra Ads

 

CS304 Assignment No 1 Fall 2019

Dear Students, Here you can read or download CS304 - Object Oriented Programming Assignment No 1 Solution of Semester Fall 2019. CS304 Assignment Due Date is 15 November 2019. Total Marks are 20. This assignment covers Lecture No 1 to 6.

CS304 Assignment No 1 Solution Fall 2019 - Object Oriented Programming
CS304 Assignment No 1 Solution Fall 2019 - Object-Oriented Programming

We are here to facilitate your learning and we do not appreciate the idea of copying or replicating solutions. CS304 Assignment Solution File has been added. Previously we s
hared CS202 Assignment No 1 Solution Fall 2019.

CS304 Assignment Problem Statement:

PSL (Pakistan Super League) is played every year. This league contains at least 4-5 franchises and each franchise has a team. There are many sponsors which sponsor each franchise. Each team is composed of 10-15 players. One of the players is the captain of the team. A coach is also allocated to each team. One coach can serve only one team at a time. Coaches, captain and players are common persons each having different characteristics. Different games are played between the teams and each game has its venue and date.

Draw an Object Model (Class Diagram) for the given scenario showing main objects, their attributes, functions and relationships.

CS304 Assignment Tasks

The tasks you have to do are: 

1. Extract the main objects (entities) of above system. 

2. Find the necessary attributes and functions that need to be associated with each object.

PSL (Pakistan Super League) is played every year. This league contains at least 4-5 franchises and each franchise has a team. There are many sponsors which sponsor each franchise. Each team is composed of 10-15 players. One of the players is the captain of the team. A coach is also allocated to each team. One coach can serve only one team at a time. Coaches, captains, and players are common persons each having different characteristics. Different games are played between the teams and each game has its venue and date. 

3. Identify the relationships among identified objects.

  • ASSOCIATION RELATION BETWEEN LEAGUE AND FRANCHISE
  • AGGREGATIN RELATION BETWEEN FRANCHISE AND TEAM
  • ASSOCIATINO RELATION BETWEEN SPONSOR AND FRANCHISE
  • COMPOSITION RELATION BETWEEN TEAM AND PLAYER
  • ASSOCIATION RELATION BETWEEN COACH AND TEAM
  • ASSOCIATION RELATION BETWEEN GAME AND TEAM
  • INHERITANCE RELATION BETWEEN PERSON AND COACHES, CAPTAIN AND PLAYERS
4. Construct a final comprehensive Class diagram showing all objects and their relationships along with their attributes and functions.

CS304 Assignment Question No 4 - Class diagram
CS304 Assignment Question No 4 - Class diagram

Important things to consider:
  • As happens in real world that everyone visualizes a problem in a different way so the solutions of all students may vary based upon their own thinking.
  • You have to use standard UML notations for objects, classes, and their associations.
  • You have to use all concepts studied so far like abstraction, encapsulation, inheritance, association, generalization, and specialization wherever applicable.

CS304 Assignment Solution Uploading instructions 

  • For clarity and simplicity, you are required to Upload/Submit only .DOC/.DOCX file
  • Copy/Paste your class diagram in your final MS Word (.doc) file if you are using any drawing tool (MS Paint, MS Visio, etc.). Images submitted as solution files will not be accepted.
Hint:
Besides problem statements; objects, properties, and functions of a system can also be extracted from domain knowledge.

CS304 Assignment No 1 Solution Fall 2019

You can see the Sample Preview of CS304 Assignment No 1 Solution provided by (Virtual Study Solutions) below. Click on Download Button to Download Solution File in Your PC. 

Download CS304 Assignment No 1 Solution Fall 2019


File NameDownload Link
 CS304 Assignment No 1 Solution Fall 2019.docx Please Wait - We are Working on it.

Meanwhile, we recommend you to read:

CS304 Past Papers Collection

Download  [  CS304 Mid Term Papers Solved by Moaaz ]  

Download  [  CS304 Solved MCQs with references 

Fall 2019 Assignments Solution

CS502 Assignment No 1 Solution Fall 2019

If CS304 Assignment No 1 Solution Fall 2019 was helpful. Please Share it with your friends. You can also like our Facebook Page or Subscribe Us on Youtube for Latest Updates about Assignments and Past Papers.

Post a Comment

 

Top