In java
Implement the class Book. It has the following instance
variables: name, subject, year, maximumLoanPeriod, and loanPeoriod.
The following methods should be included:
• Constructor(s), Accessors and Mutators as needed.
• public double computeFine() => calculates the fine due on this
item
The fine is calculated as follows:
• If the loanPeriod <= maximumLoanPeriod, there is no fine on
the book.
• If loanPeriod > maximumLoanPeriod
o If the subject of the book is "CS" the fine is 10.00 per
day.
o If the subject of the book is any other subject area, the fine is
SR 5.00
per day.
o If the year of the book is < 2015, there is a 20% reduction in
the fine. o If the year of the book is > 2015, the fine is
increased by 20%
• toString() method that show description of the object.
Read the information of the attached file books.txt. The first line
is the number of books and followed be a book on each line. The
book details is separated by “-” Save the file content into array
then Print the following.
• the number of books whose subject area is "CS".
• the total fine on all books
• the book with the highest fine.
• the total number of books with no fine.
Notes:
- Use the given books.txt.
——-——————————-
the text is
4
Introduction to Programming - CS - 2016 - 5 - 10
Introduction to Databases - CS - 2012 - 6 - 3
Thermodynamics - Physics - 1999 - 10 - 15
Linear Algebra - Math - 2015 - 12 - 10
In: Computer Science
For the following description of data, identify the W's, name the variables, specify for each variable whether its use indicates it should be treated as categorical orquantitative, and for any quantitative variable identify the units in which it was measured (or note that they were not provided). Specify whether the data come from a designed survey or experiment. Are the variables time series or cross-sectional? Report any concerns you have as well.
An electronics manufacturerelectronics manufacturer wants to know what college students think about how peoplehow people
access the Internetaccess the Internet. They ask you to conduct a survey that asks students, "Do you think there will be more
smartphonessmartphones or tabletsor tablets used toused to access the Internet in 2025?" and "How likely are you to
use a tablet as your main Internet link in the next 10years?" (scale of 1equals=not at all likely to 5equals=very likely).
Who was measured?
A. The tabletstablets
B. The college students
C. The electronics manufacturerelectronics manufacturer
D. This information is not given.
What was measured? Select all that apply.
A. The likelihood of using a tablet
B. The cost of how peoplehow people access the Internet
C. Number of college students
D. The opinion about how peoplehow people access the Internet in 2025
When were the measurements taken?
A. Last year
B. In 2025
C. Recently
D. This information is not given.
Where were measurements taken?
A. Through the mail
B. At the electronics manufacturerelectronics manufacturer
C. At the college
D. This information is not given.
Why were the measurements taken?
A.The electronics manufacturerelectronics manufacturer wants to know what college students think.
B. The electronics manufacturerelectronics manufacturer wants to know about how people access the Internet.
C.The college students want to know about how people access the Internet
D. This information is not given.
How were the measurements taken?
A. The data was provided by the college.
B. By observation
C. A survey
D. This information is not given.
Specify the categorical variables for this problem. Select all that apply.
A. The likelihood of using a tablet
B. The opinion about how people access the Internetin 2025
C. The number of years until 2025
D. The cost of how peoplehow people access the Internet
E.Number of college students
F. There are no categorical variables.
Specify the quantitative variables and identify the units for this problem. Select all that apply.
A. The likelihood of using a tablet; the units are not specified
B. The opinion about how people access the Internet in 2025; the units are not specified
C. Number of college students; the units are students
D. The number of years until 2025; the units are years
E. The cost of how peoplehow people access the Internet;the units are not specified
F. There are no quantitative variables.
Specify whether the data come from a designed survey or experiment.
A. Designed survey
B. Experiment
C. This information cannot be determined by the given data.
Are the variables time series or cross-sectional?
Time series
Cross-sectional
Neither
Specify any concerns. Select all that apply.
A. The data collection was done incorrectly.
B. There are too many categorical variables.
C. The data sample size was too small.
D. There are no specific concerns.
In: Statistics and Probability
Problem 5-10 Long-term contract; revenue recognition over time [LO5-8, 5-9]
[The following information applies to the questions
displayed below.]
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,580,000 | $ | 4,042,000 | $ | 2,175,800 | |||
| Estimated costs to complete as of year-end | 6,020,000 | 1,978,000 | 0 | ||||||
| Billings during the year | 2,060,000 | 4,562,000 | 3,378,000 | ||||||
| Cash collections during the year | 1,830,000 | 4,200,000 | 3,970,000 | ||||||
Westgate recognizes revenue over time according to percentage of
completion.
rev: 09_15_2017_QC_CS-99734
Problem 5-10 Part 5
5. 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.
(Do not round intermediate calculations and round your
final answers to the nearest whole dollar amount. Loss amounts
should be indicated with a minus sign.)
| 2018 | 2019 | 2020 | |||||||
| Cost incurred during the year | $ | 2,580,000 | $ | 3,830,000 | $ | 3,990,000 | |||
| Estimated costs to complete as of year-end | 6,020,000 | 4,160,000 | 0 | ||||||
In: Accounting
Required information [The following information applies to the questions displayed below.] 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,490,000 $ 3,984,000 $ 2,008,600 Estimated costs to complete as of year-end 5,810,000 1,826,000 0 Billings during the year 2,030,000 4,444,000 3,526,000 Cash collections during the year 1,815,000 3,900,000 4,285,000 Westgate recognizes revenue over time according to percentage of completion. rev: 09_15_2017_QC_CS-99734 5. 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. (Do not round intermediate calculations and round your final answers to the nearest whole dollar amount. Loss amounts should be indicated with a minus sign.) 2018 2019 2020 Cost incurred during the year $ 2,490,000 $ 3,815,000 $ 3,945,000 Estimated costs to complete as of year-end 5,810,000 4,130,000 0 rev: 09_15_2017_QC_CS-99734 Next Visit question mapQuestion 5 of 8 Total 5 of 8 Prev
In: Accounting
Mr. Zach is a commander of the Plutonium Air force Zyu servicing Evil Statistics Professor’s plutonium mines’ logistical needs. Evidently, he hired some bad pilots in addition to good ones. This Christmas, quite reasonably, Dr. Z is expecting a relationship between how bad a pilot is and what Santa brings him, with bad pilots getting more sad coal and good pilots being rewarded by nice presents. Take a look at the following table.
a. How many good pilots should be expected to be getting coal under the null hypothesis?
b. What is the value of the chi-square statistic?
c. Based on your chi-square versus the critical value, does your data support the conclusion that there is a difference in which gifts the good and bad pilots get?
Group of answer choices
No, because my value is lower than the crirtical value
Yes, because my value is lower than the critical value
No, because my value is higher than the critical
Yes, because my value is higher than the critical value
| Pilot quality | ||
| Good | Bad | |
| Nice present | 25 | 25 |
| Lump of coal | 10 | 40 |
In: Statistics and Probability
I posted this question before too but answer was wrong can you please make sure the answer is right
Required information
[The following
information applies to the questions displayed
below.]
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,204,000 | $ | 3,192,000 | $ | 2,424,400 | |||
| Estimated costs to complete as of year-end | 5,396,000 | 2,204,000 | 0 | ||||||
| Billings during the year | 2,140,000 | 3,256,000 | 4,604,000 | ||||||
| Cash collections during the year | 1,870,000 | 3,200,000 | 4,930,000 | ||||||
Westgate recognizes revenue over time according to percentage of
completion.
rev: 09_15_2017_QC_CS-99734
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. (Do not round intermediate calculations and round your final answers to the nearest whole dollar amount. Loss amounts should be indicated with a minus sign.)
| 2018 | 2019 | 2020 | |||||||
| Cost incurred during the year | $ | 2,204,000 | $ | 3,870,000 | $ | 3,270,000 | |||
| Estimated costs to complete as of year-end | 5,396,000 | 3,170,000 | 0 |
|
|||||
In: Accounting
Note: This problem is for the 2018 tax year.
Lance H. and Wanda B. Dean are married and live at 431 Yucca Drive, Santa Fe, NM 87501. Lance works for the convention bureau of the local Chamber of Commerce, while Wanda is employed part-time as a paralegal for a law firm.
During 2018, the Deans had the following receipts:
|
Wanda was previously married to John Allen. When they divorced several years ago, Wanda was awarded custody of their two children, Penny and Kyle. (Note: Wanda has never issued a Form 8332 waiver.) Under the divorce decree, John was obligated to pay alimony and child support—the alimony payments were to terminate if Wanda remarried.
In July, while going to lunch in downtown Santa Fe, Wanda was injured by a tour bus. As the driver was clearly at fault, the owner of the bus, Roadrunner Touring Company, paid her medical expenses (including a one-week stay in a hospital). To avoid a lawsuit, Roadrunner also transferred $90,000 to her in settlement of the personal injuries she sustained.
The Deans had the following expenditures for 2018:
|
The life insurance policy was taken out by Lance several years ago and designates Wanda as the beneficiary. As a part-time employee, Wanda is excluded from coverage under her employer's pension plan. Consequently, she provides for her own retirement with a traditional IRA obtained at a local trust company. Because the mayor is a member of the local Chamber of Commerce, Lance felt compelled to make the political contribution.
The Deans' household includes the following, for whom they provide more than half of the support:
|
Penny graduated from high school on May 9, 2018, and is undecided about college. During 2018, she earned $8,500 (placed in a savings account) playing a harp in the lobby of a local hotel. Wayne is Wanda's widower father who died on January 20, 2018. For the past few years, Wayne qualified as a dependent of the Deans.
Federal income tax withheld is $5,200 (Lance) and $2,100 (Wanda). The proper amount of Social Security and Medicare tax was withheld.
Required:
Determine the Federal income tax for 2018 for the Deans on a joint return by providing the following information that would appear on Form 1040 and Schedule A. They do not want to contribute to the Presidential Election Campaign Fund. All members of the family had health care coverage for all of 2018. If an overpayment results, it is to be refunded to them.
Make realistic assumptions about any missing data.
Enter all amounts as positive numbers.
If an amount box does not require an entry or the answer is zero, enter "0".
When computing the tax liability, do not round your immediate calculations. If required round your final answers to the nearest dollar.
In: Accounting
provide a short analysis:
What was NTDOY's largest short term gain during 2016-2020?
In: Finance
What happened, as it relates to data-driven marketing and decision making, in the 2016 presidential election? Why?
In: Economics
What are the different hyperlink options in Microsoft Word 2016 and how might you use the options?
In: Computer Science