Successfully reported this slideshow.

A D T Student


Published on

Published in: Education, Technology
  • Be the first to comment

  • Be the first to like this

A D T Student

  1. 1. ADTStudent Omar Mirza Jeremy Mattheis Chris Wanstrath
  2. 2. Introduction <ul><li>ADTStudent is an Abstract Data Type custom built to represent a student attending St. Xavier High School. </li></ul><ul><li>Exercises C++ Object oriented design concepts, including sub-classes and interaction between the classes. </li></ul>
  3. 3. Project Specifications <ul><li>The ultimate goal of our group was to design a class that would take 2 weeks to complete, as well as a class that could be used, if ever necessary, by St. X as a student tracking data type. </li></ul>
  4. 4. ADTStudent Class Structure ADTStudent Schedule Course
  5. 5. ADTStudent Contents <ul><li>Contains specific member functions, for basic data member accessing and for outputting to a text or html file. </li></ul><ul><li>All data members private </li></ul>
  6. 6. Data Members <ul><li>int IDNumber; </li></ul><ul><li>apstring Address; </li></ul><ul><li>int Phone; </li></ul><ul><li>int Year; </li></ul><ul><li>int Demerits; </li></ul><ul><li>apstring bday; </li></ul><ul><li>apstring hmrm; </li></ul><ul><li>apstring fname; </li></ul><ul><li>apstring lname; </li></ul><ul><li>apstring father; </li></ul><ul><li>apstring mother; </li></ul><ul><li>schedule studentschedule; </li></ul>
  7. 7. Inspectors <ul><li>int GetIDNumber() const; </li></ul><ul><li>apstring GetAddress() const; </li></ul><ul><li>int GetPhone() const; </li></ul><ul><li>int GetYear() const; </li></ul><ul><li>int GetDemerits() const; </li></ul><ul><li>apstring Getbday() const; </li></ul><ul><li>apstring Gethmrm() const; </li></ul><ul><li>apstring Getfname() const; </li></ul><ul><li>apstring Getlname() const; </li></ul><ul><li>apstring Getmother() const; </li></ul><ul><li>apstring Getfather() const; </li></ul><ul><li>schedule Getschedule() const; </li></ul>
  8. 8. <ul><li>void ShowStudent(); </li></ul><ul><li>void WriteStudent(); </li></ul><ul><li>void WriteStudenthtml(); </li></ul>Facilitators
  9. 9. Mutators <ul><li>void SetIDNumber(int IDNumber); </li></ul><ul><li>void SetAddress(apstring Address); </li></ul><ul><li>void SetPhone(int Phone); </li></ul><ul><li>void SetYear(int Year); </li></ul><ul><li>void SetDemerits(int Demerits); </li></ul><ul><li>void Setbday(apstring bday); </li></ul><ul><li>void Sethmrm(apstring hmrm); </li></ul><ul><li>void Setfname(apstring fname); </li></ul><ul><li>void Setlname(apstring fname); </li></ul><ul><li>void Setmother(apstring mother); </li></ul><ul><li>void Setfather(apstring father); </li></ul><ul><li>void Setschedule(schedule studentschedule); </li></ul>
  10. 10. Schedule and Course <ul><li>schedule studentschedule; </li></ul><ul><li>Contains student specific course and schedule information, organized by schedule and course classes </li></ul>
  11. 11. Schedule <ul><li>Contains 8 Course data members (bellone – belleight) </li></ul><ul><li>Contains one archive of all courses taken (OldScheduleArchive) </li></ul>
  12. 12. Schedule Calculator Functions <ul><li>GetGPA(int quarter) const; </li></ul><ul><li>GetOldCredits() const; </li></ul><ul><li>GetProgressReport(int quarter) const; </li></ul><ul><li>GetGradeVector(int quarter) const; </li></ul>
  13. 13. Course <ul><li>Data Members </li></ul><ul><ul><li>apstring coursename; </li></ul></ul><ul><ul><li>apstring teacher; </li></ul></ul><ul><ul><li>float credits; </li></ul></ul><ul><ul><li>apvector<apstring> prereq; </li></ul></ul><ul><ul><li>apvector<float> grade; </li></ul></ul><ul><ul><li>int room; </li></ul></ul>
  14. 14. Final Class Design (FULL) ADTStudent Schedule ID Address bellone belltwo bellthree bellfour bellfive bellsix bellseven belleight Phone Year Demerits Bday fname lname mother father name teacher grade Quarter1 Quarter 2 Quarter 3 Quarter 4 credits prereq room
  15. 15. Questions?
  16. 16. Credits <ul><li>L33d h4xx0r – Omar Mirza </li></ul><ul><li>L33d d33z1n3r – Jeremy Mattheis </li></ul><ul><li>C++ n00b – Chris Wanstrath </li></ul><ul><li>Special Thanks to: Useless Static Studios, lw-consutling, and clan [fj] </li></ul>