Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need this code in C++ Language Asap, please. 2. Instantiate 3 students using the following attributes: Student Id 1 2 3 Full Name John

image text in transcribedI need this code in C++ Language Asap, please.image text in transcribed

2. Instantiate 3 students using the following attributes: Student Id 1 2 3 Full Name John Doe Tom Seth Jane King Full Time ? Yes No Yes Courses Java, C++ PHP, Networking Hint: 3rd line above should be using the constructor that does not require Course information to be provided. 3. Implement Displayinfo() method to return Student info in the following format: Hello, I am John Doe, my ld is: 1, I am a Full time student, and I am enrolled in Java, C# courses. 4. Display student info for all 3 student objects created in previous step by calling Displayinfo() method. 5. Implement and Call DisplayFullTimeStatus() method on all 3 student objects to display the info in the format: Hello, I am John Doe, my ld is: 2 and I am a Part time student. 6. Implement and Call DisplayCourses() method on all 3 student objects to display the info in the format: Hello, I am John Doe, my ld is: 1 and I am enrolled in Java, C# courses. Note: If no courses found (example student with Id = 3, it should display message like: Hello, I am John Doe, my ld is: 3 and I am NOT enrolled in any course yet. 7. Implement and Call Update Full TimeStatus() method to update the status. For the student with Id=2, update the status to Full time and then call DisplayFull TimeStatus() method for this student to display updated status. 8. For the student with Id=3, call UpdateCourses() method twice, by passing 1 new course name in each call, to update the course list. Here is an example: S3.UpdateCourses("Project Management"); Note: Check existing list before adding, there should not be a duplicate entry. Scenario You are part of HR IT department and your Team lead has asked you to create an application using the steps described within Requirements section below. Documentation Requirements Ensure that your project compiles without any errors and each n every section is well documented using block comments, in-line comments, and @param tags (wherever applicable). Note: if the project compiles with any error at all, submission will be completely rejected hence earning O score towards this project. Programming & Testing Requirements 1. Create a new class named Student by using the details provided in the following UML diagram (add member variables and functions): Student Studentld: int Name: string - FullTime: bool CourseList : vector JoinCourses(Courses: vector): string + Student 0 + Student (Id: int, FName: string, FTime: bool) Student (Id: int, FName: string, FTime: bool, Courses: vector) Displayinfo (:void + DisplayFullTimeStatus 0:void + DisplayCourses 0:void Update FullTimeStatus : void + UpdateCourses (CourseToAdd: string): void + WriteStudentInfoToFile (outFile: ofstream&): void

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

Relational Database Technology

Authors: Suad Alagic

1st Edition

354096276X, 978-3540962762

More Books

Students also viewed these Databases questions

Question

Which type of soil has more ability to absorb water?

Answered: 1 week ago