Assignment No. 02 (Graded) SEMESTER Fall 2013 CS304- Object Oriented Programming

Assignment No. 02 (Graded) SEMESTER Fall 2013 CS304- Object Oriented Programming
  1. Instructions
  2. Please read the following instructions carefully before solving & submitting assignment:
  3. It should be clear that your assignment will not get any credit (zero marks) if:
  4. The assignment is submitted after due date.
  5. The submitted assignment is other than .cpp file.
  6. The submitted assignment does NOT open or file is corrupted.
  7. The assignment is copied (from other student or ditto copy from handouts or internet).
  8. Uploading instructions

  9. For clarity and simplicity, you are required to Upload/Submit only .CPP file
  10. Objective
  11. The objective of this assignment is:

  12. To give you the idea of practical implementation of some concepts like, definition of classes, Data members, member functions, Constructors, Destructors etc.

  13. For any query about the assignment, contact atCS304@vu.edu.pk

  14. GOOD LUCK





  15. Problem Statement:

  16. In continuation of the assignment no. 1, consider the following class diagram (a part from Assignment no. 1 solution), detailed description of the diagram is given in the table.

  17. Table:

  18. Class Name
  19. Attribute Name
  20. Attribute Data Type
  21. Behavior (Functions)
  22. Admission
  23. Term
  24. Character string
  25. -Default Constructor()
  26. -Open()
  27. -Close()
  28. Year
  29. Integer
  30. FeeStructure
  31. DegreeProgram
  32. Character string
  33. -Default Constructor()
  34. -DisplayFees()
  35. RegistrationFee
  36. Integer
  37. AdmissionFee
  38. Integer
  39. SecurityFee
  40. integer
  41. Schedule
  42. Description
  43. Character string
  44. -DisplaySchedule()
  45. CandidateList
  46. StdName
  47. Character string
  48. -Default Constructor()
  49. -DisplayList()
  50. StdRollNo
  51. Character string
  52. TotalStudents
  53. Integer
  54. AcademicProgram
  55. DegreeTitle
  56. Character string

  57. -CalculateCGPA()
  58. -Destructor()
  59. Duration
  60. Integer
  61. Masters
  62. Specialization
  63. Character string
  64. -Default Constructor()
  65. Bachelors
  66. Specialization
  67. Character string
  68. -Default Constructor()
  69. Diploma
  70. DiplomaType
  71. Character string
  72. -Default Constructor()

  73. You are required to map (implement/Code) this class diagram in C++.
  74. Make sure that your solution must contain ONLY classes’ definitions given in the diagram, definitions of all attributes and proper declaration and definitions of member functions including constructors that are given in the above table.
  75. Detail of some Member Functions:
  76. Open() and Close() function open and close admission respectively.
  77. DisplayFee() print the fee structure of one or all study programs.
  78. DisplaySchedule() print the admission schedule.
  79. DisplayList() print the list of admitted candidates.
  80. CalculateCGPA() calculate the CGPA of students for a particular study program.
  81. Note: 
  82. The body of all member functions and destructors should be empty, while the constructors should have code which initializes the objects.
  83. Do not implement the aggregation.
  84. Lectures Covered: This assignment covers Lecture # 07-10
  85. Deadline: Your assignment must be uploaded/submitted at or before. December 05, 2013
  86. For Further Details Visit:-http://grandstudy.com/showthread.php?6371-Assignment-No.-02-(Graded)-SEMESTER-Fall-2013-CS304-Object-Oriented-Programming

0 comments: