Skip to content

UoL-SoCS/uol-cmp9133-2425-b-w09-university-management-systems-assessed-CMP9133-SEM-B-W09-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMP9133 - Workshop 9

University of Lincoln
School of Engineering and Physical Sciences
CMP9133 – Programming Principles

Task (Assessed): University Management System

Design a University Management System that models the hierarchy of students, faculty, and staff. Implement the system using classes and demonstrate the use of inheritance, polymorphism, and memory management techniques. Instructions:

  1. Create a base class Person with private attributes:

    • std::string name
    • int age

    Implement public member functions for getting and setting the name and age.

  2. Derive a class Student from the Person class, with additional private attributes:

    • std::string studentId
    • double gpa Implement public member functions for getting and setting the student ID and GPA.
  3. Derive a class Faculty from the Person class, with additional private attributes:

    • std::string facultyId
    • std::string department Implement public member functions for getting and setting the faculty ID and department.
  4. Derive a class Staff from the Person class, with an additional private attribute:

    • std::string staffId Implement public member functions for getting and setting the staff ID.

image

About

uol-cmp9133-2425-b-w09-university-management-systems-assessed-CMP9133-SEM-B-W09-1 created by GitHub Classroom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages