Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use C++ to write the code. Thank you! Question2 The objectives of the This question is based on contents covered in Chapter 10 and

Please use C++ to write the code. Thank you!

image text in transcribed

image text in transcribed

Question2 The objectives of the This question is based on contents covered in Chapter 10 and 11 oftext. questions are to: Implement the constructor, assessors, mutators and mcthods understand object composition write test driver to test the written methods You are required to write the declaration and implementation code in separate files. Your submission is expected to reflect t Examine the following class specifications, additional information and answer the following questions: class Student private: string snamc; string course, string areaOfinterest 3]; Games", "Al", "Robots", "Database", "Analytics", e public: void setStudent(string, string, int, string): string getAreaOfInterestString0 string cname; string workingAreal3]: Games", "Al", "Robots", "Database", "Analytics", ete int size; void sctCompany(string name, string arcal], int size); string getWorkingAreaString0: void displayCompany0 class InterviewRecord Student stud; Company compl; Company comp2; leach student should be assigned to 2 int matchRate; Whigh if there is better match between the areas public: int getMatchRatc0 void displaylnterviewRecordo: Method Remarks Class: Student Constructor with arbitrary values void setStudent(string, string, int, stringD: Sets the values of student object s cout to all int get YearOfGraduation0 Accessor. Return the data member, yearOfGraduation and areaOfInterest array as a single string separated by values. int Sets the values of company object Constructor with size); void displayCompany0: string getWorkingArcaStringo; Uses cou to display all data members Accessor. Return the data member workingArea array as a single string InterviewRecord InterviewRccordStudent, Company, Company, Constructor with a Student record, two int) Company records and matchRate. Accessor. Return the data member, matchRate void displaylnterviewRecordO Use cour to display all data members. Invoke respective display method in Question2 The objectives of the This question is based on contents covered in Chapter 10 and 11 oftext. questions are to: Implement the constructor, assessors, mutators and mcthods understand object composition write test driver to test the written methods You are required to write the declaration and implementation code in separate files. Your submission is expected to reflect t Examine the following class specifications, additional information and answer the following questions: class Student private: string snamc; string course, string areaOfinterest 3]; Games", "Al", "Robots", "Database", "Analytics", e public: void setStudent(string, string, int, string): string getAreaOfInterestString0 string cname; string workingAreal3]: Games", "Al", "Robots", "Database", "Analytics", ete int size; void sctCompany(string name, string arcal], int size); string getWorkingAreaString0: void displayCompany0 class InterviewRecord Student stud; Company compl; Company comp2; leach student should be assigned to 2 int matchRate; Whigh if there is better match between the areas public: int getMatchRatc0 void displaylnterviewRecordo: Method Remarks Class: Student Constructor with arbitrary values void setStudent(string, string, int, stringD: Sets the values of student object s cout to all int get YearOfGraduation0 Accessor. Return the data member, yearOfGraduation and areaOfInterest array as a single string separated by values. int Sets the values of company object Constructor with size); void displayCompany0: string getWorkingArcaStringo; Uses cou to display all data members Accessor. Return the data member workingArea array as a single string InterviewRecord InterviewRccordStudent, Company, Company, Constructor with a Student record, two int) Company records and matchRate. Accessor. Return the data member, matchRate void displaylnterviewRecordO Use cour to display all data members. Invoke respective display method in

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Ultimate Database For Cloud Analytics And Mobile

Authors: John Campbell, Chris Crone, Gareth Jones, Surekha Parekh, Jay Yothers

1st Edition

1583474013, 978-1583474013

More Books

Students also viewed these Databases questions

Question

3. Comment on how diversity and equality should be managed.

Answered: 1 week ago

Question

describe the legislation that addresses workplace equality

Answered: 1 week ago