We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Assignment No. 03 SEMESTER Spring 2017 CS304- Object Oriented Programming Due Date: July 19, 2017

Assignment No. 03
SEMESTER Spring 2017
CS304- Object Oriented Programming

Total Marks: 20

Due Date:  July 19, 2017



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 the due date.
  • The assignment is submitted via email.
  • The assignment is copied from the internet or from any other student.
  • The submitted assignment does not open or file is corrupt.
  • It is in some format other than .cpp.


1)      Note: You are supposed to submit your assignment in .cpp format. Any other formats like scan images, PDF, zip, doc, rar and bmp etc will not be accepted. All types of plagiarism are strictly prohibited.


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


The objective of the assignment is:

  • To give you the idea of practical implementation of Polymorphism.


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





Problem Statement:

In continuation of Assignment No. 1 and 2, we have the following part of class diagram:


Car, SUV and HDV are concrete classes as opposed to Vehicle with a pure virtual function.

You are required to implement polymorphism in the above scenario by writing a complete C++ program with the mentioned data members and member functions.

In the main function, create one object each of Car, SUV and HDV and call their respective showGears() function thus implementing the concept of polymorphism.

Following is the sample output that you need to print:




Sample Output:



Best of luck!




Lectures Covered:  This assignment covers Lecture # 29-31


+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 2688


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

Plz tell me the solution??

   Gimme solution plzz  

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>



For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.


.•°How to Download past papers from study groups°•.


Please Click on the below link to see…

.... How to Find Your Subject Study Group & Join .... 

check my facebook page java work house for solution...

304 ka solution to ni h....:/

i have send the solution to this page may be they will upload soon!

will u plz snd the solution here???

sorry i cant upload here goto Facebook

and search java work house.

plzzzz tell solution??

koi to jwab do plzzz??


thx b ro


Today Top Members 

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service