Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

the programming language is C++ STUDENT DATA TABLE Student ID First Name Last Name Email Age Degree John Smith Erickson Napoli Black Suzan Jack Erin

image text in transcribed

the programming language is C++
STUDENT DATA TABLE Student ID First Name Last Name Email Age Degree John Smith Erickson Napoli Black Suzan Jack Erin John 1989@gmail.com Erickson_1990@gmailcom The_lawyer 99yahoo.com Erin.black@comcast.net A3 A4 Days in Course 30, 35, 40 50, 30, 40 20,40,33 50,58, 40 Number of days to complete 3 courses SECURITY NETWORK SOFTWARE SECURITY 22 Your first name Your last name Your valid email address Your age SOFTWARE The data should be input as follows: const string student Data() = ("Al, John, Smith, John 1989@gm ail.com, 20, 30, 35, 40, SECURITY", "A2, Suzan, Erickson, Erickson_1990@gmailcom, 19,50,30,40, NETWORK", "A3, Jack, Napoli, The_lawyer 99yahoo.com, 19, 20,40,33, SOFTWARE", "A4, Erin, Black, Erin.black@comcast.net, 22,50,58, 40, SECURITY", "A5,[firstname], [lastname], [emailaddress], [age), (numberofdaystocomplete 3 courses], SOFTWARE" C. Define an enumerated data type Degree for the degree programs containing the following data elements SECURITY, NETWORKING and SOFTWARE. Note: This information should be included in the degree.h file. D. For the Student class, do the following: 1. Create the base class Student in the files student.h and student.cpp, which includes each of the following variables: student ID first name last name email address age array of number of days to complete each course degree types Note: Degree type should be populated in subclasses only. 2. Create each of the following functions in the Student class: a. an accessor (i.e. getter) for each instance variable from part D1 b. a mutator (i.e., setter) for each instance variable from part 01 Note: All access and changes to the instance variables of the Student class should be done through the accessor and mutator functions. C. constructor using all of the input parameters provided in the table d. virtual print () to print specific student data e. destructor f. virtual get Degree Program) Note: Leave the implementation of the getDegree Program() function empty STUDENT DATA TABLE Student ID First Name Last Name Email Age Degree John Smith Erickson Napoli Black Suzan Jack Erin John 1989@gmail.com Erickson_1990@gmailcom The_lawyer 99yahoo.com Erin.black@comcast.net A3 A4 Days in Course 30, 35, 40 50, 30, 40 20,40,33 50,58, 40 Number of days to complete 3 courses SECURITY NETWORK SOFTWARE SECURITY 22 Your first name Your last name Your valid email address Your age SOFTWARE The data should be input as follows: const string student Data() = ("Al, John, Smith, John 1989@gm ail.com, 20, 30, 35, 40, SECURITY", "A2, Suzan, Erickson, Erickson_1990@gmailcom, 19,50,30,40, NETWORK", "A3, Jack, Napoli, The_lawyer 99yahoo.com, 19, 20,40,33, SOFTWARE", "A4, Erin, Black, Erin.black@comcast.net, 22,50,58, 40, SECURITY", "A5,[firstname], [lastname], [emailaddress], [age), (numberofdaystocomplete 3 courses], SOFTWARE" C. Define an enumerated data type Degree for the degree programs containing the following data elements SECURITY, NETWORKING and SOFTWARE. Note: This information should be included in the degree.h file. D. For the Student class, do the following: 1. Create the base class Student in the files student.h and student.cpp, which includes each of the following variables: student ID first name last name email address age array of number of days to complete each course degree types Note: Degree type should be populated in subclasses only. 2. Create each of the following functions in the Student class: a. an accessor (i.e. getter) for each instance variable from part D1 b. a mutator (i.e., setter) for each instance variable from part 01 Note: All access and changes to the instance variables of the Student class should be done through the accessor and mutator functions. C. constructor using all of the input parameters provided in the table d. virtual print () to print specific student data e. destructor f. virtual get Degree Program) Note: Leave the implementation of the getDegree Program() function empty

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

More Books

Students also viewed these Databases questions