Questions
In 2018, the Westgate Construction Company entered into a contract to construct a road for Santa...

In 2018, the Westgate Construction Company entered into a contract to construct a road for Santa Clara County for $10,000,000. The road was completed in 2020. Information related to the contract is as follows:

2018 2019 2020
Cost incurred during the year $ 2,059,000 $ 2,627,000 $ 2,655,400
Estimated costs to complete as of year-end 5,041,000 2,414,000 0
Billings during the year 2,190,000 2,496,000 5,314,000
Cash collections during the year 1,895,000 2,400,000 5,705,000


Westgate recognizes revenue over time according to percentage of completion.

3. Complete the information required below to prepare a partial balance sheet for 2018 and 2019 showing any items related to the contract. (Do not round intermediate calculations.)

In: Accounting

1. Dictionaries and Lists. a) Implement a list of student dictionaries containing the following data: name:...

1. Dictionaries and Lists.

a) Implement a list of student dictionaries containing the following data:

name: Andy, classes: ET580 MA471 ET574

name: Tim, classes: ET574 MA441 ET575

name: Diane, classes: MA441 MA471 ET574

name: Lucy, classes: ET574 ET575 MA471

name: Steven, classes: ET574 MA441 ET580

b) Implement a dictionary of courses and set each courses enrollment to 0: ET580: 0 ET574: 0 ET575: 0 MA441: 0 MA471: 0

c) Use a loop and if statements to read class data from the list of students and update the enrollment for each course.

d) Print the updated list of courses. If the above steps are done correctly your output should match the output example.

Output Example

ET580 2 ET575 2 ET574 5 MA441 3 MA471 3

In: Computer Science

open-book, free writing, literature review. (Students may focus on one or two genetic terms learned from...

open-book, free writing, literature review. (Students may focus on one or two genetic terms learned from this course, searching for information indicating their connections with particular genetic diseases, then write paragraphs with description or discussion of specific topics, such as genetic principles, disease phenotype and medication, applied technology for diagnosis or therapy, news or comments on recent advances, etc.)
II. Requirement:
1. a title of your writing
2. a list of 3~6 keywords
3. the main body of text in paragraphs (limited to 850 words in total, please do not exceed)
4. a list of 3~10 citations (remember to mark clearly the location in main text where they are referred)

In: Biology

Create an application that allows you to enter student data than consists of an ID number,...

Create an application that allows you to enter student data than consists of an ID number, first name, last name, and grade point average. If the student's GPA is less than 2.0, write the record to an academic probation file, otherwise, write the record to a good standing file Once the student records are complete, read in the good standing file. If the GPA is greater than or equal to 3.5, display the students name for the Dean's List Be sure to include any exceptions needed for the program to run smoothly. Save the file as StudentsStanding.java I've figured out the first part in writing the files, but having trouble with reading in the files to make the Dean's List.

In: Computer Science

IN JAVACreate a Java application that meets the following specifications. Write whatever public and private methods...

IN JAVACreate 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.

  • Student has a String name, a double GPA, and a reasonable equals() method.
  • 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 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. Make sure a Course's list of Students is correctly saved and retrieved. Test storage using one instance of each Persister to save a file and a different instance to retrieve it, just as in a real-world application you need to save data, shut the application down, start it again, and load the file. The tests will be easiest if you make use of the .equals() methods in your classes to make sure the data you saved is the same as the data you retrieve. You do not need to provide a GUI for data entry, but you will need to write public getters and setters for the JUnit tests to use.

In: Computer Science

IN JAVACreate a Java application that meets the following specifications. Write whatever public and private methods...

IN JAVACreate 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.

  • Student has a String name, a double GPA, and a reasonable equals() method.
  • 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 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. Make sure a Course's list of Students is correctly saved and retrieved. Test storage using one instance of each Persister to save a file and a different instance to retrieve it, just as in a real-world application you need to save data, shut the application down, start it again, and load the file. The tests will be easiest if you make use of the .equals() methods in your classes to make sure the data you saved is the same as the data you retrieve. You do not need to provide a GUI for data entry, but you will need to write public getters and setters for the JUnit tests to use.

In: Computer Science

You have been hired by the Coca-Cola Company to determine if students at Oregon State University...

You have been hired by the Coca-Cola Company to determine if students at Oregon State University prefer Coke or Pepsi. A taste test was performed where students were given two identical cups and were asked to taste both drinks. They had to report which drink they prefer. It was found that 69 out of 125 students indicated they preferred cup that contained Coke.

1. (4 pts) What is the random variable in this problem? Does the random variable have a binomial distribution? Explain. (Recall, there are 4 checks for a discrete random variable to have a binomial distribution – make sure you list all 4. Discuss in detail if you think the “observations are independent of each other”.)

2. (1 pt) What does ?? represent in the context of this study?

3. (1 pt) Calculate the sample proportion, ??̂, of students in the sample prefer Coke. Show work.

4. Perform a hypothesis test to determine if OSU students prefer one brand over the other by answering the following questions:

a. (3 pts) State the null and alternative hypotheses in statistical notation. Define any notation used. (Hint: if there really is no preference, would be expect 50% to prefer Coke and 50% to prefer Pepsi?)

b. (3 pts) Report the p-value and state a conclusion in a complete sentence in the context of the problem.

c. (3 pts) Report a 95% confidence interval for the proportion of all OSU students who prefer Coke. Interpret this confidence interval in the context of the problem.

5. (2 pts) Do you believe it is legitimate to use the results of this hypothesis test and confidence interval to make a conclusion about all OSU students? Why or why not?

In: Statistics and Probability

Write a program in python to read from a file the names and grades of a...

Write a program in python to read from a file the names and grades of a class of students to calculate the class average, the maximum, and the minimum grades. The program should then write the names and grades on a new file identifying the students who passed and the students who failed. The program should consist of the following functions:

  1. a) Develop a getGrades() function that reads data from a file and stores it and returns it as a dictionary. The function gets the file name as an argument, reads the data, and returns a dictionary. Each line on the file should contain the record of one student holding his or her name and the corresponding grade.

  2. b) Write a second function statsGrades() that iterates over the dictionary and determines the statistics on the average, minimum, and maximum of the grades and return these statistics as a list.

c) Write a third function reportGrades() that will iterate over the dictionary and write on a new file named Class_Results.txt the names of students whose grades are greater or equal to 60, preceded by the message “Passing Students”. Then the names of students whose grades are lower than 60 should written on the file, preceded by the message “Failing Students”. Finally, the class statistics should be written on the file, also preceded by the message “Class Statistics”.

d) Write a main program that coordinates the operation of the three developed functions. The program should inform the user of what is its function and request from the user the name of the file where class names and grades are written. Form you own data file, Class_Data.txt that have the following entries :

Majdi, 95 Tarek, 56 Jad, 77 Youssef, 97 Zahra, 86 Joe, 81 Fidele, 71 Mosbah, 98 Emile, 76 Aline, 68 Nicolas, 73 Ahmad, 53

In: Computer Science

Write a python program to read from a file the names and grades of a class...

Write a python program to read from a file the names and grades of a class of students to calculate the class average, the maximum, and the minimum grades. The program should then write the names and grades on a new file identifying the students who passed and the students who failed. The program should consist of the following functions: a) Develop a gradesInput() function that reads data from a file and stores it and returns it as a dictionary. The function has one argument which is the name of the file where the data is entered. Each line on the file should contain the record of one student holding his or her name and the corresponding grade.

b) Write a second function gradesAssess() that iterates over the dictionary and determines the statistics on the average, minimum, and maximum of the grades and return these statistics as a list.

c) Write a third function gradesReport() that will iterate over the dictionary and write on a new file named Class_Results.txt the names of students whose grades are greater or equal to 60, preceded by the message “Passing Students”. Then the names of students whose grades are lower than 60 should be written on the file, preceded by the message “Failing Students”. Finally, the class statistics should be written on the file, also preceded by the message “Class Statistics”.

d) Write a main program that coordinates the operation of the three developed functions. The program should inform the user of what is its function and request from the user the name of the file where class names and grades are written. Form you own data file, Class_Data.txt that has the following entries : Raja, 90 Yahya, 50 Jad, 70 Hussein, 71 John, 97 Tony, 98 Nasser, 78 Maroun, 70 Pamela, 78 Maroun, 70 Ali, 74 Firas, 85

In: Computer Science

You are testing the null hypothesis that the average money a FSU student has in his...

You are testing the null hypothesis that the average money a FSU student has in his or her pocket is $20 against the alternative that it’s greater than that. You are testing at a 5 percent significance level. You know the population variance is 81 dollars squared. In addition, you take a random sample of 100 students.

i. Calculate the power of this test if the true mean is $23. Represent it graphically.

Note: For parts, ii, iii, iv and v, take the information above and change only the one item that is described. (i.e. compare part iii to our answer and values in part i, not to part ii.) Also, show how your diagram would change if you were drawing the true distribution of sample means and the distribution under the null hypothesis.

ii. What does the power equal if we changed α to .10?

iii. What if we changed our sample size to 36?

iv. What if the population variance was really 25 dollars squared.

v. What if the true population mean is $22?

In: Statistics and Probability