Questions
InstructionsUsing the original course project problem statement (below),identify the nouns.Which nouns qualify as...

Instructions

Using the original course project problem statement (below), identify the nouns.
Which nouns qualify as problem domain classes?
Answer the following:

  1. If the word does not represent a class, then explain why.

  2. If the word does represent a class, then provide a name for the class.

  3. Finally, for each class you found, describe the purpose of the class to explain why you think it is needed as a class for this problem domain.

Hints

: Remember that problem domain classes are used by the users whether or not you ever provide a software application.

Problem statement

Our auditorium is used for different types of events. Some of the events are one-time events, such as basketball games. Other events consist of a number of shows, such as plays or concerts. The event planner can change the floor plan for each event. Some events use the floor for seating (like concerts) and others do not (like basketball games). All the show seating charts for the same event should be based on the same floor plan.
The event planner schedules events and shows. Once an event is negotiated, the event planner decides on the floor plan and schedules the individual shows for the event. Once the shows are scheduled, the event planner prices the shows.

Pricing

Pricing is done using a pricing plan. A pricing plan consists of a set of price tiers. Each price tier contains prices for one or more price types: adult, senior, student, and child. The event planner assigns each price tier to a group of seats in a show, one tier per seat. The event planner may also add one or more discounts to the show to try to improve sales.
Customers can purchase seats online. Once they provide us with their mailing address, they can look up shows and select the seats they want to reserve. We will accept only credit card payments. If customers want refunds, we will credit the card used to purchase the ticket.

In: Computer Science

Bolster Inc. has decided to expand its operations to owning and operating car washes. The following...

Bolster Inc. has decided to expand its operations to owning and operating car washes. The following is an excerpt from the conversation between the chief executive officer, Mike O'Brian, and the vice president of finance, John Ibison:

Mike: John, have you given any thought to how we're going to manage the acquisition of Swiffer Car Wash?

John: Well, the two basic options, as I see it, are to issue either preferred stock or bonds. The equity market is a little depressed right now. The rumor is that the Federal Reserve Bank's going to increase the interest rates either this month or next.

Mike: Yes. I've heard the rumor. The problem is that we can't wait around to see what's going to happen. We'll have to move on this next week if we want any chance to complete the acquisition of Swiffer Car Wash.

John: Well, the bond market is strong right now. Maybe we should issue debt this time around.

Mike: That's what I would have guessed as well. Swiffer Car Wash's financial statements look pretty good, except for the volatility of it's income and cash flows. But that's characteristic of the industry.

REQUIRED: Discuss the advantages and disadvantages of issuing preferred stock versus bonds. Remember the company is issuing the bonds, be sure to discuss this from the Company's point of view not the investor's point of view.

a. You must have a source within your reply. You may use the book as your reference, but DO NOT copy information word-for-word. You also have the option to use another source. (2 points)

b. There must be at least two advantages and two disadvantages listed with supporting information. (from company's point of view, who is issuing the bonds or stock not investors) (2 points)

c. Your comments should at least be a paragraph and well thought out. (1 point)

In: Accounting

Find x and y so that the ordered data set has a mean of 42 and...

  1. Find x and y so that the ordered data set has a mean of 42 and a median of 35, hence compute the harmonic mean and geometric mean of the data sample.

       17, 22, 26, 29, 34, x, 42, 67, 70, y                                                         

  1. The lengths, in centimeters, of 18 snakes are given below. Draw an ordered stem-and-leaf diagram for the data.                                                                                                                                    

24, 62, 20, 65, 27, 67, 69, 32, 40, 53, 55, 47, 33, 45, 55, 56, 49, 58

  1. Costs of production have been monitored for some time within a company and the following data found:

Production level (‘000)

1

2

3

4

5

6

7

8

Average Total cost (sh 000)

70

65

50

40

30

25

20

21

  1. Calculate the correlation coefficient.                                                                        
  2. Calculate the coefficient of determination and explain its significance for the company.                                                                                                                                                   
  1. Using the following frequency distribution table;

Class

10-19

20-29

30-39

40-49

50-59

60-69

Frequency

4

66

47

36

12

4

Find

  1. The mean                                                                                                       
  2. Median                                                                                                           
  3. Standard deviation                                                                                         
  4. Coefficient of skewness and comment                                                          
  1. A single fair die is tossed. What is the probability that the score is a prime number?                
  2. The following data represents the comparison made between the price of a consumer product and the corresponding demand.

Price (x)

32

33

35

40

47

46

44

38

50

58

Demand (y)

28

25

27

30

20

18

18

31

12

10

      Determine the linear regression equation of the form y= a+bx that relates price (x) and demand (y).                                                                                                                                                                        

  1. An integer is randomly selected between 1 and 50, inclusively. Find the probability that the number is not divisible by 7.                                                                                                                              

There are three arrangements of the word DAD, namely DAD, ADD, and DDA. How many arrangements are there of the word PROBABILITY?            

In: Statistics and Probability

Case: Rent Relief Caravans4Hire Ltd1 provides short-term rental of caravans to tourists for camping holidays throughout...

Case:

Rent Relief Caravans4Hire Ltd1 provides short-term rental of caravans to tourists for camping holidays throughout Australia. Caravans4Hire Ltd leases several large properties in Adelaide, Perth and Sydney, which it needs to park its caravans when not in use.

Due to border restrictions, travel restrictions, localised lockdowns and Government advice to stay home, Caravans4Hire Ltd has suffered a significant loss of revenue and cash flow. On 1 May 2020 the National Hotel and Tourism Industry Association which is a non-government, not-for-profit industry association. It supports its members, who are businesses operating in the hospitality and tourism industry awarded Caravans4Hire Ltd a grant of $360 000 in total for rent relief for the three months ended 31 July 2020. The grant was received in cash on 1 May 2020. Caravans4Hire Ltd is under no obligation to repay the money received.

REQUIRED

All questions should be answered from the perspective of Caravans4Hire Ltd. The word lengths are a suggestion only, i.e., they are NOT strict word limits for each part.

a) What is the main accounting policy issue(s) that need to be resolved to account for the grant from the National Hotel and Tourism Industry Association? (20%) (part a) 15 – 50 words)

b) i) Identify one principle that is relevant to the accounting policy issue that you identified in part a) by providing a reference for that principle (e.g., AASB XXX, para. zz; or Conceptual Framework, Chapter X, para. x.xx) AND explain why you chose that principle. (20%)

ii) identify another principle that is relevant to the accounting policy issue that you identified in part a) by providing a reference for that principle.(10%) (part b) 50 – 100 words).

c) Describe an accounting policy to account for the grant from the National Hotel and Tourism Industry Association. Do not justify your policy. Just describe it. (50%) (part c) 20 - 80 words)

In: Accounting

1. First Part: A magazine publisher wants to launch a new magazine geared to college students....

1. First Part: A magazine publisher wants to launch a new magazine geared to college students. The project's initial investment is $66. The project's cash flows that come in at the end of each year are $24 for 6 consecutive years beginning one year from today. What is the project's NPV if the required rate of return is 13%?

Answer #1: $

Place your answer in dollars and cents without the use of a dollar sign or comma. If applicable, a negative answer should have a "minus" sign in front of the number. Work your analysis out to at least 4 decimal places of accuracy.

Second Part
Based upon the NPV decision rule, should the company accept or reject the project?

Answer #2:(Accept or Reject)
Place your aswer as the word "accept" or the word "reject".

2. A research division of a large consumer electronics company has developed a new type of mp3 player. The project will require an immediate cash outflow of $1,665,321. The new project is expected to produce cash flows of $500,000 per year for 4 consecutive years beginning at the end of year one. What is this projects internal rate of return?

3. A manufacturer of backpacks plans to introduce a new line. Equipment and production costs will be incurred immediately and will total $7,272,727. The company expects to earn a profit of $20 per backpack, and sales are estimated to be 100,000 in the first year (assume that the cash flow comes in at the end of the year). Sales are then expected to grow by 10% per year in each of the next three years (in year 2, year 3, and year 4) but the price is expected to remain at $20 throughout. What is the internal rate of return of this project?

%

Place your answer in percentage form with no percentage sign. That is, if your answer is four point eight eight percent, you should enter that value as 4.88.

Should the company produce the backpacks if the required rate of return is 12%?
(Yes or No)

In: Finance

4) Imagine that you are working with Kevin Mills, 78 years old, who lives alone in...

4) Imagine that you are working with Kevin Mills, 78 years old, who lives alone in an independent living unit. Mills has type 1 diabetes. You visited Mills today to check his blood sugar and ensure that he maintains his health in his best possible way in relation to the agreed NCP. Mills' daughter is at home now and she visits Mills two days a week to ensure his welfare. 4.1) Mills' blood sugar is 10.2mmol/L at 10:00 am. He had his breakfast at 08:30am (2 toast, raspberry jam and tea with two sugars). Mills stated that he did not document the previous blood sugar values and doesn't want to follow the diabetic diet plan as he feels the diabetic diet is 'boring'. Provide 2 (two) examples of strategies you would implement as a nurse in promoting the health maintenance of Mills. Diabetic patients require complex nursing care. TWO strategies to be implemented is a change in their diet and awareness of the process, risk factors and treatment. As they feel the diet plan is boring, the nurse should ensure that they take care of the aspects that include their interests. Therefore a nutritionist will make kind of improvement in the food schedule in which his health remains good. Any interesting and delicious food to be provided which is free of sugars and can be constantly supervised by the nurse. Word count : 88 4.2) Identify and describe a community service/resource Mills and his daughter could access in promoting his health maintenance in relation to the identified issue in addition to the home nursing services. 4.3) Briefly describe in 40-60 words, how you could apply advocacy skills in relation to this scenario. Minimum word required : 40

Please answer all my questions and and subquestions don't skip the sub questions

come on man it does not need any other details, that's all about the questions

In: Nursing

There is a forum that has a limit of K characters per entry. In this task...

There is a forum that has a limit of K characters per entry. In this task your job is to implement an algorithm for cropping messages that are too long. You are given a message, consisting of English alphabet letters and spaces, that might be longer than the limit. Your algorithm should crop a number of words from the end of the message, keeping in mind that: • it may not crop away part of a word; • the output message may not end with a space; • the output message may not exceed the K-character limit; the output message should be as long as possible. This means that, in some cases, the algorithm may need to crop away the entire message, outputting an empty string. For example, given the text: "Codility We test coders" With K = 14 the algorithm should output: "Codility We" Note that: • the output "Codility We te" would be incorrect, because the original message is cropped through the middle of a word; the output "Codility We would be incorrect, because it ends with a space; the output "Codility We test coders" would be incorrect, because it exceeds the K-character limit; the output "Codility' would be incorrect, because it is shorter than the correct output.
Write a function class Solution { public String solution(String message, int k); } which, given a message and an integer K, returns the message cropped to no more than K characters, as described above. Examples: 1. Given message = "Codility We test coders' and K = 14, the function should return "Codility We". 2. Given message = "Why not" and K = 100, the function should return "Why not". 3. Given message = "The quick brown fox jumps over the lazy dog" and K = 39, the function should return "The quick brown fox jumps over the lazy". Assume that: • K is an integer within the range [1..500]; • message is a non-empty string containing at most 500 English alphabet letters and spaces. There are no spaces at the beginning or at the end of message; also there can't be two or more consecutive spaces in message.

In: Computer Science

Using the program below, overload the Multiply operator to the Rectangle class… this will multiple the...

  1. Using the program below, overload the Multiply operator to the Rectangle class… this will multiple the widths for the 2 Rectangles and multiple the lengths of the two rectangles (similar to how the “+” operator added the widths and lengths of the 2 rectangles). Overload this operator using the non-member method. Please copy-paste code into MS Word document and then show some screenshots of you running and testing this method using your IDE.

  1. Using the program below, overload the Divide operator to the Rectangle class… this will divide the widths for the 2 Rectangles and divide the lengths of the two rectangles (similar to how the “+” operator added the widths and lengths of the 2 rectangles). Overload this operator using the class member method. Please copy-paste code into MS Word document and then show some screenshots of you running and testing this method using your IDE.


// Overloaded operator is a Rectangle member function

#include <iostream > 
using namespace std ; 
/************ Declaration Section ******************/ 
class Rectangle{ 
  private : 
    int width , length ; 
 
  public : 
    Rectangle (); 
    Rectangle ( int w, int l ); 
    void printArea (); 
    void displayInfo (); 
    Rectangle operator +(Rectangle& r ); 
}; 

/************ Implementation Section ******************/ 
Rectangle :: Rectangle () { width = 1, length = 2; } 
Rectangle :: Rectangle ( int w, int l ) { width = w, length = l ; } 

void Rectangle :: printArea () { 
 cout <<"Area of "<< this <<" = "<< width*length << endl ; 
} 

void Rectangle :: displayInfo () { 
 cout << "I am a " << width <<"x"<< length <<" rectangle " 
      << "with id " << this << endl ; 
} 

Rectangle Rectangle :: operator +( Rectangle& r ) { 
  Rectangle temp ; 
//  cout << "This " << this->width << "  " << this->length << endl;;
//  cout << "argument r: "<< r.width << "  " << r.length << endl;
  temp.width = this->width + r.width ; 
  temp.length = this->length + r.length ; 
  
  return temp; 
} 

/***************** Main Section *********************/ 
int main (){ 
  Rectangle r1 , r2 (5 ,7) , r3 ; 
  r1 . displayInfo (); 
  r2 . displayInfo (); 
  r3 . displayInfo (); 

//  r1 = r1 + r2;
//  r1.displayInfo();

  r3=r1+r2 ; 
  r3 . displayInfo (); 
 
  r1 . printArea (); 
  r2 . printArea (); 
  r3 . printArea (); 
  
  return 0; 
}

In: Computer Science

In this assignment, we are going to work with a combination of variables representing integers, floating...

  • In this assignment, we are going to work with a combination of variables representing integers, floating point numbers (decimals), and strings. Strings are also known as literals. We will create, save, and run a Python batch file (i.e., a Python script file) that will ask the user to enter the name of an investment, the amount invested, the annual return rate, and number of years, after which Python will compute the investment's final value at the end of that time period and spew out a full sentence incorporating the input and computed variables. This sentence will be put together by concatenating all the variables.

    A batch file is a sequence of commands that execute consecutively one after another when Python is asked to run/execute the file. Python batch files have the extension of .py and are best created in a text editor such as Notepad. Do NOT use Word or other word processors to create Python batch files -- they will result in syntax errors.

    Type the following commands into Notepad and save the whole thing as a Python batch file called investment.py --

    name=input("Investment name:")
    amount=int(input("Invested amount:"))
    rate=float(input("Annual return rate:"))
    years=float(input("No. of years:"))
    final_amount=amount*((1+rate)**years)
    print("An investment of","$",round(amount,2),"in",name,"today will grow to $",round(final_amount,2),"after",int(years),"years.")
    print("An investment of "+"$"+str(amount)+" in "+name+" today will grow to $"+str(round(final_amount,2))+" after "+str(int(years))+" years.")

    Now open a Command Prompt window and navigate to the directory in which you had saved investment.py, and then execute this Python script file as follows --

    C:\>py investment.py

    Experiment with various values of the input variables when prompted, and try to correlate the outputs with the last two concatenation/print commands in the script file.

    Also experiment with the commands in the script by removing the functions int, float, round, and str, and see what happens. show step by step answer using Jupyter.

In: Computer Science

Write a program called Teen that takes a sentence and returns a new sentence based on...

Write a program called Teen that takes a sentence and returns a new sentence based on how a teenager might say that. The method that creates the new string should be called teenTalk and should have the signature shown in the starter code.

The way to do that is to put the word "like" in between each of the words in the original sentence.

For example, teenTalk("That is so funny!") would return "That like is like so like funny!".

Sample output:

Sonequa Martin-Green is in grade 10 and wants to send this text:
Enter the text message being sent: 
Hello world how are you doing?

The teen talk text would be: 
Hello like world like how like are like you like doing?

Coding Portion:

public class TeenTester
{
public static void main(String[] args)
{
// Create a new Teen object and print it out; see the Teen class file
// to see how the constructor and toString method work.
Teen myFriend = new Teen("Sonequa", "Martin-Green", 10, true);
System.out.println(myFriend.toString());
  
// Ask the user to input a text message
  
//Call teenTalk method to translate the message to teen talk
}
}

Different Class:

public class Teen
{
private String firstName;
private String lastName;
private int grade;
private Boolean textMessages;

// Constructor to make a teen with a first and last name, grade in school,
// and whether they text message others and need to write texts to others.
  
// This defines the state of the teen.
public Teen(String theFirstName, String theLastName, int theGrade, Boolean theTextMessages)
{
firstName = theFirstName;
lastName = theLastName;
grade = theGrade;
textMessages = theTextMessages;
}
  
// toString method to print out the state of teen object
public String toString()
{
return firstName + " " + lastName + " is in grade " + grade + " and wants to send this text:";
}
  
// Create this method so that it changes the text message
// and places the word "like" in place of each space
// in the message.
public String teenTalk(String text)
{
  
}
  
}

In: Computer Science