Answered step by step
Verified Expert Solution
Link Copied!

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 object-oriented 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 2 Requirements:
Write a data structures portfolio application to manage the transfer courses.
1) 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.101)
- 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 151B
- Units - contains integer value in units
2) Given this data file, cs_transfer_courses.dat Download cs_transfer_courses.dat- the application reads and populates the list of data structures in the above step.
Example of a Course that contains the following:
CS 101
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 151B
3
3) Implement the class template class ArrayList that holds the collection of data
Example:
template
class ArrayList
4) Implement a derived class ComputerScienceTransferCourses : public UnorderedArrayList contains the list of courses
Example:
template
class ComputerScienceTransferCourses : public UnorderedArrayList
5) Implement a member method ComputerScienceTransferCourses::sort by using quickSort
Example:
template
class ComputerScienceTransferCourses : public ArrayList {
...
public:
void sort(); // implement quickSort
int search(Course& c)// implement binary search
...
private:
...
};
6) Implement a member method ComputerScienceTransferCourses::search using binary search
Example:
template
class ComputerScienceTransferCourses : public ArrayList {
...
public:
int search(Course& c)// implement binary search
...
};
7) Implement a new class TranferCourse : public Menu like your class UserMenu from Lab 1
Example:
class StudentFortfolio : public Menu {
...
// TODO - you decide what variables and methods to add
private:
ComputerScienceTransferCourses* pTransferCourses; // Use pointer for this lab assignment
...
};
8) Implement the Computer Science Transfer Courses menu, like:
***** Computer Science Transfer Courses *****
1) List of courses - prompt user for sort preference, default sorting by ascending order, and option to sort by descending order (see above 5))
2) View the course details - binary search and view the course details
3) Add a new course - see above 2) for the data format
4) Edit course - binary search and edit course
5) Remove course - binary search and remove course
x) Exit - save data to file cs_transfer_course.dat
9) 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 5)
void viewCourse(...); // biew the course details - binary search and view the course details
void addCourse(...); // Add a new course - see above 2) 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 cs_transfer_course.dat
10) 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

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

Question

What is the relationship between humans and nature?

Answered: 1 week ago