Questions
using java, parse a text file to answer the following question: -list sentences with the maximum...

using java, parse a text file to answer the following question:
-list sentences with the maximum number of occurences of the word “the” in the whole file and also list the corresponding frequency. (cannot use hash maps)

example output:
the:3:The day had came to leave before the storm.
What hit the back bumper of the car before the window cracked?
The classroom doors where shut closed before the students open the project.

In: Computer Science

For this problem, carry at least four digits after the decimal in your calculations. Answers may...

For this problem, carry at least four digits after the decimal in your calculations. Answers may vary slightly due to rounding.

Santa Fe black-on-white is a type of pottery commonly found at archaeological excavations at a certain monument. At one excavation site a sample of 586 potsherds was found, of which 358 were identified as Santa Fe black-on-white.

(a) Let p represent the proportion of Santa Fe black-on-white potsherds at the excavation site. Find a point estimate for p. (Round your answer to four decimal places.)


(b) Find a 95% confidence interval for p. (Round your answers to three decimal places.)

lower limit    
upper limit    


Give a brief statement of the meaning of the confidence interval.

95% of the confidence intervals created using this method would include the true proportion of potsherds. 5% of the confidence intervals created using this method would include the true proportion of potsherds.     95% of all confidence intervals would include the true proportion of potsherds. 5% of all confidence intervals would include the true proportion of potsherds.


(c) Do you think that np > 5 and nq > 5 are satisfied for this problem? Explain why this would be an important consideration.

Yes, the conditions are satisfied. This is important because it allows us to say that is approximately normal. No, the conditions are not satisfied. This is important because it allows us to say that is approximately normal.     No, the conditions are not satisfied. This is important because it allows us to say that is approximately binomial. Yes, the conditions are satisfied. This is important because it allows us to say that is approximately binomial.

In: Statistics and Probability

For this problem, carry at least four digits after the decimal in your calculations. Answers may...

For this problem, carry at least four digits after the decimal in your calculations. Answers may vary slightly due to rounding. Santa Fe black-on-white is a type of pottery commonly found at archaeological excavations at a certain monument. At one excavation site a sample of 572 potsherds was found, of which 353 were identified as Santa Fe black-on-white. (a) Let p represent the proportion of Santa Fe black-on-white potsherds at the excavation site. Find a point estimate for p. (Round answer to four decimal places.)

(b) Find a 95% confidence interval for p. (Round answers to three decimal places.)

lower limit

upper limit

Give a brief statement of the meaning of the confidence interval.

5% of the confidence intervals created using this method would include the true proportion of potsherds.

95% of the confidence intervals created using this method would include the true proportion of potsherds.

5% of all confidence intervals would include the true proportion of potsherds.

95% of all confidence intervals would include the true proportion of potsherds.

(c) Do you think that np > 5 and nq > 5 are satisfied for this problem? Explain why this would be an important consideration.

No, the conditions are not satisfied. This is important because it allows us to say that p̂ is approximately normal.

No, the conditions are not satisfied. This is important because it allows us to say that p̂ is approximately binomial.

Yes, the conditions are satisfied. This is important because it allows us to say that p̂ is approximately binomial.

Yes, the conditions are satisfied. This is important because it allows us to say that p̂ is approximately normal.

In: Statistics and Probability

For this problem, carry at least four digits after the decimal in your calculations. Answers may...

For this problem, carry at least four digits after the decimal in your calculations. Answers may vary slightly due to rounding.

Santa Fe black-on-white is a type of pottery commonly found at archaeological excavations at a certain monument. At one excavation site a sample of 600 potsherds was found, of which 360 were identified as Santa Fe black-on-white.

(a) Let p represent the proportion of Santa Fe black-on-white potsherds at the excavation site. Find a point estimate for p. (Round your answer to four decimal places.)


(b) Find a 95% confidence interval for p. (Round your answers to three decimal places.)

lower limit    

upper limit    


Give a brief statement of the meaning of the confidence interval.

5% of the confidence intervals created using this method would include the true proportion of potsherds.

5% of all confidence intervals would include the true proportion of potsherds.

95% of the confidence intervals created using this method would include the true proportion of potsherds.

95% of all confidence intervals would include the true proportion of potsherds.


(c) Do you think that np > 5 and nq > 5 are satisfied for this problem? Explain why this would be an important consideration.

Yes, the conditions are satisfied. This is important because it allows us to say that is approximately normal.

No, the conditions are not satisfied. This is important because it allows us to say that is approximately normal.

No, the conditions are not satisfied. This is important because it allows us to say that is approximately binomial.

Yes, the conditions are satisfied. This is important because it allows us to say that is approximately binomial.

In: Statistics and Probability

For this problem, carry at least four digits after the decimal in your calculations. Answers may...

For this problem, carry at least four digits after the decimal in your calculations. Answers may vary slightly due to rounding. Santa Fe black-on-white is a type of pottery commonly found at archaeological excavations at a certain monument. At one excavation site a sample of 584 potsherds was found, of which 354 were identified as Santa Fe black-on-white. (a) Let p represent the proportion of Santa Fe black-on-white potsherds at the excavation site. Find a point estimate for p. (Round your answer to four decimal places.) (b) Find a 95% confidence interval for p. (Round your answers to three decimal places.) lower limit upper limit Give a brief statement of the meaning of the confidence interval. 95% of the confidence intervals created using this method would include the true proportion of potsherds. 5% of the confidence intervals created using this method would include the true proportion of potsherds. 5% of all confidence intervals would include the true proportion of potsherds. 95% of all confidence intervals would include the true proportion of potsherds. (c) Do you think that np > 5 and nq > 5 are satisfied for this problem? Explain why this would be an important consideration. Yes, the conditions are satisfied. This is important because it allows us to say that p̂ is approximately normal. Yes, the conditions are satisfied. This is important because it allows us to say that p̂ is approximately binomial. No, the conditions are not satisfied. This is important because it allows us to say that p̂ is approximately normal. No, the conditions are not satisfied. This is important because it allows us to say that p̂ is approximately binomial.

In: Statistics and Probability

I need this question answered assuming that Westgate Construction's contract with Santa Clara County does NOT...

I need this question answered assuming that Westgate Construction's contract with Santa Clara County does NOT qualify for revenue recongnition over time... In 2016, 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 2018. Information related to the contract is as follows:

2016 2017 2018
Cost incurred during the year $ 2,400,000 $ 3,600,000 $ 2,200,000
Estimated costs to complete as of year-end 5,600,000 2,000,000 0
Billings during the year 2,000,000 4,000,000 4,000,000
Cash collections during the year 1,800,000 3,600,000 4,600,000
****IMPORTANT - Complete the requirements assuming that Westgate Construction's contract with Santa Clara County does NOT qualify for revenue recongnition over time.****
1. Calculate the amount of revenue and gross profit (loss) to be recognized in each of the three years.
2-a. In the journal below, complete the necessary journal entries for the year 2016 (credit "Various accounts" for construction costs incurred).
2-b. In the journal below, complete the necessary journal entries for the year 2017 (credit "Various accounts" for construction costs incurred).
2-c. In the journal below, complete the necessary journal entries for the year 2018 (credit "Various accounts" for construction costs incurred).
3. Complete the information required below to prepare a partial balance sheet for 2016 and 2017 showing any items related to the contract.
4. Calculate the amount of revenue and gross profit (loss) to be recognized in each of the three years assuming the following costs incurred and costs to complete information.

In: Accounting

For this problem, carry at least four digits after the decimal in your calculations. Answers may...

For this problem, carry at least four digits after the decimal in your calculations. Answers may vary slightly due to rounding.

Santa Fe black-on-white is a type of pottery commonly found at archaeological excavations at a certain monument. At one excavation site a sample of 594 potsherds was found, of which 359 were identified as Santa Fe black-on-white.

(a) Let p represent the proportion of Santa Fe black-on-white potsherds at the excavation site. Find a point estimate for p. (Round your answer to four decimal places.)


(b) Find a 95% confidence interval for p. (Round your answers to three decimal places.)

lower limit    
upper limit    


Give a brief statement of the meaning of the confidence interval.

5% of the confidence intervals created using this method would include the true proportion of potsherds.5% of all confidence intervals would include the true proportion of potsherds.     95% of the confidence intervals created using this method would include the true proportion of potsherds.95% of all confidence intervals would include the true proportion of potsherds.


(c) Do you think that np > 5 and nq > 5 are satisfied for this problem? Explain why this would be an important consideration.

Yes, the conditions are satisfied. This is important because it allows us to say that is approximately normal.Yes, the conditions are satisfied. This is important because it allows us to say that is approximately binomial.     No, the conditions are not satisfied. This is important because it allows us to say that is approximately normal.No, the conditions are not satisfied. This is important because it allows us to say that is approximately binomial.

In: Statistics and Probability

For this problem, carry at least four digits after the decimal in your calculations. Answers may...

For this problem, carry at least four digits after the decimal in your calculations. Answers may vary slightly due to rounding.

Santa Fe black-on-white is a type of pottery commonly found at archaeological excavations at a certain monument. At one excavation site a sample of 578 potsherds was found, of which 352 were identified as Santa Fe black-on-white.

(a) Let p represent the proportion of Santa Fe black-on-white potsherds at the excavation site. Find a point estimate for p. (Round your answer to four decimal places.)


(b) Find a 95% confidence interval for p. (Round your answers to three decimal places.)

lower limit    
upper limit    


Give a brief statement of the meaning of the confidence interval.

5% of the confidence intervals created using this method would include the true proportion of potsherds.95% of the confidence intervals created using this method would include the true proportion of potsherds.    5% of all confidence intervals would include the true proportion of potsherds.95% of all confidence intervals would include the true proportion of potsherds.


(c) Do you think that np > 5 and nq > 5 are satisfied for this problem? Explain why this would be an important consideration.

Yes, the conditions are satisfied. This is important because it allows us to say that is approximately binomial.

Yes, the conditions are satisfied. This is important because it allows us to say that is approximately normal.    

No, the conditions are not satisfied. This is important because it allows us to say that is approximately binomial.

No, the conditions are not satisfied. This is important because it allows us to say that is approximately normal.

In: Statistics and Probability

(1) For this problem, carry at least four digits after the decimal in your calculations. Answers...

(1) For this problem, carry at least four digits after the decimal in your calculations. Answers may vary slightly due to rounding.

In a random sample of 65 professional actors, it was found that 37 were extroverts.

(a) Let p represent the proportion of all actors who are extroverts. Find a point estimate for p. (Round your answer to four decimal places.) ____

(b) Find a 95% confidence interval for p. (Round your answers to two decimal places.)

lower limit ____

upper limit ____

(2) For this problem, carry at least four digits after the decimal in your calculations. Answers may vary slightly due to rounding.

Santa Fe black-on-white is a type of pottery commonly found at archaeological excavations at a certain monument. At one excavation site a sample of 610 potsherds was found, of which 365 were identified as Santa Fe black-on-white.

(a) Let p represent the proportion of Santa Fe black-on-white potsherds at the excavation site. Find a point estimate for p. (Round your answer to four decimal places.) ____


(b) Find a 95% confidence interval for p. (Round your answers to three decimal places.)

lower limit    
upper limit    

(3) What is the minimal sample size needed for a 95% confidence interval to have a maximal margin of error of 0.1 in the following scenarios? (Round your answers up the nearest whole number.)

(a) a preliminary estimate for p is 0.34 ____


(b) there is no preliminary estimate for p ____

In: Math

For this problem, carry at least four digits after the decimal in your calculations. Answers may...

For this problem, carry at least four digits after the decimal in your calculations. Answers may vary slightly due to rounding. Santa Fe black-on-white is a type of pottery commonly found at archaeological excavations at a certain monument. At one excavation site a sample of 610 potsherds was found, of which 350 were identified as Santa Fe black-on-white.

(a) Let p represent the proportion of Santa Fe black-on-white potsherds at the excavation site. Find a point estimate for p. (Round your answer to four decimal places.)

(b) Find a 95% confidence interval for p. (Round your answers to three decimal places.) lower limit upper limit Give a brief statement of the meaning of the confidence interval. 95% of the confidence intervals created using this method would include the true proportion of potsherds. 5% of all confidence intervals would include the true proportion of potsherds. 95% of all confidence intervals would include the true proportion of potsherds. 5% of the confidence intervals created using this method would include the true proportion of potsherds.

(c) Do you think that np > 5 and nq > 5 are satisfied for this problem? Explain why this would be an important consideration. Yes, the conditions are satisfied. This is important because it allows us to say that p̂ is approximately normal. Yes, the conditions are satisfied. This is important because it allows us to say that p̂ is approximately binomial. No, the conditions are not satisfied. This is important because it allows us to say that p̂ is approximately binomial. No, the conditions are not satisfied. This is important because it allows us to say that p̂ is approximately normal.

In: Math