Questions
1)  What kind of role does the project manager plays when entering the execution phase of a...

1)  What kind of role does the project manager plays when entering the execution phase of a project? Is planning still a concern or is it strictly monitoring and controlling at this point? Please explain.

In: Computer Science

1. Copy the files from Assignment 1 to Assignment 2. Relabel as necessary 2. Create 3...

1. Copy the files from Assignment 1 to Assignment 2. Relabel as necessary

2. Create 3 instances of the PetFoodCompany class - dogFoodMaker, catFoodMaker, fishFoodMaker.

3. Internally set the division name for each instance. (I.E. "Alpo" for dogFoorMaker, "Purina" for CatFoodMaker, "GloFish" for fishFoodMater)

4. Prompt me to enter the Company Name and Quarter only once.

5. For each of the above instances, prompt me for total sales and total expenses. A loop is not expected.

6. For each instance of the class, display the Company Name, Quarter. Division Name, Total Sales, Total Expenses and Net Income. The company name and quarter should be displayed for all instances.

5 Points Extra Credit: Create a method in the PetFoodCompany class that will do step 6 and call it from main() for the 3 instances.

Here is the code:

PetFoodComp.h:

class PetFoodCompany
{
public:
  
PetFoodCompany();

char getQuart();
char* getCompany();
char* getDivision();

void setQuart(char quart);
void setTotalSales(float totalSales1);
void setTotalExpences(float totalExpences1);
void setCompany(char name[]);
void setDivision(char name1[]);


float getTotalSales();
float getTotalExpences();

double netIncome();
  

private:
  
char company[40];
char division[40];

static char quart;
static double BonusRate;

float totalSales;
float totalExpences;
  
  
};

PetFood.cpp:

#include <iostream>
#include <cstring>
#include "PetFoodComp.h"

using namespace std;


double PetFoodCompany::BonusRate = 0.02;
char PetFoodCompany::quart = '1';

PetFoodCompany::PetFoodCompany()
{
   strcpy(company, "myCompanyName");
}

char PetFoodCompany::getQuart()
{
   return quart;
}

float PetFoodCompany::getTotalSales()
{
   return totalSales;
}

float PetFoodCompany::getTotalExpences()
{
   return totalExpences;
}

char* PetFoodCompany::getCompany()
{
   return company;
}

char* PetFoodCompany::getDivision()
{
   return division;
}

void PetFoodCompany::setQuart(char quart1)
{
   if (quart1 == '1' || quart1 == '2' || quart1 == '3' || quart1 == '4')
       quart = quart1;
}

void PetFoodCompany::setTotalSales(float totalSales1)
{
   totalSales = totalSales1;
}

void PetFoodCompany::setTotalExpences(float totalExpences1)
{
   totalExpences = totalExpences1;
}

void PetFoodCompany::setCompany(char name[])
{
   strcpy(company, name);
}

void PetFoodCompany::setDivision(char dname[])
{
   strcpy(division, dname);
}

double PetFoodCompany::netIncome()
{
   return (totalSales - totalExpences);
}

PetFoodMain.cpp:

#include <iostream>
#include <cstring>
#include "PetFoodComp.h"


using namespace std;

int main()
{
   double totalSales, totalExpences;
   PetFoodCompany pet;
   cout << "Company Name is " << pet.getCompany() << "\n";
   cout << "Current Quarter is " << pet.getQuart() << "\n";


   cout << "Enter Total Sales: ";
   cin >> totalSales;

   cout << "Enter Total Expences: ";
   cin >> totalExpences;

   pet.setTotalExpences(totalExpences);
   pet.setTotalSales(totalSales);

   cout << "Net Income: " << pet.netIncome() << "\n";

   return 0;
}

In: Computer Science

How is sustainable long run economic growth effected by scarcity of natural resources and environmental degradation?...

How is sustainable long run economic growth effected by scarcity of natural resources and environmental degradation?

How will climate change effect long run economic growth in the U.S.? How will climate change effect long run economic growth in other countries and regions of the world?

What policies do you recommend to address the effects of climate change and ensure long run economic growth?

In: Economics

Explain how each of the following transactions generates a credit and a debit in the American...

  1. Explain how each of the following transactions generates a credit and a debit in the American balance of payments accounts and described (BRIEFLY) how each entry would be classified:
    1. An American buys a share of German stock, paying by writing a check on an account with a Swiss bank.
    2. The Korean government carries out an official foreign exchange intervention in which it uses dollars held in an American bank to buy Korean currency from its citizens
    3. A tourist from Detroit buys a meal at a restaurant in Lyons, France, paying with a traveler’s check
    4. A California winemaker contributes a case of cabernet sauvignon for a London based win tasting.
    5. A US owned factory in Britain uses local earnings to buy additional machinery

In: Economics

Q2. A recent trend more and more companies are embracing is to outsource all or most...

Q2. A recent trend more and more companies are embracing is to outsource all or most of their human resource management activities. Do you agree or disagree with this trend? What risks is a company taking when it decides to outsource its entire set of human resource management activities? Try to describe a situation where it is most beneficial to retain most of the human resource management activities within a company so that HR is provided by the human resource management department.

( a maximum of one-half typed page for answer).

In: Operations Management

1. Why Natural Resources Are a Curse? 2. Why in most natural resource industries, economic rent...

1. Why Natural Resources Are a Curse?

2. Why in most natural resource industries, economic rent is positive, even with free entry.

3. Why the private provision of public good is inefficient? Can the public provision of public good be efficient?

In: Economics

Why is it important for organizations that use Information Systems should also be using a Risk...

Why is it important for organizations that use Information Systems should also be using a Risk Management function to protect themselves and the consumers who purchase their products or services? Explain

In: Operations Management

Defense Mechanisms and Coping with Stress Discuss the following with the class: Which defense mechanism do...

Defense Mechanisms and Coping with Stress

Discuss the following with the class:

Which defense mechanism do you tend to use? Does the information in Ch. 11 of Essentials of Psychology provide you some insight into why you use this Mechanism?

What are some stress-management strategies or techniques you find helpful? What do you do when these strategies do not work?

In: Psychology

Describe the personological and life-story perspectives.

Describe the personological and life-story perspectives.

In: Psychology

Compare and contrast Overshadowing and Blocking procedures. Define each, explain the differences in training procedures use...

Compare and contrast Overshadowing and Blocking procedures. Define each, explain the differences in training procedures use to produce each, and explain the theoretical accounts of each.

and how would you of tried to of cured the Little Albert phobia

In: Psychology

Describe the hierarchy of needs. (100 words) What is meant by the need to belong? How...

Describe the hierarchy of needs. (100 words)

What is meant by the need to belong? How would you know if you already fulfilled it? 50 words minimum

In: Psychology

Understand you can only answer 1 question, but I guarantee a thumps up if you give...

Understand you can only answer 1 question, but I guarantee a thumps up if you give the extra effort.

Question refers to this data

Variable production costs         $480,000

Variable S and A costs              $55,000

Fixed S and A costs                  $100,000

Fixed production costs              $270,000

Unit sales price                         $           8

production in units                    $120,000

Sales in units                            110,000

Under full costing, the value of the ending inventory is:

A. $80,000

B. 62,500

C. $40,000

D. $210,000

Under variable costing, the cost per unit is

A. $2.25

B. $6.25

C. $4.36

D $210,000

under full costing, net income (loss) is:

A. $37,500

B. $15,000

C $(25,000)

D. none of the above

under variable costing, the contribution margin is:

A. 192,000

B. 345,000

c. 385,000

D. 400,000

Under full costing, the amount of deferred overhead is

A. $0

B. $22, 500

C $270,000

D. None of the above

Question refers to this data

Unit sales price            $20

Variable production cost per unit        $8

Variable S and A cost per unit            $2

Fixed overhead cost                           $150,000

Fixed selling and admin, cost             $200,000

Units produced                                   $50,000

Units sold                                            $48,000

Using full costing, the cost per unit is

A. $8

B. $11

C. $12

D. $9.05

Using variable costing, the cost of the ending inventory is:

A. $40,000

b. $22,000

C. $16,000

D. $24,000

Using variable costing, the contribution margin is

A. $576,000

B. 432,000

C. $336,000

d. $480,000

Using full costing, the gross margin is

A. $576,000

B. 432,000

C.336,000

D. $480,000

Total period costs under variable costing are

A. $350,000

B. $296,000

C.$446,000

D.$200,000

In: Accounting

1-Derive the capacitance in 3 capacitors, C1, C2, and C3 in series. 2-Derive the capacitence in...

1-Derive the capacitance in 3 capacitors, C1, C2, and C3 in series.

2-Derive the capacitence in 3 capacitors C1, C2, C3 in parallel.

In: Physics

Dividing Partnership Income Morrison and Greene have decided to form a partnership. They have agreed that...

Dividing Partnership Income Morrison and Greene have decided to form a partnership. They have agreed that Morrison is to invest $204,000 and that Greene is to invest $68,000. Morrison is to devote one-half time to the business, and Greene is to devote full time. The following plans for the division of income are being considered: Equal division. In the ratio of original investments. In the ratio of time devoted to the business. Interest of 5% on original investments and the remainder equally Interest of 5% on original investments, salary allowances of $40,000 to Morrison and $80,000 to Greene, and the remainder equally Plan (e), except that Greene is also to be allowed a bonus equal to 20% of the amount by which net income exceeds the total salary allowances Required: For each plan, determine the division of the net income under each of the following assumptions: (1) net income of $118,000 and (2) net income of $210,000. Round answers to the nearest whole dollar.

In: Accounting

What is the unconscious in Freudian psychology and what is its role in his views on...

What is the unconscious in Freudian psychology and what is its role in his views on religion? How do the Oedipus complex and infantile sexuality relate to Freud’s theory of religion? According to Pals, what does Freud mean when he says that religion and belief in deities are illusions? How do Freud’s basic ideas about religion compare with those of Durkheim? What do you find useful in Freud’s theory?

In: Psychology