There is no elevator to success. You have to take the stairs. Take your first steps with SSWT!

CS304-object oriented programming | Assignment no. 1 Solution | Spring 2018 | Due date: 15 may, 2018

Assignment No. 01
Semester: Spring 2018
Object Oriented Programming – CS304

Total Marks: 20

Due Date: 15 May 2018 

To get a hands on experience in creating Object Model (Class Diagram) of real world problems

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

Case Study 
Suppose ABC is a car rental company. To facilitate all type of customers the company bought different types of vehicles like car, coaster and bus for their drivers. These vehicles are composed of best engines and tires. Company will also keep these vehicles in separate garages to protect it from any damage.

Q No 1: Find relevant objects from the case study. 5 Marks 

Q No 2: Draw an Object Model (class diagram) for the given case study. 15 Marks 

Important things to consider:
1. Object Model must clearly show the relationship between main objects.
2. Object state and behavior is not required to be mentioned at this point.
3. You have to use UML conventions to draw class diagram. The same has been followed in video lectures as well.
4. 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, not taken from any source.

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.



Anam Afzal

Anam Afzal

Hi, I'm a Pakistani freelancer with a passion for helping businesses achieve their online goals through no-code solutions. I specialize in WordPress customization and ManyChat automation, and I'm always on the lookout for new ways to use technology to make businesses more efficient and successful. I'm also a big believer in the power of no-code tools to democratize technology and make it accessible to everyone. I'm passionate about sharing my knowledge and helping others learn how to use no-code tools to create their own websites, automate their workflows, and grow their businesses. If you're looking for a reliable and experienced no-code developer, I'm here to help. Please feel free to contact me to discuss your project requirements.