Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You should make up a transaction file with at least 3 records of students. Write a main program that creates a collection of students. Your

You should make up a transaction file with at least 3 records of students.

Write a main program that creates a collection of students. Your transaction file contains a set of information about students. Your program should contain four classes: StudentProfile, Person, Student, and Course.

StudentCollection has the following attributes:

vector StCollection;

StudentProfile class has the following attributes:

Person PersonalInfo Student StdInfo

Person class has the following attributes:

long SSN string Fname string Lname int Age char Gender (M for Male and F for Female)

Student class has the following attributes:

long StNo Course Course1 Course Course2 Course Course3

Course Course4

Course Course5

Course class has the following attributes:

long CourseNum string CourseName

Place the following in your transaction file:

123456789

Mary

Anderson

20

F

9800300699

32451

CS211

23145

CS231

87690

Phy301

25677

Chem210

22213

Math210

633322789

Mike

Smith

22

M

9080022299

32251

CS111

11122

Math110

87969

Phy200

25627

Chem110

33313

Bio211

631322111

Michelle

Brown

25

F

611354321

11111

CS911

22222

Math912

33333

Phy913

44444

Chem914

55555

Bio915

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

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

Students also viewed these Databases questions

Question

2. Identify issues/causes for the apparent conflict.

Answered: 1 week ago