Question

In: Math

There are multiple sections of 3 classes that have to be offered. Class A has an...

  1. There are multiple sections of 3 classes that have to be offered. Class A has an average enrollment of 120 per term. Class B has an average of 100 students per term and Class C has an average enrollment of 85 students per term. The rules for opening and cancelling sections are as follows:
  1. Any section of this class must have at least 15 students to run. Any less than this and the section is cancelled.
  2. Each section has a maximum enrollment of 45 students.
  3. A new section will open up when the previous section (s) have an average enrollment of 40.
  4. A new section will open up to accommodate department regulations on staffing.

For each class run a simulation using your chosen distribution and determine the following:

  1. Given that anytime enrollment in a class reaches over 175 students, there will be 5 sections of class, what is the probability of this happening with each class?

Class A =

Class B =

Class C =

ii)    Given that anytime enrollment in a class reaches 135 students to 180 students, there will be 4 sections of class, what is the probability of this happening with each class?

Class A =

Class B =

Class C =

  1. Given that anytime enrollment in a class reaches 95 students to 120 students, there will be 3 sections of class, what is the probability of this happening with each class?

Class A =

Class B =

Class C =

  1. If a third section of Class C opens when enrollment goes above 80, and it gets cancelled when enrollment is below 95, How often does the third section get cancelled? (Enrollment is between 80 and 95)
  1. Based upon the probabilities you found above, how many sections of each class do you offer? 2, 3, 4 or 5?

Class A =

Class B =

Class C =

Using the number of sections, you found above create a schedule that maximizes the quality of teaching these classes. Full Time profs must teach 3-4 sections. Part time profs must teach 1-2 sections.

  1. What is the minimum number of sections (total) that need to be offered?
  1. What is the maximum number of sections (total) you can offer?

Professor Data is below:

Prof

Class

Qual Score

Prof

Class

Qual Score

FT1

Class A

10

PT1

Class A

4

FT1

Class B

10

PT1

Class C

7

FT1

Class C

8

PT2

Class A

8

FT2

Class A

9

PT2

Class C

7

FT2

Class B

7

PT3

Class B

6

FT2

Class C

5

PT3

Class C

6

Given your answers in part v, and possibly modified by your answers in part vi, what is the quality score of your department’s teaching?

How many sections of each class do the professors teach?

Prof

Class

# Sections

Prof

Class

# Sections

FT1

Class A

PT1

Class A

FT1

Class B

PT1

Class C

FT1

Class C

PT2

Class A

FT2

Class A

PT2

Class C

FT2

Class B

PT3

Class B

FT2

Class C

PT3

Class C

Solutions

Expert Solution

Dear,

Here is the code

#include<stdio.h>

void main()

{

char Names[20],highName[20],lowName[20];

int score,high,low,highest[4],lowest[4];

float avera[4];

int i,j;

for(int i=0;i<4;i++)

{

printf("Class:%d",i);

int sum=0;

for(j=0;j<5;j++)

{

printf("Enter name:");

scanf("%s",Names);

printf("Enter score:");

scanf("%d",&score);

if(j==0)

{

strcpy(highName,Names);

strcpy(lowName,Names);

high=score;

low=score;

}

else

{

if(score>high)

{

high=score;

strcpy(highName,Names);

}

if(score<low)

{

low=score;

strcpy(lowName,Names);

}

}

sum=sum+score;

}

highest[i]=high;

lowest[i]=low;

avera[i]=(float)sum/5;

}

float highavg=avera[0];

int highAll=highest[0],h=0,hav=0;

printf("Average for each class");

printf("Class:1\t%f",avera[0]);

float avgavg=avera[0];

for(int i=1;i<4;i++)

{

avgavg=avera[i];

if(highest[i]>highAll)

{h=i; highAll=highest[i];}

if(avera[i]>highavg)

{ highavg=avera[i];hav=i;}

printf("Class:%d\t%f",i+1,avera[0]);

}

printf("Average across all classes:%f",avgavg/4);

printf(" Highest student score in each class");

for(int i=0;i<4;i++)

printf("class 1:%d\t%d",i+1,highest[i]);

printf("Highest class average%f",highavg);

printf("class:%d",hav);

getch();

}


Related Solutions

Consider a class with 3 sections denoted as A, B, C. Let the number of students...
Consider a class with 3 sections denoted as A, B, C. Let the number of students in section A be 10, in section B be 20, and in section C be 15. Let the score of uniformly chosen student be denoted by random variable X. The student’s section be denoted by the random variable Y where Y = 1 if the student is from section A, Y = 2 if the student is from section B and Y = 3...
Design You will need to have at least four classes: a parent class, a child class,...
Design You will need to have at least four classes: a parent class, a child class, a component class, and an unrelated class. The component object can be included as a field in any of the other three classes. Think about what each of the classes will represent. What added or modified methods will the child class have? What added fields will the child class have? Where does the component belong? How will the unrelated class interact with the others?...
I have three classes: class VolleyPlayer, class VolleyTeam and class TestDriver 1.class: public class VolleyPlayer implements...
I have three classes: class VolleyPlayer, class VolleyTeam and class TestDriver 1.class: public class VolleyPlayer implements Comparable<VolleyPlayer> { // instance variables - private String name; private int height; private boolean female; public VolleyPlayer(String name, int height, boolean female) { this.name = name; this.height = height; this.female = female; } public String toString() {    return (female ?"Female":"Male")+": "+name+" ("+height+" cm)"; } public boolean isFemale() {    return female; } public boolean isMale() {    return !female; } public int getHeight()...
A professor has a class with four recitation sections. Each section has 16 students (rare, but...
A professor has a class with four recitation sections. Each section has 16 students (rare, but there are exactly the same number in each class...how convenient for our purposes, yes?). At first glance, the professor has no reason to assume that these exam scores from the first test would not be independent and normally distributed with equal variance. However, the question is whether or not the section choice (different TAs and different days of the week) has any relationship with...
Write the following classes: Class Entry: 1. Implement the class Entry that has a name (String),...
Write the following classes: Class Entry: 1. Implement the class Entry that has a name (String), phoneNumber (String), and address (String). 2. Implement the initialization constructor . 3. Implement the setters and getters for all attributes. 4. Implement the toString() method to display all attributes. 5. Implement the equals (Entry other) to determine if two entries are equal to each other. Two entries are considered equal if they have the same name, phoneNumber, and address. 6. Implement the compareTo (Entry...
An experiment is conducted to determine if classes offered in an online format are as effective...
An experiment is conducted to determine if classes offered in an online format are as effective as classes offered in a traditional classroom setting. Students were randomly assigned to one of the two teaching methods. Final exam scores reported below. a. Test the claim that the standard deviations for the two groups are equal. What is the p-value of the test? b. Construct a 95% confidence interval on the difference in expected final exam scores between the two groups. Does...
An experiment is conducted to determine if classes offered in an online format are as effective...
An experiment is conducted to determine if classes offered in an online format are as effective as classes offered in a traditional classroom setting. Students were randomly assigned to one of the two teaching methods. Data below. a. Test the claim that the standard deviations for the two groups are equal. What is the p-value of the test? b. Construct a 95% confidence interval on the difference in expected final exam scores between the two groups. Does the data support...
Q3) Design a class for saving data of employee, the class should have multiple constructors (constructor...
Q3) Design a class for saving data of employee, the class should have multiple constructors (constructor overloading) for initializing objects with different parameters. The employee class should have different functions for saving and updating bio-data, educational background, and current status like experience, Salary, position & travel history. The employee class should have a function which asks user what do he likes to see about employee (.i.e., Bio-data, current status....) and only show the respective data. Create two objects of interns...
Specifications: This project will have two data classes and a tester class. Design: Create a solution...
Specifications: This project will have two data classes and a tester class. Design: Create a solution for this programming task. You will need to have the following parts: Text file to store data between runs. Two classes that implement the given interfaces. You may add methods beyond those in the interfaces A tester class that tests all of the methods of the data classes. Here are the interfaces for your data classes: package project1; import java.util.ArrayList; public interface Person {...
Specifications: This project will have two data classes and a tester class. Design: Create a solution...
Specifications: This project will have two data classes and a tester class. Design: Create a solution for this programming task. You will need to have the following parts: Text file to store data between runs. Two classes that implement the given interfaces. You may add methods beyond those in the interfaces A tester class that tests all of the methods of the data classes. Here are the interfaces for your data classes: package project1; import java.util.ArrayList; public interface Person {...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT