You are asked to write a C console application that implement a system for a simple training center. The training center system should have information about its teachers, courses, students, and registration transactions. Moreover, the system should generate various reports. Here are the classes with their members that you need to create: Data type Variable Name int string String Teacher FirstName LusEName Data type nt string Variable Name CourseNumber CourseName string CourseDescription Course DAY CourseDay Teacher Methods AssignTeacher(Teacher T) Data type Variable Name
You are asked to write a C console application that implement a system for a simple training center. The training center system should have information about its teachers, courses, students, and registration transactions. Moreover, the system should generate various reports. Here are the classes with their members that you need to create: Data type Variable Name int string String Teacher FirstName LusEName Data type nt string Variable Name CourseNumber CourseName string CourseDescription Course DAY CourseDay Teacher Methods AssignTeacher(Teacher T) Data type Variable Name
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
![Details:
You are asked to write a C console application that implement a system for a simple training
center. The training center system should have information about its teachers, courses,
students, and registration transactions. Moreover, the system should generate various reports.
Here are the classes with their members that you need to create:
Data type variable Name
int
string
String
Teacher
FirstName
LuEName
Data type
Variable Name
CourseNumber
CourseName
Coursebescripnion
Coursebay
Int
string
string
Course
DAY
Teacher
Methods
AssignTeacher(Teacher T)
Data type
Variable Name
int
Sid
Student
string
string
FirstName
LastName
Data type Variable name
Student
Course
DateTime TransDate
Regitem
Data type Variable name
Regitem Regitems
Metheds
Array or collection
Adds a new Regitem and return brue ifRis not
in the Regitems, otherwise do nothing and
return fale
Add all Regitem objects from Regitems that
are in RS. Return array of booleans with the
same length as RS. the item in RS at position
Kinserted successfuly, then the return bool
array at position K should be true, otherwise
fale
Delete the Regtem that is equal to Rand
retum true. Otherwise, do nothing and return
false
Delete all Regitem objects from Regitems that
are in RS. Return array of booleans with the
same length as RS. the item in RS at poution
x deleted successtully, then the retum bool
bool AddRegitemegitem R
bool AddAIRegitemsRegitem)
Registration
bool DeleteFRegitem(Regitem R)
bool DeleteAIReghemsRegitem aray at position x should be true, otherwise
fahe
Areport of information about al registered
students
Areport of all students who are registering
Course C Each student in a line
A report of all courses that student S
registered. Each coure ina line.
AllRegisteredstudents
LEach Regitem in arecord.
AIStudentsCourseC)
ACoursetudent S)](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F4fa71505-ad89-48c8-ae0b-313b8ef3af08%2Fa68bd1ea-4234-4285-9fc3-28f9ff96d77c%2F3ohn9y6_processed.png&w=3840&q=75)
Transcribed Image Text:Details:
You are asked to write a C console application that implement a system for a simple training
center. The training center system should have information about its teachers, courses,
students, and registration transactions. Moreover, the system should generate various reports.
Here are the classes with their members that you need to create:
Data type variable Name
int
string
String
Teacher
FirstName
LuEName
Data type
Variable Name
CourseNumber
CourseName
Coursebescripnion
Coursebay
Int
string
string
Course
DAY
Teacher
Methods
AssignTeacher(Teacher T)
Data type
Variable Name
int
Sid
Student
string
string
FirstName
LastName
Data type Variable name
Student
Course
DateTime TransDate
Regitem
Data type Variable name
Regitem Regitems
Metheds
Array or collection
Adds a new Regitem and return brue ifRis not
in the Regitems, otherwise do nothing and
return fale
Add all Regitem objects from Regitems that
are in RS. Return array of booleans with the
same length as RS. the item in RS at position
Kinserted successfuly, then the return bool
array at position K should be true, otherwise
fale
Delete the Regtem that is equal to Rand
retum true. Otherwise, do nothing and return
false
Delete all Regitem objects from Regitems that
are in RS. Return array of booleans with the
same length as RS. the item in RS at poution
x deleted successtully, then the retum bool
bool AddRegitemegitem R
bool AddAIRegitemsRegitem)
Registration
bool DeleteFRegitem(Regitem R)
bool DeleteAIReghemsRegitem aray at position x should be true, otherwise
fahe
Areport of information about al registered
students
Areport of all students who are registering
Course C Each student in a line
A report of all courses that student S
registered. Each coure ina line.
AllRegisteredstudents
LEach Regitem in arecord.
AIStudentsCourseC)
ACoursetudent S)
![Here are more detailed requirements that you need to consider while coding your program:
1- All classes should have parameter-less constructor and constructor with all instance
variables in that class
2- All instance variables should be implemented as properties with getters and setters
3- All classes should override the ToString() and Equals methods. The equals method
should include all instance variable except in the case of Regitem. The Equals method of
Regitem should not include the TransDate variable in the comparison between two
objects.
4- The DAY datatype is an enum of all seven week days
5- Your program should use the Enumeration type for the DAY variable
6 You project should be free of any compilation errors. If your program does not run, you
will get zero
7. The report methods in the Registration class should be readable and printed nicely
8- The Main method should be only used for testing your program which means that the
TA can comment your Main method and replace it with another Main method and
your program should not be affected. In fact we will use our own Main method to
check you program. That's why following the exact names in this document is very
crucial to grade your homework.
9- It is your responsibility to follow the exact name of the classes, methods, and
properties mentioned in this assignment. For example, if the name of a variable is
FirstName in this document, then you MUST name it FirstName not firstname nor
Firstname nor first, etc. If you fail to follow the exact names, we will deduct some
points. Same thing for the names of the classes and the methods.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F4fa71505-ad89-48c8-ae0b-313b8ef3af08%2Fa68bd1ea-4234-4285-9fc3-28f9ff96d77c%2F94hthdx_processed.png&w=3840&q=75)
Transcribed Image Text:Here are more detailed requirements that you need to consider while coding your program:
1- All classes should have parameter-less constructor and constructor with all instance
variables in that class
2- All instance variables should be implemented as properties with getters and setters
3- All classes should override the ToString() and Equals methods. The equals method
should include all instance variable except in the case of Regitem. The Equals method of
Regitem should not include the TransDate variable in the comparison between two
objects.
4- The DAY datatype is an enum of all seven week days
5- Your program should use the Enumeration type for the DAY variable
6 You project should be free of any compilation errors. If your program does not run, you
will get zero
7. The report methods in the Registration class should be readable and printed nicely
8- The Main method should be only used for testing your program which means that the
TA can comment your Main method and replace it with another Main method and
your program should not be affected. In fact we will use our own Main method to
check you program. That's why following the exact names in this document is very
crucial to grade your homework.
9- It is your responsibility to follow the exact name of the classes, methods, and
properties mentioned in this assignment. For example, if the name of a variable is
FirstName in this document, then you MUST name it FirstName not firstname nor
Firstname nor first, etc. If you fail to follow the exact names, we will deduct some
points. Same thing for the names of the classes and the methods.
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education