Questions
1 – Create a webpage that contains a table with exactly three rows and two columns....

  1. 1 – Create a webpage that contains a table with exactly three rows and two columns.
  1. The first row will contain a table heading containing the name of a US National Park, that spans across all columns. Hint: use the colspan attribute inside the opening th tag
  2. Give the table heading an onmouseover that will change the text of the heading when it is moused over to read My Favorites Park! (Hint: use innerHTML). Use onmouseout to change it back.
  3. The second and third rows will contain 2 thumbnail(small) images each. (See Creating Square Thumbnails section below).
  • These are images from the National Park that you selected
  • Remember your code, pages, images will not be like anyone else’s. When they are compared you do not want your file to be flagged.
  1. Use the anchor element on the thumbnail images, so that each thumbnail image opens a larger version of the same image in a new tab. (Hint: if you give the target a name, you can have them all open in the same tab rather than using _blank and having a new tab open each time one is clicked. This avoids opening too many tabs.)
  2. Apply style to the table. Again, your table will not be like anyone else’s. Your work is to be your own work.
  3. Write the JavaScript code so that each thumbnail image in the table opens the larger original image in the large cell in row four/five of the table when the thumbnail is clicked.
    1. E.g., clicking on dog_small.png should cause dog.png to open in the large cell of the table as a 300px by 300px image replacing the image that was previously there.
    2. Note: Write a function to replace the large image with the new image.
    3. Hint: The onclick will just call the function.

In: Computer Science

(1) a. sentence generation The sentence you need to generate is shown below: Sentence: John fed...

(1) a. sentence generation

The sentence you need to generate is shown below:

Sentence: John fed a bear in the park.

In this question, you should start from the target structure, a sentence (= S). Then you expand S by applying the rule S --> S PP. There is another rule that can expand S, namely S --> NP VP. However, if you apply S --> NP VP before S --> S PP, you will not be able to include PP. Therefore, S --> S PP is the correct rule to apply first, as has been given in the table below (together with two other steps). Remember to insert the lexical items when you get to a leaf node like D or N where no rule can be further applied. If your answers are correct, then all the 14 blanks should be filled.

The rules and lexicon that you need to generate the sentence are given as below:

Rules:

S --> NP VP
NP --> D NP
VP --> V PP
VP --> V NP
S --> S PP
PP --> P NP
AdjP --> Adv Adj
NP --> N
CP --> C S
Lexicon:

V --> saw, kicked, fed

P --> in, at

D --> a, the

N --> John, bear, park

You will need only a subset of the rules for this question.

Step

Sentence generating process

0 S

1 S --> S PP

2 S --> NP VP

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

Done!

(1)   b. Expand the rules and lexicon

What do you need to add to the previous rules and lexicon if you want to generate the following sentence:

The boy saw a brown bear in the park.

New rule(s) that needs to be added:

____________________

New lexical item(s) that needs to be added:
_____________________
______________________

In: Computer Science

The Bartram-Pulley Company (BPC) must decide between two mutually exclusive investment projects. Each project costs $7,500...

The Bartram-Pulley Company (BPC) must decide between two mutually exclusive investment projects. Each project costs $7,500 and has an expected life of 3 years. Annual net cash flows from each project begin 1 year after the initial investment is made and have the following probability distributions:

Project A Project B
Probability Cash Flows Probability Cash Flows
0.2 $7,000 0.2 $        0  
0.6 6,750 0.6 6,750
0.2 7,500 0.2 15,000

BPC has decided to evaluate the riskier project at a 11% rate and the less risky project at a 9% rate.

  1. What is the expected value of the annual cash flows from each project? Do not round intermediate calculations. Round your answers to the nearest dollar.

    Project A Project B
    Net cash flow $ $

    What is the coefficient of variation (CV)? (Hint: σB=$4,758 and CVB=$0.67.) Do not round intermediate calculations. Round σ values to the nearest cent and CV values to two decimal places.

    σ CV
    Project A $
    Project B $
  2. What is the risk-adjusted NPV of each project? Do not round intermediate calculations. Round your answers to the nearest cent.

    Project A $
    Project B $
  3. If it were known that Project B is negatively correlated with other cash flows of the firm whereas Project A is positively correlated, how would this affect the decision?

    This would tend to reinforce the decision to -Select-acceptrejectItem 9 Project B.

    If Project B's cash flows were negatively correlated with gross domestic product (GDP), would that influence your assessment of its risk?

In: Finance

The Bartram-Pulley Company (BPC) must decide between two mutually exclusive investment projects. Each project costs $7,750...

The Bartram-Pulley Company (BPC) must decide between two mutually exclusive investment projects. Each project costs $7,750 and has an expected life of 3 years. Annual net cash flows from each project begin 1 year after the initial investment is made and have the following probability distributions:

Project A Project B
Probability Cash Flows Probability Cash Flows
0.2 $6,000 0.2 $        0  
0.6 6,750 0.6 6,750
0.2 8,000 0.2 15,000

BPC has decided to evaluate the riskier project at a 13% rate and the less risky project at a 10% rate.

  1. What is the expected value of the annual cash flows from each project? Do not round intermediate calculations. Round your answers to the nearest dollar.

    Project A Project B
    Net cash flow $ $

    What is the coefficient of variation (CV)? (Hint: σB=$4,758 and CVB=$0.67.) Do not round intermediate calculations. Round σ values to the nearest cent and CV values to two decimal places.

    σ CV
    Project A $
    Project B $
  2. What is the risk-adjusted NPV of each project? Do not round intermediate calculations. Round your answers to the nearest cent.

    Project A $
    Project B $
  3. If it were known that Project B is negatively correlated with other cash flows of the firm whereas Project A is positively correlated, how would this affect the decision?

    This would tend to reinforce the decision to -Select-acceptrejectItem 9 Project B.

    If Project B's cash flows were negatively correlated with gross domestic product (GDP), would that influence your assessment of its risk?

    -Select-YesNo

In: Finance

The Butler-Perkins Company (BPC) must decide between two mutually exclusive projects. Each costs $7,000 and has...

The Butler-Perkins Company (BPC) must decide between two mutually exclusive projects. Each costs $7,000 and has an expected life of 3 years. Annual project cash flows begin 1 year after the initial investment and are subject to the following probability distributions:

Project A Project B
Probability Cash Flows Probability Cash Flows
0.2 $6,750 0.2 $0  
0.6 7,000 0.6 7,000  
0.2 7,250 0.2 18,000  

BPC has decided to evaluate the riskier project at 11% and the less-risky project at 8%.

  1. What is each project's expected annual cash flow? Round your answers to two decimal places.

    Project A $

    Project B $

    Project B's standard deviation (σB) is $5,776 and its coefficient of variation (CVB) is 0.74. What are the values of (σA) and (CVA)? Round your answer to two decimal places.

    σA = $

    CVA =

  2. Based on the risk-adjusted NPVs, which project should BPC choose?

    Project A or Project B
  3. If you knew that Project B's cash flows were negatively correlated with the firm's other cash flows, but Project A's cash flows were positively correlated, how might this affect the decision?

    This would make Project B more appealing or This would make Project B less appealing.

    If Project B's cash flows were negatively correlated with gross domestic product (GDP), while A's cash flows were positively correlated, would that influence your risk assessment? This would make Project B more appealing or This would make Project B less appealing.

In: Finance

The Butler-Perkins Company (BPC) must decide between two mutually exclusive projects. Each costs $6,750 and has...

The Butler-Perkins Company (BPC) must decide between two mutually exclusive projects. Each costs $6,750 and has an expected life of 3 years. Annual project cash flows begin 1 year after the initial investment and are subject to the following probability distributions: Project A Project B Probability Cash Flows Probability Cash Flows 0.2 $6,000 0.2 $0 0.6 $6,750 0.6 $6,750 0.2 $7,500 0.2 $19,000 BPC has decided to evaluate the riskier project at 11% and the less-risky project at 10%.

  1. What is each project's expected annual cash flow? Round your answers to two decimal places.

    Project A: $ ?

    Project B: $ ?

    Project B's standard deviation (σB) is $6,157.52 and its coefficient of variation (CVB) is 0.78. What are the values of (σA) and (CVA)? Round your answers to two decimal places.

    σA = $ ?

    CVA = ?

  2. Based on the risk-adjusted NPVs, which project should BPC choose?

    _________ options: Project A or Project B

  3. If you knew that Project B's cash flows were negatively correlated with the firm's other cash flow, but Project A's cash flows were positively correlated, how might this affect the decision?

    _________ options: This would make Project B more appealing or This would make Project B less appealing.

    If Project B's cash flows were negatively correlated with gross domestic product (GDP), while A's cash flows were positively correlated, would that influence your risk assessment?

    _________ options: This would make Project B more appealing or This would make Project B less appealing.

In: Finance

Problem 11-15 Risky Cash Flows The Bartram-Pulley Company (BPC) must decide between two mutually exclusive investment...

Problem 11-15
Risky Cash Flows

The Bartram-Pulley Company (BPC) must decide between two mutually exclusive investment projects. Each project costs $6,750 and has an expected life of 3 years. Annual net cash flows from each project begin 1 year after the initial investment is made and have the following probability distributions:

PROJECT A PROJECT B
Probability Net Cash
Flows
Probability Net Cash
Flows
0.2 $7,000 0.2 $        0  
0.6 6,750 0.6 6,750
0.2 8,000 0.2 16,000

BPC has decided to evaluate the riskier project at a 12% rate and the less risky project at a 8% rate.

What is the expected value of the annual net cash flows from each project? Do not round intermediate calculations. Round your answers to nearest dollar.

Project A Project B
Net cash flow $ $


What is the coefficient of variation (CV)? Do not round intermediate calculations. (Hint: ?B=$5,097 and CVB=$0.70.)

? (to the nearest whole number) CV (to 2 decimal places)
Project A $
Project B $


What is the risk-adjusted NPV of each project? Do not round intermediate calculations. Round your answer to the nearest dollar.

Project A $
Project B $

If it were known that Project B is negatively correlated with other cash flows of the firm whereas Project A is positively correlated, how would this affect the decision?
This would tend to reinforce the decision to -Select-acceptrejectItem 9 Project B.

If Project B's cash flows were negatively correlated with gross domestic product (GDP), would that influence your assessment of its risk?
-Select-YesNoItem 10

In: Finance

Risky Cash Flows The Bartram-Pulley Company (BPC) must decide between two mutually exclusive investment projects. Each...

Risky Cash Flows

The Bartram-Pulley Company (BPC) must decide between two mutually exclusive investment projects. Each project costs $8,000 and has an expected life of 3 years. Annual net cash flows from each project begin 1 year after the initial investment is made and have the following probability distributions:

PROJECT A PROJECT B
Probability Net Cash
Flows
Probability Net Cash
Flows
0.2 $5,000 0.2 $        0  
0.6 6,750 0.6 6,750
0.2 7,000 0.2 19,000

BPC has decided to evaluate the riskier project at a 12% rate and the less risky project at a 10% rate.

  1. What is the expected value of the annual net cash flows from each project? Do not round intermediate calculations. Round your answers to nearest dollar.
    Project A Project B
    Net cash flow $ $

    What is the coefficient of variation (CV)? Do not round intermediate calculations. (Hint: σB=$6,158 and CVB=$0.78.)
    σ (to the nearest whole number) CV (to 2 decimal places)
    Project A $
    Project B $

  2. What is the risk-adjusted NPV of each project? Do not round intermediate calculations. Round your answer to the nearest dollar.
    Project A $
    Project B $

  3. If it were known that Project B is negatively correlated with other cash flows of the firm whereas Project A is positively correlated, how would this affect the decision?
    This would tend to reinforce the decision to

Project B.

If Project B's cash flows were negatively correlated with gross domestic product (GDP), would that influence your assessment of its risk?

In: Finance

The Bartram-Pulley Company (BPC) must decide between two mutually exclusive investment projects. Each project costs $5,250...

The Bartram-Pulley Company (BPC) must decide between two mutually exclusive investment projects. Each project costs $5,250 and has an expected life of 3 years. Annual net cash flows from each project begin 1 year after the initial investment is made and have the following probability distributions:

Project A Project B
Probability Cash Flows Probability Cash Flows
0.2 $7,000 0.2 $        0  
0.6 6,750 0.6 6,750
0.2 7,500 0.2 17,000

BPC has decided to evaluate the riskier project at a 11% rate and the less risky project at a 9% rate.

  1. What is the expected value of the annual cash flows from each project? Do not round intermediate calculations. Round your answers to the nearest dollar.

    Project A Project B
    Net cash flow $ $

    What is the coefficient of variation (CV)? (Hint: σB=$5,444 and CVB=$0.73.) Do not round intermediate calculations. Round σ values to the nearest cent and CV values to two decimal places.

    σ CV
    Project A $
    Project B $
  2. What is the risk-adjusted NPV of each project? Do not round intermediate calculations. Round your answers to the nearest cent.

    Project A $
    Project B $
  3. If it were known that Project B is negatively correlated with other cash flows of the firm whereas Project A is positively correlated, how would this affect the decision?

    This would tend to reinforce the decision to  -Select-acceptrejectItem 9 Project B.

    If Project B's cash flows were negatively correlated with gross domestic product (GDP), would that influence your assessment of its risk?

    -Select-YesNoItem 10

In: Finance

Risky Cash Flows The Bartram-Pulley Company (BPC) must decide between two mutually exclusive investment projects. Each...

Risky Cash Flows

The Bartram-Pulley Company (BPC) must decide between two mutually exclusive investment projects. Each project costs $7,000 and has an expected life of 3 years. Annual net cash flows from each project begin 1 year after the initial investment is made and have the following probability distributions:

Project A Project B
Probability Cash Flows Probability Cash Flows
0.2 $7,000 0.2 $        0  
0.6 6,750 0.6 6,750
0.2 7,000 0.2 16,000

BPC has decided to evaluate the riskier project at a 12% rate and the less risky project at a 10% rate.

  1. What is the expected value of the annual cash flows from each project? Do not round intermediate calculations. Round your answers to the nearest dollar.

    Project A Project B
    Net cash flow $ $

    What is the coefficient of variation (CV)? (Hint: σB=$5,097 and CVB=$0.70.) Do not round intermediate calculations. Round σ values to the nearest cent and CV values to two decimal places.

    σ CV
    Project A $
    Project B $
  2. What is the risk-adjusted NPV of each project? Do not round intermediate calculations. Round your answers to the nearest cent.

    Project A $
    Project B $
  3. If it were known that Project B is negatively correlated with other cash flows of the firm whereas Project A is positively correlated, how would this affect the decision?

    This would tend to reinforce the decision to -Select-acceptrejectItem 9 Project B.

    If Project B's cash flows were negatively correlated with gross domestic product (GDP), would that influence your assessment of its risk?

    -Select-YesNoItem 10

In: Finance