Reference no: EM13756463
Create a class called Class to represent a class of students. The class should store the name of the class (Biology, History, etc), the name of the instructor, the number of students, the average GPA of the students in the class, and finally the students in an array of Student objects.
Be sure to include at least the following methods:
1. Constructor that sets the class name and the instructor's name. Initialize the student array to hold 5 students to start.
2. addStudent - Adds a student to the class. Make sure there is enough room in the array for the student before adding. If there is not enough room, expand the array then add the student.
3. removeStudent - Removes a student from the class. Have the user enter a number and remove the student at that index. After removing the student, shift the other students to fill in the gap in the array.
4. calculateAverageGPA - Iterate through the students and calculate the average GPA.
5. printRoster - Print out a roster of all the students in the class. Hint - this can be done very easily by taking advantage of the toString method in the Student class.
Using the linear programming transportation method
: Assume that there is no initial inventory and a forecasted demand of 1,250 units in each of the 3 months. Carrying cost is $1 per unit per month. Solve this aggregate planning problem using the linear programming transportation method.
|
What kind of effects could army have upon stability
: As the union dissolved, so did the army. What kind of effects could this have upon stability? Is there a greater or lesser threat of war as the result of the dissolution of the army?
|
Give reason for schism between catholic and orthodox church
: Explain 3 reasons for the schism between the Roman Catholic Church and the Eastern Orthodox Church.
|
Scheduled an engagement to teach a group of students
: Fill-in for your boss this week. Your boss's assistant informs you that he had scheduled an engagement to teach a group of students at the local University about PERT/CPM approach to project scheduling and has asked that you do it instead. In an init..
|
Create a class called class to represent a class of students
: Create a class called Class to represent a class of students. The class should store the name of the class (Biology, History, etc), the name of the instructor, the number of students, the average GPA of the students in the class, and finally the s..
|
Risk management and business continuity issues
: Data within an enterprise is complex at best. To better deal with a wide range of data, each type of which has unique access and security requirements, enterprise information architects often create data domains. Risk management and business conti..
|
Calculate the prospective earnings per share and prospective
: Perform a scenario analysis on three (3) conditions, good, average, and poor. Depending on your company, look at what would be a factor that will have the most significant impact on profitability of the company. For example, for Golden Hope Plantatio..
|
Treatment of internal and external customers
: In a short essay (not to exceed two pages) explain how you see the treatment of internal and external customers. Is one more important than the other? How does this affect “quality” in the organization?
|
What is the revenue recognition principle
: What is the revenue recognition principle? What is the expense recognition principle? In your opinion, why are these important to financial reporting.
|