Questions
Create a Java application that meets the following specifications. Write whatever public and private methods are...

Create a Java application that meets the following specifications. Write whatever public and private methods are necessary. Put all of these classes in a package called persistence1.

  • The student has a String name, a double GPA, and a reasonable equals() method.
  • The course has a String name, an ArrayList of Students, and a reasonable equals() method. It will also need a method to add a Student.
  • StudentPersister uses the binary file I/O to save and retrieve Students and Lists of Students. CoursePersister does the same for Courses and Lists of Courses. The save methods will need to deal with NotSerializableExceptions. Make sure that the read methods do not cause crashes if you attempt to read files that do not contain the anticipated objects.
  • Write a JUnit test case for each of the Persisters. Test to make sure StudentPersister correctly saves and retrieves Students and lists of Students, and that CoursePersister correctly saves and retrieves Courses and lists of Courses.

In: Computer Science

The Survey of Study Habits and Attitudes (SSHA) is a phychological test that measures the motivation,...

The Survey of Study Habits and Attitudes (SSHA) is a phychological test that measures the motivation, attitude toward school, and study habits of students. Scores range from 0 to 200. The mean score for U.S. college students is about 115, and the standard deviation is about 30. A teacher who suspects that older students have better attitudes toward school gives that the SSHA to 25 students who are at least 30 years of age. Their mean is ¯x = 127.8.

(a) Assuming that σ = 30 for the population of older students, carry out a test of

H0 : µ = 115

Ha : µ > 115

Report the P-value of your test, and state your conclusion clearly.

(b) Your test in part (a) required two important assumptions in addition to the assumption that the value of σ is known. What are they? Which of these assumptions is most important to the validity of your conclusion in part (a)?

In: Math

Create a Java application that meets the following specifications. Write whatever public and private methods are...

Create a Java application that meets the following specifications. Write whatever public and private methods are necessary. Put all of these classes in a package called persistence1.

  • The student has a String name, a double GPA, and a reasonable equals() method.
  • The course has a String name, an ArrayList of Students, and a reasonable equals() method. It will also need a method to add a Student.
  • StudentPersister uses the binary file I/O to save and retrieve Students and Lists of Students. CoursePersister does the same for Courses and Lists of Courses. The save methods will need to deal with NotSerializableExceptions. Make sure that the read methods do not cause crashes if you attempt to read files that do not contain the anticipated objects.
  • Write a JUnit test case for each of the Persisters. Test to make sure StudentPersister correctly saves and retrieves Students and lists of Students, and that CoursePersister correctly saves and retrieves Courses and lists of Courses.

In: Computer Science

According to a Virginia Tech survey, college students make an average of 11 cell phone calls...

According to a Virginia Tech survey, college students make an average of 11 cell phone calls per day. Moreover, 80% of the students surveyed indicated that their parents pay their cell phone expenses (J. Elliot, “Professor Researches Cell Phone Usage Among Students,” www.physorg.com, February 26, 2007).

1. If you select a student at random, what is the probability that he or she makes more than 10 calls in a day? More than 15? More than 20?

2. If you select a random sample of 10 students, what distribution can you use to model the proportion of students who have parents who pay their cell phone expenses?

3. Using the distribution selected in (c), what is the probability that all 10 have parents who pay their cell phone expenses? At least 9? At least 8?

In: Math

In C# Create classes: Person, Student, Employee, Professor, Staff and Address ☐ Address class must have...

In C#

Create classes: Person, Student, Employee, Professor, Staff and Address

  1. ☐ Address class must have suitable auto-implemented properties for Address 1, Address 2 and City.
  2. ☐ Person class must have suitable auto-implemented properties for Name, Residence (type Address) and email.
  3. ☐ Student and Employee must be subclasses of Person.
  4. ☐ Employee must be a super class for Professor and Staff.
  5. ☐ Employee class must have suitable auto-implemented properties for salary (between 2000 to 8000), and hire date.
  6. ☐ Professor class must have suitable auto-implemented properties for office hours and rank (use enum, e.g. Assist. Prof., Assoc. Prof., etc.)
  7. ☐ Staff class must have auto-implemented property for a designation (use enum, e.g. Office Assistance, Clerk, etc.)
  8. ☐ All classes must have suitable constructor(s) and making use of super class constructors as applicable.
  9. ☐ Override the ToString method in each class to return the class name and all other information in one/single line (use string interpolation and use base class ToString as applicable)

In the Main Method, create three Lists for (Student, Staff, and Professor) with hard-coded data for at least 4 entries each.

Implement the menu driven CONSOLE logic taking a user input as:

Press 1 to modify Student

Press 2 to modify Staff

Press 3 to modify Professor

Press 0 to exit program

☐modify Student Menu

Press 1 to list all students

Press 2 to add a new student

Press 3 to update …

Press 4 to delete …

Press 5 to return to main menu

☐ modify Staff Menu

Press 1 to list all Staff

Press 2 to add a new Staff

Press 3 to update …

Press 4 to delete …

Press 5 to return to main menu

☐modify Professor Menu

Press 1 to list all Professors

Press 2 to add a new Professor

Press 3 to update …

Press 4 to delete …

Press 5 to return to main menu

☐ Console application must have a hierarchy of above-shown menus and run continuously until the person quits the application

☐ To list, add, update and delete to a list one must use LINQ.

In: Computer Science

The 1D velocity of an animated space alien is well-represented by the expression v(t)= t3 -11t2...

The 1D velocity of an animated space alien is well-represented by the expression v(t)= t3 -11t2 +38t -40 with t in seconds and v in m/sec. Assume that x(1)=0 m and consider the motion between t = 1 and t = 6 sec. (a) What are the (implied) units of the number 11 in the expression for v(t)? (b) During what times is the alien moving in the positive direction? At what times is the alien at rest? (c) What is the average acceleration of the alien between 2 and 5 sec? (d) What is the instantaneous acceleration of the alien at t = 5 sec? (e) What is the average velocity of the alien between 1 and 5 sec (f) Where is the alien at t = 4 sec? (x = ?)

In: Physics

5. Equations of the form y’ = P(x)*y^2 + Q(x)*y + R(x) are called Riccati equations....

5. Equations of the form y’ = P(x)*y^2 + Q(x)*y + R(x) are called Riccati equations.

i) If we know a solution y = φ(x) of this equation, then any other solution

can be written in the form y(x) = φ(x)+ 1/v(x), where v(x) is an unknown

function which satisfies a certain linear equation. Using the fact that

φ and y both solve the above Riccati equation, find the differential

equation that v satisfies.

ii) Consider the equation 3y’ + y^2 +2/(x^2) = 0. Find one solution of this equation by inspection.

iii) Use the method of part(i) to find the general solution of the equation

in (ii).

In: Math

A skydiver, weighing 180 lb (including equipment) falls vertically downward from an altitude of 4000 ft...

A skydiver, weighing 180 lb (including equipment) falls vertically downward from an altitude of 4000 ft and opens the parachute after 10 s of free fall. Assume that the force of air resistance, which is directed opposite to the velocity, is of magnitude 0.75|v| when the parachute is closed and is of magnitude 10|v| when the parachute is open, where the velocity v is measured in ft/s. (A computer algebra system is recommended. Use g = 32 ft/s2 for the acceleration due to gravity. Round your answers to two decimal places.)

Find the distance fallen before the parachute opens.

What is the limiting velocity vLafter the parachute opens?

Determine how long the sky diver is in the air after the parachute opens.

In: Advanced Math

(i) Derive a generic relationship between the separation of vibrational energy levels, ΔG, and the vibrational...

(i) Derive a generic relationship between the separation of vibrational energy levels, ΔG, and the vibrational quantum number for an arbitrary transition from v to v + 1. [3 marks]

(ii) What factors influence the strength of transitions between two, bound electronic states of a molecule? [3 marks]

(iii) Explain why the rotational constant is different for different vibrational energy levels. A diagram may be helpful. [3 marks]

(iv) Use a diagram to show differences between the experimental measurement of an absorption spectrum and a Raman spectrum? [4 marks]

(v) The solution to the Schrödinger equation for the hydrogen atom results in several quantum numbers. Give the name, symbol, and the physical significance of these quantum numbers, along with the range of their values.

In: Chemistry

The capacitors referred to in this problem have only empty space between the plates. (a) Show...

The capacitors referred to in this problem have only empty space between the plates.

(a) Show that a parallel-plate capacitor has a displacement current in the region between its plates that is given by Id = C dV/dt, where C is the capacitance and V is the potential difference between the plates. (Do this on paper. Your instructor may ask you to turn in this work.)

(b) A 5.00-nF parallel-plate capacitor is connected to an ideal ac generator so the potential difference between the plates is given by V = V0 cos ωt, where V0 = 3.00 V and ω = 500π rad/s. Find the displacement current in the region between the plates as a function of time. (Use the following as necessary: t and π.) Id = _____________µA

In: Physics