Questions
A deque (short for double-ended queue, but pronounced “deck”) is an abstract data type that supports...

A deque (short for double-ended queue, but pronounced “deck”) is an abstract data type that supports adding and removing at both the front and back. So, at a bare minimum, a deque has four operations: addFront(), removeFront(), addBack(), removeBack(). Suppose you have a deque D containing the numbers (1, 2, 3, 4, 5, 6, 7, 8), in this order. Suppose further that you have an initially empty queue Q. Give pseudo-code description of a method that uses only D and Q (and no other variables or objects) and results in D storing the elements (1, 2, 3, 5, 4, 6, 7, 8), in this order.

In: Computer Science

Consider the following bonds currently traded in the market. Using this information find the no-arbitrage price...

Consider the following bonds currently traded in the market. Using this information find the no-arbitrage price of a 5-Year bond with a coupon of 5%. Suppose this bond is currently selling for $102 in the market. Is there an arbitrage opportunity? Explain how you would execute this arbitrage (All coupons are annual payment, including the bond you are asked to price)

Annual Coupon

Maturity in Years

Price

Bond 1

8%

1

102.800

Bond 2

9%

2

107.250

Bond 3

11%

3

116.400

Bond 4

6%

4

104.410

Bond 5

7%

5

108.030

Bond 6

8%

6

113.950

Bond 7

10%

7

127.020

In: Finance

A perfectly competitive firm has a short-run total cost function given by: TC = 10 + 2q + 2q2, where q is the amount produced.

Use the following to answer questions (5) and (6):

A perfectly competitive firm has a short-run total cost function given by: TC = 10 + 2q + 2q2, where q is the amount produced. Accordingly, the firm’s marginal cost is given by: MC = 2 + 4q; while its average variable cost is given by: AVC = 2 + 2q. Suppose the market price equals 10.

[5]        In order to maximize profit, this firm should produce ___ units.

  1. 2

  2. 4

  3. 10

  4. None of the above

[6]        Producing the profit maximizing quantity, this firm earns a profit equal to:

  1. -10

  2. -2

  3. -1

  4. 4

In: Economics

Consider the following two cash flows: CF1: 100 at t=0, 200 at t=2, and 300 at...

Consider the following two cash flows:

CF1: 100 at t=0, 200 at t=2, and 300 at t=3

CF2: X at t=1, X at t=2, and 2X at t=4

The interest rate rises by 3% every year, so:

between t=0 and t=1: i=0%; between t=1 and t=2: i=3%; between t=2 and t=3: i=6%, etc.

What the value of X that makes the two cash flows equivalent?

Question 3 options:

86-106

106-126

126-146

146-166

None of the above

In: Finance

1. Balance the following redox equation in acid. Put the correct stochiometric coefficient (0, 1, 2,...

1. Balance the following redox equation in acid. Put the correct stochiometric coefficient (0, 1, 2, etc.). (Note: 0 if the species does not appear on that side of the equation.)

HSO3(aq) + MnO4(aq) + H+(aq)  → SO42−(aq) + Mn2+(aq) + H2O(l)

2. Balance the following redox equation in base. Put the correct stochiometric coefficient (0, 1, 2, etc.). (Note: 0 if the species does not appear on that side of the equation.)

Fe(OH)2 (s) + CrO42-(aq) + H2O(l)   → Fe(OH)3(s) +  [Cr(OH)4] (aq) + OH(aq)

In: Chemistry

Comment on the profitability of the company. Support your answer with Ratio Analysis Income Statement -...

Comment on the profitability of the company. Support your answer with Ratio Analysis

Income Statement - Horizontal Analysis:

    2019

    2018

    2017

    2016

    2015

    2014

Retail Sales

20 877.00

19 994.00

18 575.00

19 038.00

17 285.00

15 227.00

Variance

       883.00

    1 419.00

     (463.00)

    1 753.00

    2 058.00

                -  

%

4%

8%

-2%

10%

14%

0%

Profit from Operations

    3 938.00

    2 732.00

    3 048.00

    3 603.00

    3 076.00

    2 537.00

Variance

    1 206.00

     (316.00)

     (555.00)

       527.00

       539.00

                -  

%

44%

-10%

-15%

17%

21%

0%

In: Accounting

Price ($) Quantity Demanded Quantity Supplied 0 25 0 1 21 1 2 17 3 3...


Price ($)

Quantity
Demanded

Quantity
Supplied

0

25

0

1

21

1

2

17

3

3

13

6

4

9

9

5

5

12

6

1

15

7

0

18

Question: Suppose the government sets a price in this market at $2.

a. Is this a price floor or a price ceiling?
b. Does this create a shortage or surplus?
c. What is the difference in quantity demanded at this $2 price relative to the market price?
d. What is the difference in quantity supplied at this $2 price relative to the market price?
e. Who benefits and who is harmed by this policy (consumer/producers)?

In: Economics

A drugstore uses fixed-order cycles for many of the items it stocks. The manager wants a...

A drugstore uses fixed-order cycles for many of the items it stocks. The manager wants a service level of .95. The order interval is 10 days, and lead time is 2 days. Average demand for one item is 61 units per day, and the standard deviation of demand is 4 units per day. Given the on-hand inventory at the reorder time for each order cycle shown in the following table. Use Table. Cycle On Hand 1 36 2 8 3 91 Determine the order quantities for cycles 1, 2, and 3: (Round your answers to the nearest whole number) Cycle Units 1 2 3

In: Operations Management

Below are some data from the land of milk and honey. YEAR       PRICE OF MILK       ...

Below are some data from the land of milk and honey.

YEAR       PRICE OF MILK        QUANTITY OF MILK    PRICE OF HONEY        QUANTITY OF HONEY

2001                $1                                100 Qts.                     $2                               50 qts.

2002                $1                                200                              $2                                100

2003                $2                                200                              $4                                100

1. Compute for each year the following below using 2001 as the base year.

a) nominal GDP

b) real GDP,and

c) the GDP deflator for each year, using 2001 as the base year.

2. Why do economists use real GDP rather than nominal GDP to gauge economic well being?

In: Economics

A personnel specialist with a large accounting firm is interested in determining the effect of seniority...

A personnel specialist with a large accounting firm is interested in determining the effect of seniority on hourly wages for secretaries. She selects at random 10 secretaries and compares their years with the company (X) and hourly wages (Y).

x y
0 12
2 13
3 14
6 16
5 15
3 14
4 13
1 12
1 15
2 15
  • Calculate the regression slope and intercept (2 points).
  • Predict the hourly wage of a secretary that has been with the company for four years (1 point).
  • Find the coefficients of determination and nondetermination, and interpret both values (2 points).

In: Math