Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

Assignment No. 04 SEMESTER Fall 2013 CS304- Object Oriented Programming, Total Marks: 20 Due Date: 27/01/2014

Assignment No. 04 
SEMESTER Fall 2013
CS304- Object Oriented Programming

Total Marks: 20

Due Date: 27/01/2014

Instructions

Please read the following instructions carefully before solving & submitting assignment:

It should be clear that your assignment will not get any credit (zero marks) if:

  • The assignment is submitted after due date.
  • The submitted assignment is other than .cpp file.
  • The submitted assignment does NOT open or file is corrupted.
  • The assignment is copied (from other student or ditto copy from handouts or internet).

Uploading instructions

 

  • For clarity and simplicity, you are required to Upload/Submit only .CPP file

Objective

The objective of this assignment is:

 

  • To give you the idea of practical implementation of concepts inheritance and polymorphism.

 

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

GOOD LUCK

 

Marks: 20 

 

 

 

 

 

 

 

 

 

 

 

 

Consider the following Class Diagram; detailed description of the diagram is given in the table.

 

 

Class Name

Attribute Name

Attribute Data Type

Behavior (Functions)

FeeStructure

DegreeProgram

Character String

-InputFeeDetail()

-PrintFeeDetail()

-TotalFee ()

 

       AdmissionFee

Integer

EnrollmentFee

Integer

TuitionFee

Integer

Local_FS

SecurityFee

Integer

-InputFeeDetail()

-PrintFeeDetail()

-TotalFee ()

 

AdmissionProcessingFee

Integer

Overseas_FS

 

 

-InputFeeDetail()

-PrintFeeDetail()

-TotalFee ()

 

 

 

 

In given class diagram, FeeStructure is a base class; while Local_FS and Overseas_FS are its derived classes sharing its all attributes and functions.

You are required to implement above class diagram in C++. For this you have to use the concept of inheritance and polymorphism. (Hint:  In FeeStructure class, make InputFeeDetail(), PrintFeeDetail() and TotalFee()virtual functions.)

 

For Sample Output, see the next page.

Sample Output:

 

Lectures Covered:  This assignment covers Lecture #   22-28

Deadline:             Your assignment must be uploaded/submitted at or before. 27th Jan , 2014

 Best Of Luck

Views: 12799

Attachments:

Replies to This Discussion

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.

so easy assignment

tooo difficult 

plzzzzzzzzzz next bta dain thori help mujhe aj e krni he

ye assignment easy to ni hy 

mary to lectures b ni huay abi itny 

is k lectures ni liay abi is liay difficult lag rahi hy 

cs302 to finger tips py hy 

after lecture bhi difficult hi

kis ko kya help chahiye???? can ask ?????

agar kisi ko bni hoe assignment chaiye to Rs. 500.

tell me the solution of this assignment

500 :o

extend day ki raat solution free mil jay ga 

send me solution 

tm 500 lay lo per solution do

RSS

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

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