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.


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 submitted assignment does not open or file is corrupt.
  • Assignment is copied(partial or full) from any source (websites, forums, students, etc)





The objective of this assignment is to provide an on hand experience of:

  • Learn to use object oriented concept
  • Learn to map real world problem in the context of computer programming



  • Create a class for “StaffRegistration”.
  • Provide getter and setter functions for each data member.
  • Use two member functions “InputStaffData()” and “DisplayStaffData()” for getting input and displaying it respectively.
  • Code should properly be indented and well commented.
  • Follow C/C++ rules for code documentation.
  •  Use only Dev-C++ for this assignment. If you are using any other tool then mention it at top of your code file as comments.


Assignment Description


Etradehouse is an online shopping store, which deals with selling of goods across Europe. They have regional offices in different countries (Pakistan, China & UK). The support, purchase and sales staff works in regional office (Pakistan).

They hire new employees in order to run their business smoothly, but currently they have no automated system for hiring of their employees. As a C++ programmer, your task is to write a computer program in C++ which could register the newly hired staff and then display summary of it.



The data about the staff, that the company is interested are as follows:-

  • CNIC ( National Identity Card Number in the form XXXXX-XXXXXXX-X)
  • Name ( Name of employee)
  • Father Name
  • Date of Birth
  • Qualification
  • Designation
  • Salary
  • Joining Date
  • Contact Number
  • Address

Your Task

Your task is to create the program which produces the output as shown in “screenshot”.

Screenshot of the desired  output:

Here display your name & VU ID.




Object oriented approach MUST be used in order to implement the assignment.


You are required to submit your assignment through LMS in zip format containing two files.

  • Your solution C++ program i.e .cpp file
  • An MS Word document containing screenshot of your program output/execution



CS201_ Assignment # 2, Due Date: 04/08/2015

Views: 5824

Replies to This Discussion

Thanks for the above exemplary codes

I have below two burning questions in my mind.. I searched around but found nothing good.

1. Please explain Setters / Getters
2. Please tell me which lecture cover Setters/Getters

Waiting for response.


Cs201-Assignment-no4 complete


Someone, plz do it with Getter Setter, only 3 hours remaining to submit!

ap ka code run ni horaha plzzz help


Looking For Something? Search Below

Latest Activity

Karina Lopez left a comment for Umm-e-Aimen
59 minutes ago
Karina Lopez left a comment for Huma noor
1 hour ago
Karina Lopez left a comment for Sparking TwinKle
1 hour ago
Karina Lopez left a comment for Ruqia
1 hour ago
Karina Lopez left a comment for Suha Khan
1 hour ago
Karina Lopez left a comment for Batool
1 hour ago
Karina Lopez left a comment for Student
1 hour ago
Karina Lopez left a comment for Muhammaad Arif
1 hour ago

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

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