VU Projects Video Lectures Handouts Past Papers Quizzes Assignments & GDB border= Members Free SMS Service FB Page
VU Projects Video Lectures Handouts Past Papers Quizzes Assignment,GDB Members SMS Service FB Page

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

Total Marks: 20

Due Date:  19 /05/2017

 

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 .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

Objective

The objective of this assignment is:

  • To give you the idea of practical implementation of some concepts like, definition of classes, Data members, member functions, Constructors, Member Initialization List, Composition etc.

 

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

GOOD LUCK!

 

Marks: 20 

 

Problem Statement:

In continuation of Assignment No. 1, we have the following part of class diagram showing composition relationship:

 

 

You are required to implement above class diagram (complete program) in C++ with all data members, constructors, member functions and concept (composition) given in the class diagram.

Write your code to perform the following operations in main().

 

See the sample output to view the messages you need to print in constructors of all classes.

 

Note: Use member initialization list to initialize the composed objects.

Sample Output:

 

Best of luck!

 

 

 

Lectures Covered:  This assignment covers Lecture # 7-15

Deadline:            Your assignment must be uploaded/submitted at or before May 19, 2017

 

Views: 1559

Attachments:

Replies to This Discussion

When solution will be uploaded

upload the solution please

abhi time ha guys ... kindly wait :/ 

CS304 Assignment Complete solution Click Here

Khayal-e-Yar ko Mera Khayal Kitna Hai.,,,,,,,

Roz tasali day deti ho Cute Samra ,,, solution ni deti 

solution uploaded 

Solution

RSS

© 2017   Created by Muhammad Anwar Tahseen.   Powered by

Badges  |  Report an Issue  |  Terms of Service