Suppose you start with an empty queue and perform the following operations: enqueue 1, enqueue 2, dequeue, enqueue 3, enqueue 4, dequeue, enqueue 5. What are the resultant contents of the queue, from front to back?
Group of answer choices
1, 2, 3, 4, 5
1, 3, 5
1, 2, 3
3, 4, 5
Assume you are using the text's array-based queue and have just instantiated a queue of capacity 10. You enqueue 5 elements, dequeue 4 elements, and then enqueue 7 more elements. Which indices of the internal array elements hold the value null, that is, do not hold an element?
Group of answer choices
0 and 1
2 and 3
8 and 9
9 and 10
9 and 1
If N represents the number of elements in the queue, then the size method of the LinkedQueue class is O(N).
Group of answer choices
True
False
When an object of class LinkedQueue represents an empty queue, its rear variable is 0.
Group of answer choices
True
False
In: Computer Science
72.
Removal of the anterior pituitary gland would affect which of the following?
(1) flow of urine
(2) pancreas
(3) adrenal medulla
(4) thyroid gland
(5) ovaries
Select one:
a. 1 and 5
b. 4 and 5
c. 1 and 3
d. 3 and 4
e. 3 and 5
In: Nursing
Find the inverse Laplace transform of
a. F(s) = se-6s/(s-2)(s2+2s+1)
b. F(s) = e-12s/s3(s2+4)
In: Advanced Math
Please find f(x') and f(x") for all:
1) f(x) = 3(x2 -2x)3/4(7 - 5x2)6
2) f(x) = (y - x)4(y2 - x)3
3) f(x) = x7/3 + 16x3 + x
4) = f(x) = (x2 - x) / (y2 - y)
In: Advanced Math
code in C#
How to count by n:
In the Main method add the code that counts by 1, 2, 3, 4, and 5 – see output below Use a nested for loop to implement the series of numbers C# Syntax:
The C# syntax for variable declarations, and if, if-else, while, and for statements is identical to Java
C# console output:
Console.Write("{0,2} ", number); // in this context number is an integer variable writes a number right-aligned in a column of width 2 followed by a blank Console.Write("*"); // prints a * Console.WriteLine(); // advances to the next line
Output:
1
2 4
3 6 9
4 8 12 16
5 10 15 20 25
In: Computer Science
Comprehensive Problem 8-85 (LO 8-1, LO 8-2, LO 8-3, LO 8-4, LO 8-5) [The following information applies to the questions displayed below.] John and Sandy Ferguson got married eight years ago and have a seven-year-old daughter, Samantha. In 2019, John worked as a computer technician at a local university earning a salary of $152,000, and Sandy worked part-time as a receptionist for a law firm earning a salary of $29,000. John also does some Web design work on the side and reported revenues of $4,000 and associated expenses of $750. John’s business is not a specified business for the purpose of QBI deduction. The Fergusons received $800 in qualified dividends and a $200 refund of their state income taxes. The Fergusons always itemize their deductions and their itemized deductions were well over the standard deduction amount last year. The Fergusons had qualifying insurance for purposes of the Affordable Care Act (ACA). Use Exhibit 8-9, Tax Rate Schedule, Dividends and Capital Gains Tax Rates for reference. The Fergusons reported making the following payments during the year: State income taxes of $4,400. Federal tax withholding of $21,000. Alimony payments to John’s former wife of $10,000 (divorced in 2014). Child support payments for John’s child with his former wife of $4,100. $12,200 of real property taxes. Sandy was reimbursed $600 for employee business expenses she incurred. She was required to provide documentation for her expenses to her employer. $3,600 to Kid Care day care center for Samantha’s care while John and Sandy worked. $14,000 interest on their home mortgage ($400,000 acquisition debt). $3,000 interest on a $40,000 home-equity loan. They used the loan to pay for a family vacation and new car. $15,000 cash charitable contributions to qualified charities. Donation of used furniture to Goodwill. The furniture had a fair market value of $400 and cost $2,000. rev: 10_30_2019_QC_CS-188424 Comprehensive Problem 8-85 Part a a. What is the Fergusons' 2019 federal income taxes payable or refund, including any self-employment tax and AMT, if applicable? (Round your intermediate computations to the nearest whole dollar amount.)
EXHIBIT 8-9 Child and Dependent Care Credit Percentage
| If AGI is over | But not over | Then the percentage is |
|---|---|---|
| $ 0 | 15,000 | 35% |
| 15,000 | 17,000 | 34 |
| 17,000 | 19,000 | 33 |
| 19,000 | 21,000 | 32 |
| 21,000 | 23,000 | 31 |
| 23,000 | 25,000 | 30 |
| 25,000 | 27,000 | 29 |
| 27,000 | 29,000 | 28 |
| 29,000 | 31,000 | 27 |
| 31,000 | 33,000 | 26 |
| 33,000 | 35,000 | 25 |
| 35,000 | 37,000 | 24 |
| 37,000 | 39,000 | 23 |
| 39,000 | 41,000 | 22 |
| 41,000 | 43,000 | 21 |
| 43,000 | No limit | 20 |
Source: §21(e)(6).
2019 Tax Rate Schedules
Individuals
Schedule X-Single
| If taxable income is over: | But not over: | The tax is: |
|---|---|---|
| $ 0 | $ 9,700 | 10% of taxable income |
| $ 9,700 | $ 39,475 | $970 plus 12% of the excess over $9,700 |
| $ 39,475 | $ 84,200 | $4,543 plus 22% of the excess over $39,475 |
| $ 84,200 | $160,725 | $14,382.50 plus 24% of the excess over $84,200 |
| $160,725 | $204,100 | $32,748.50 plus 32% of the excess over $160,725 |
| $204,100 | $510,300 | $46,628.50 plus 35% of the excess over $204,100 |
| $510,300 | — | $153,798.50 plus 37% of the excess over $510,300 |
Schedule Y-1-Married Filing Jointly or Qualifying Widow(er)
| If taxable income is over: | But not over: | The tax is: |
|---|---|---|
| $ 0 | $ 19,400 | 10% of taxable income |
| $ 19,400 | $ 78,950 | $1,940 plus 12% of the excess over $19,400 |
| $ 78,950 | $168,400 | $9,086 plus 22% of the excess over $78,950 |
| $168,400 | $321,450 | $28,765 plus 24% of the excess over $168,400 |
| $321,450 | $408,200 | $65,497 plus 32% of the excess over $321,450 |
| $408,200 | $612,350 | $93,257 plus 35% of the excess over $408,200 |
| $612,350 | — | $164,709.50 plus 37% of the excess over $612,350 |
Schedule Z-Head of Household
| If taxable income is over: | But not over: | The tax is: |
|---|---|---|
| $ 0 | $ 13,850 | 10% of taxable income |
| $ 13,850 | $ 52,850 | $1,385 plus 12% of the excess over $13,850 |
| $ 52,850 | $ 84,200 | $6,065 plus 22% of the excess over $52,850 |
| $ 84,200 | $160,700 | $12,962 plus 24% of the excess over $84,200 |
| $160,700 | $204,100 | $31,322 plus 32% of the excess over $160,700 |
| $204,100 | $510,300 | $45,210 plus 35% of the excess over $204,100 |
| $510,300 | — | $152,380 plus 37% of the excess over $510,300 |
Schedule Y-2-Married Filing Separately
| If taxable income is over: | But not over: | The tax is: |
|---|---|---|
| $ 0 | $ 9,700 | 10% of taxable income |
| $ 9,700 | $ 39,475 | $970 plus 12% of the excess over $9,700 |
| $ 39,475 | $ 84,200 | $4,543 plus 22% of the excess over $39,475 |
| $ 84,200 | $160,725 | $14,382.50 plus 24% of the excess over $84,200 |
| $160,725 | $204,100 | $32,748.50 plus 32% of the excess over $160,725 |
| $204,100 | $306,175 | $46,628.50 plus 35% of the excess over $204,100 |
| $306,175 | — | $82,354.75 plus 37% of the excess over $306,175 |
Tax Rates for Net Capital Gains and Qualified Dividends
| Rate* | Taxable Income | ||||
|---|---|---|---|---|---|
| Married Filing Jointly | Married Filing Separately | Single | Head of Household | Trusts and Estates | |
| 0% | $0 - $78,750 | $0 - $39,375 | $0 - $39,375 | $0 - $52,750 | $0 - $2,650 |
| 15% | $78,751 - $488,850 | $39,376 - $244,425 | $39,376 - $434,550 | $52,751 - $461,700 | $2,651 - $12,950 |
| 20% | $488,851+ | $244,426+ | $434,551+ | $461,701+ | $12,951+ |
*This rate applies to the net capital gains and qualified dividends that fall within the range of taxable income specified in the table (net capital gains and qualified dividends are included in taxable income last for this purpose).
In: Accounting
Exercise 9-17 Flexible Budget Performance Report [LO9-1, LO9-2, LO9-3, LO9-4]
AirQual Test Corporation provides on-site air quality testing services. The company has provided the following cost formulas and actual results for the month of February:
| Fixed Component per Month |
Variable Component per Job |
Actual Total for February |
|||||||
| Revenue | $ | 275 | $ | 38,500 | |||||
| Technician wages | $ | 8,100 | $ | 7,950 | |||||
| Mobile lab operating expenses | $ | 4,800 | $ | 33 | $ | 9,590 | |||
| Office expenses | $ | 2,400 | $ | 2 | $ | 2,550 | |||
| Advertising expenses | $ | 1,590 | $ | 1,660 | |||||
| Insurance | $ | 2,850 | $ | 2,850 | |||||
| Miscellaneous expenses | $ | 960 | $ | 2 | $ | 565 | |||
The company uses the number of jobs as its measure of activity. For example, mobile lab operating expenses should be $4,800 plus $33 per job, and the actual mobile lab operating expenses for February were $9,590. The company expected to work 150 jobs in February, but actually worked 160 jobs.
Required:
Prepare a flexible budget performance report showing AirQual Test Corporation’s revenue and spending variances and activity variances for February. (Indicate the effect of each variance by selecting "F" for favorable, "U" for unfavorable, and "None" for no effect (i.e., zero variance). Input all amounts as positive values.)
In: Accounting
Exercise 21.9 Scarce Resources (LO21-1, LO21-2, LO21-3, LO21-4)
Gunst Company produces three video games: Android, Bio-Mutant, and Cyclops. Cost and revenue data pertaining to each product are as follows.
| Android | Bio-Mutant | Cyclops | ||||||||||
| Selling price | $ | 100 | $ | 71 | $ | 125 | ||||||
| Direct labor | 48 | 24 | 60 | |||||||||
| Direct materials | 9 | 8 | 16 | |||||||||
| Variable overhead | 7 | 4 | 9 | |||||||||
At the present time, demand for each of the company's products far exceeds its capacity to produce them. Thus, management is trying to determine which of its games to concentrate on next week in filling its backlog of orders. Gunst's direct labor rate is $12 per hour, and only 1,000 hours of direct labor are available each week.
Determine the maximum total contribution margin the company can make by its best use of the 1,000 available hours. (Do not round intermediate calculations.)
In: Accounting
Comprehensive Problem 8-85 (LO 8-1, LO 8-2, LO 8-3, LO 8-4, LO 8-5) [The following information applies to the questions displayed below.] John and Sandy Ferguson got married eight years ago and have a seven-year-old daughter, Samantha. In 2019, John worked as a computer technician at a local university earning a salary of $152,000, and Sandy worked part-time as a receptionist for a law firm earning a salary of $29,000. John also does some Web design work on the side and reported revenues of $4,000 and associated expenses of $750. John’s business is not a specified business for the purpose of QBI deduction. The Fergusons received $800 in qualified dividends and a $200 refund of their state income taxes. The Fergusons always itemize their deductions and their itemized deductions were well over the standard deduction amount last year. The Fergusons had qualifying insurance for purposes of the Affordable Care Act (ACA). Use Exhibit 8-9, Tax Rate Schedule, Dividends and Capital Gains Tax Rates for reference. The Fergusons reported making the following payments during the year: State income taxes of $4,400. Federal tax withholding of $21,000. Alimony payments to John’s former wife of $10,000 (divorced in 2014). Child support payments for John’s child with his former wife of $4,100. $12,200 of real property taxes. Sandy was reimbursed $600 for employee business expenses she incurred. She was required to provide documentation for her expenses to her employer. $3,600 to Kid Care day care center for Samantha’s care while John and Sandy worked. $14,000 interest on their home mortgage ($400,000 acquisition debt). $3,000 interest on a $40,000 home-equity loan. They used the loan to pay for a family vacation and new car. $15,000 cash charitable contributions to qualified charities. Donation of used furniture to Goodwill. The furniture had a fair market value of $400 and cost $2,000. rev: 10_30_2019_QC_CS-188424 Comprehensive Problem 8-85 Part a a. What is the Fergusons' 2019 federal income taxes payable or refund, including any self-employment tax and AMT, if applicable? (Round your intermediate computations to the nearest whole dollar amount.)
In: Accounting
Problem 15-4 (Algo) Finance/sales-type lease; lessee and lessor [LO15-1, 15-2, 15-3]
Rand Medical manufactures lithotripters. Lithotripsy uses shock
waves instead of surgery to eliminate kidney stones. Physicians’
Leasing purchased a lithotripter from Rand for $2,590,000 and
leased it to Mid-South Urologists Group, Inc., on January 1, 2021.
(FV of $1, PV of $1, FVA of $1, PVA of $1, FVAD of $1 and PVAD of
$1) (Use appropriate factor(s) from the tables
provided.)
| Lease Description: | |||
| Quarterly lease payments | $ | 183,247—beginning of each period | |
| Lease term | 5 years (20 quarters) | ||
| No residual value; no purchase option | |||
| Economic life of lithotripter | 5 years | ||
| Implicit interest rate and lessee's incremental borrowing rate | 16% | ||
| Fair value of asset | $ | 2,590,000 | |
Required:
1. How should this lease be classified by Mid-South
Urologists Group and by Physicians' Leasing?
2. Prepare appropriate entries for both Mid-South
Urologists Group and Physicians' Leasing from the beginning of the
lease through the second rental payment on April 1, 2021. Adjusting
entries are recorded at the end of each fiscal year (December
31).
3. Assume Mid-South Urologists Group leased the
lithotripter directly from the manufacturer, Rand Medical, which
produced the machine at a cost of $2.2 million. Prepare appropriate
entries for Rand Medical from the beginning of the lease through
the second lease payment on April 1, 2021.
In: Accounting