Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please help me in c + + to create an object - oriented programming ( OOP ) program that the student portfolio program. The Student
please help me in c to create an objectoriented programming OOP program that the student portfolio program. The Student Portfolio is a collection of student work that provides an overview of the student's learning process, like achievements, projects, courses, assignments, grades, etc.
In this lab exercise, you will learn to organize, store, and perform operations on data. Operations performed on a data structure include accessing or updating stored data, searching for specific data, inserting new data, and removing data. A data structure is a way of organizing, storing, and performing operations on data. Operations performed on a data structure include accessing or updating stored data, searching for specific data, inserting new data, and removing data.
Lab Requirements:
Write a data structures portfolio application to manage the transfer courses.
Implement a class Course that contains the following fields and all the common overloading operators:
Department contains the department ex CS
Course contain the course number ex
Title contains the course description
Description contains multiple lines of description. The ending backslash is a special character that indicates the continuation of the next line.
Prerequisite contains string value like ENGL B
Units contains integer value in units
Given this data file, cstransfercourses.dat Download cstransfercourses.dat the application reads and populates the list of data structures in the above step.
Example of a Course that contains the following:
CS
Introduction to Computers and Information Technology
This course is a general introduction to the area of computers and information
technology, and is designed for all students. This survey course examines a broad
overview of topics including software, hardware, the networking of computer systems,
information technology, and survey of programming languages. Students explore the
implications of this technology with regard to today's information society.
ENGL B
Implement the class template class ArrayList that holds the collection of data
Example:
template
class ArrayList
Implement a derived class ComputerScienceTransferCourses : public UnorderedArrayList contains the list of courses
Example:
template
class ComputerScienceTransferCourses : public UnorderedArrayList
Implement a member method ComputerScienceTransferCourses::sort by using quickSort
Example:
template
class ComputerScienceTransferCourses : public ArrayList
public:
void sort; implement quickSort
int searchCourse& c implement binary search
private:
;
Implement a member method ComputerScienceTransferCourses::search using binary search
Example:
template
class ComputerScienceTransferCourses : public ArrayList
public:
int searchCourse& c implement binary search
;
Implement a new class TranferCourse : public Menu like your class UserMenu from Lab
Example:
class StudentFortfolio : public Menu
TODO you decide what variables and methods to add
private:
ComputerScienceTransferCourses pTransferCourses; Use pointer for this lab assignment
;
Implement the Computer Science Transfer Courses menu, like:
Computer Science Transfer Courses
List of courses prompt user for sort preference, default sorting by ascending order, and option to sort by descending order see above
View the course details binary search and view the course details
Add a new course see above for the data format
Edit course binary search and edit course
Remove course binary search and remove course
x Exit save data to file cstransfercourse.dat
Implement these methods selection;
class StudentFortfolio : public Menu
void showList parameter ; prompt user for sort preference, default sorting by ascending
order, and option to sort by descending order see above
void viewCourse; biew the course details binary search and view the course details
void addCourse; Add a new course see above for the data format
void editCourse; Edit course binary search and edit course
void removeCourse; Remove course binary search and delete course
void quit; Exit save data to file cstransfercourse.dat
Use to format the output for cout and follow the C Programming guidelines
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started