Reference no: EM132767031
Assignment: 1. Describe how one can implement each of the following operations on an array so that the time it takes does not depend on the array's size n. a. Delete the ith element of an array (1 ≤ i ≤ n).
b. Delete the ith element of a sorted array (the remaining array has to stay sorted, of course).
2. If you have to solve the searching problem for a list of n numbers, how can you take advantage of the fact that the list is known to be sorted? Give separate answers for
a. lists represented as arrays.
b. lists represented as linked lists.
3. a. Show the stack after each operation of the following sequence that starts with the empty stack: push(a), push(b), pop, push(c), push(d), pop
b. Show the queue after each operation of the following sequence that starts with the empty queue: enqueue(a), enqueue(b), dequeue, enqueue(c), enqueue(d), dequeue
How much is the additional loss that shall be reported
: On this date, the assets are expected to be sold for P2,300,000. How much is the additional loss that shall be reported in statement of comprehensive income
|
Create appropriate journal entries for december
: Find and Prepare the appropriate journal entries for December 31, 2020 and December 31, 2022. Assume depreciation has already been properly recorded
|
Prepare all journal entries required
: Warranty claims incurred during 2016 amounted to $26,000. Prepare all 2016 journal entries required by the information above
|
Prepare the journal entries on the books of metlock corp
: Prepare the journal entries on the books of Metlock Corporation to record the transactions described above, assuming that the 20% interest
|
How can you take advantage of the fact
: If you have to solve the searching problem for a list of n numbers, how can you take advantage of the fact that the list is known to be sorted?
|
Prepare the common-size balance sheet of the firm
: Prepare the common-size balance sheet of the firm for end of year of 2020. Prepare the balance sheet of the firm for end of year of 2020.
|
Calculate the cash flow from the mark-to-market proceeds
: Calculate the cash flow from the mark-to-market proceeds on the contract. Assume that the parity condition always hold exactly
|
How much the ending inventory should have been
: Assuming that the owner's statement is correct, provide a revised calculation to show how much the ending inventory should have been.
|
Calculate the appropriate earnings per share amounts
: On September 1, 2020 the company issued $2,400,000, 5%, convertible bonds at par value. Calculate the appropriate earnings per share amounts
|