Questions
Watch 'The Big Short movie' and answer this question: What was in the backgroud of the...

Watch 'The Big Short movie' and answer this question: What was in the backgroud of the financial and economic crisis in 2007?

Please indicate and describe in details 3 new major financial concept that you discovered via this movie. The ‘01_Homework’ has to be minimum 2000 characteres. There is no other formal

In: Finance

With the federalization of many offenses and increased Bureau of Prisons (BOP) responsibility for housing District...

With the federalization of many offenses and increased Bureau of Prisons (BOP) responsibility for housing District of Columbia and immigration offenders, the BOP has grown every year from 2000 to 2013, when it peaked at 219,298. What factors influenced the continued significant growth of the BOP into the 2000s?

In: Statistics and Probability

I want a presentation report (2000-2300 words) on the topic- "Fixed exchange rates and implications for...

I want a presentation report (2000-2300 words) on the topic- "Fixed exchange rates and implications for global trade". It should include analysis and discussions. The most important - your point of view must be augmented. ! please note - the report must be at least 2300 words.

In: Economics

In psychology, why would it be necessary (or encouraged) to look at original or classical papers...

In psychology, why would it be necessary (or encouraged) to look at original or classical papers and reports and not just rely on later research, especially regarding on a 2000 paper by Macmillian about Phinneas Gage; what good or bad about Macmillian's article? Please provide a few reasons.

In: Psychology

Update account balances for the year-end information by recording any necessary adjusting entries. No prior adjustments have been made in Year 1.

The December 31, Year 1, unadjusted trial balance for a company is presented below.

  

AccountsDebit
Credit

Cash$9,900






Accounts Receivable
14,900






Prepaid Rent
7,080






Supplies
3,900






Deferred Revenue



$2,900


Common Stock




10,000


Retained Earnings




5,900


Service Revenue




51,480


Salaries Expense
34,500







$70,280

$70,280




  
At year-end, the following additional information is available:

  1. The balance of Prepaid Rent, $7,080, represents payment on October 31, Year 1, for rent from November 1, Year 1, to April 30, Year 2.

  2. The balance of Deferred Revenue, $2,900, represents payment in advance from a customer. By the end of the year, $725 of the services have been provided.

  3. An additional $600 in salaries is owed to employees at the end of the year but will not be paid until January 4, Year 2.

  4. The balance of Supplies, $3,900, represents the amount of office supplies on hand at the beginning of the year of $1,650 plus an additional $2,250 purchased throughout Year 1. By the end of Year 1, only $790 of supplies remains.

Required:

1. Update account balances for the year-end information by recording any necessary adjusting entries. No prior adjustments have been made in Year 1. (If no entry is required for a particular transaction/event, select "No Journal Entry Required" in the first account field. Do not round intermediate calculations.)

In: Accounting

Part I: The Employee Class You are to first update the Employee class to include two virtual functions. This will make the Employee class an abstract class.

 

Part I:   The Employee Class

You are to first update the Employee class to include two virtual functions. This will make the Employee class an abstract class.

* Update the function display() to be a virtual function

    * Add function, double weeklyEarning() to be a pure virtual function. This will make Employee an abstract class, so your main will not be able to create any Employee objects.

Part II: The Derived Classes

Add an weeklyEarning() function to each of the three derived classes. A salaried employee’s weekly earning is as stored. An hourly employee’s weekly earning is the hrsworked * payperhr. A commissioned employee’s weekly earning would be the base + the comAmount.

Employee.h
-----------------------------------
#ifndef Employee_H   
#define Employee_H

#include

using namespace std;

class Employee
{

private:
   string lastName;
   string firstName;
   int idNum;

public:

   Employee(); //default values assigned to all variables

   Employee(int idNum, string lname, string fname);

   void setLName(string);

   void setFName(string);

   void setIDNum(int);

   string getLName();

   string getFName();

   int getIDNum();

   void displayName();

   void display();

};
#endif
-----------------------------------

-----------------------------------
Employee.cpp
-----------------------------------
#include
#include
#include"Employee.h"

using namespace std;

Employee::Employee() {
   //default values assigned to all variables
   lastName = "";
   firstName = "";
   idNum = 0;
}

Employee::Employee(int idNum, string lname, string fname) {
  
   this->lastName = lname;
   this->firstName = fname;
   this->idNum = idNum;
}
//Sets last name
void Employee::setLName(string lname) {
   this->lastName = lname;
}
//sets first name
void Employee::setFName(string fname) {
   this->firstName = fname;
}
//sets id num
void Employee::setIDNum(int idnum) {
   this->idNum = idnum;
}

//get last name
string Employee::getLName() {
   return lastName;
}
  
//get first name  
string Employee::getFName() {
   return firstName;
}

//get id num
int Employee::getIDNum() {
   return idNum;
}

//display id and last name
void Employee::displayName() {

   cout << endl << "ID Num : " << this->idNum;
   cout << endl << "Last name : " << this->lastName;
}

//display employee details
void Employee::display() {

   cout << endl << "ID Number " << this->idNum;
   cout << endl << "First name : " << this->firstName;
   cout << endl << "Last name : " << this->lastName;

}

-----------------------------------

-----------------------------------
Salaried.h
-----------------------------------
#ifndef Salaried_H   
#define Salaried_H

#include "Employee.h"
#include

using namespace std;

class Salaried : public Employee{

private:

   double weeklySal;
public:

   Salaried();

   Salaried(int idNum, string lname, string fname);

   Salaried(int idNum, string lname, string fname, double sal);

   void setSal(double nsal);

   double getSal();

   void displaySal();

   void display();

};
#endif
-----------------------------------

-----------------------------------
Salaried.cpp
-----------------------------------
#include "Salaried.h"

#include
using namespace std;

Salaried::Salaried():Employee() {
   this->weeklySal = 0;
}

Salaried::Salaried(int idNum, string lname, string fname) :Employee(idNum, lname, fname) {
   this->weeklySal = 0;
}

Salaried::Salaried(int idNum, string lname, string fname, double sal) : Employee(idNum, lname, fname) {
   this->weeklySal = sal;
}

//set salary
void Salaried::setSal(double nsal) {
   this->weeklySal = nsal;

}

//get salary
double Salaried::getSal() {
   return weeklySal;
}

//display name, id num, salary
void Salaried::displaySal() {

   cout << endl << "Name " << this->getLName();
   cout << endl << "ID Num " << this->getIDNum();
   cout << endl << "Weekly salary " << this->weeklySal;

   cout << endl << "------------------------------";

}

//Display employee details
void Salaried::display() {

   Employee::display();
   cout << endl << "Weekly salary " << this->weeklySal;
   cout << endl << "------------------------------";
}
-----------------------------------

-----------------------------------
Commission.h
-----------------------------------
#ifndef Commission_H   
#define Commission_H

#include
#include "Employee.h"

using namespace std;

class Commission : public Employee{
private:

double basesalary;
double comAmount;

public:

Commission();

Commission(int idNum, string lname, string fname);

Commission(int idNum, string lname, string fname, double bsal);

void setBase(double npay);

void setCom(double nhr);

double getBase();

double getCom();

void displayBase();

void displayEmp();

};
#endif

-----------------------------------

-----------------------------------
Commission.cpp
-----------------------------------
#include "Commission.h"

#include 

using namespace std;

//sets Commission instance to default intial values
Commission::Commission():Employee() {

   this->basesalary = 0;
   this->comAmount = 0;
}

//Sets Commission instance to Commission parameters
Commission::Commission(int idNum, string lname, string fname):Employee(idNum, lname, fname) {
  
   this->basesalary = 0;
   this->comAmount = 0;
}

//Sets Commission instance to Employee plus Commision parameters
Commission::Commission(int idNum, string lname, string fname, double bsal):Employee(idNum, lname, fname) {
  
   this->comAmount = 0;
   this->basesalary = bsal;

}

//Sets base salary
void Commission::setBase(double npay) {
   this->basesalary = npay;
}

//Set commision salary
void Commission::setCom(double nhr) {
   this->comAmount = nhr;
}

//Get base salary
double Commission::getBase() {
   return basesalary;
}

//Get commission salary
double Commission::getCom() {
   return comAmount;
}

//Display base salary and commision salary
void Commission::displayBase() {

   cout << endl << "Name " << this->getLName();
   cout << endl << "ID Num " << this->getIDNum();
   cout << endl << "Base salary " << this->basesalary;

   cout << endl << "------------------------------";

}

//Display commission employee details
void Commission::displayEmp() {

   Employee::display();
   cout << endl << "Base salary " << this->basesalary;
   cout << endl << "Commission Amount : " << this->comAmount;

   cout << endl << "------------------------------";

}
-----------------------------------

-----------------------------------
Hourly.h
-----------------------------------
#ifndef Hourly_H   
#define Hourly_H

#include
#include"Employee.h"

using namespace std;

class Hourly : public Employee{
private:

   double payperhr;
   double hrsworked;

public:

   Hourly();
   Hourly(int idNum, string lname, string fname);
   Hourly(int idNum, string lname, string fname, double newpay);
   void setPay(double);
   void setHrs(double nhr);
   double getPay();
   double getHrs();
   void displayHrly();
   void display();

};
#endif

-----------------------------------

-----------------------------------
Hourly.cpp
-----------------------------------
#include "Hourly.h"
#include 

using namespace std;


Hourly::Hourly():Employee() {

   this->payperhr = 0;
   this->hrsworked = 0;
}

Hourly::Hourly(int idNum, string lname, string fname):Employee(idNum, lname, fname) {

   this->payperhr = 0;
   this->hrsworked = 0;
}
Hourly::Hourly(int idNum, string lname, string fname, double newpay): Employee(idNum, lname, fname) {
  
   this->payperhr = newpay;
   this->hrsworked = 0;
}

void Hourly::setPay(double pphr) {
   this->payperhr = pphr;
}

void Hourly::setHrs(double nhr) {
   this->hrsworked = nhr;
}

double Hourly::getPay() {
   return payperhr;
}

double Hourly::getHrs() {
   return hrsworked;
}
void Hourly::displayHrly() {

   cout << endl << "Name " << this->getLName();
   cout << endl << "ID Num " << this->getIDNum();
   cout << endl << "Pay per hour " << this->payperhr;
   cout << endl << "------------------------------";
}
void Hourly::display() {
   Employee::display();
   cout << endl << "Pay per hour " << this->payperhr;
   cout << endl << "Hours worked : " << this->hrsworked;

   cout << endl << "------------------------------";
}

In: Computer Science

What's wrong with this way of thinking? "Economists argue that lower prices will result in fewer...

What's wrong with this way of thinking? "Economists argue that lower prices will result in fewer units being supplied. However, there are exceptions to this rule. For example, in 1972 a very simple ten-digit electronic calculator sold for $120.00. By 2000, the price of the same type of calculators had declined to less than $5.00. Yet business firms produced and sold many more calculators in 2000 than they did in 1972. Lower prices did not result in less production or in a decline in the number of calculators supplied.

a) can a consumer have a demand curve with a positive slope if its only objectives is to maximize his her utility? Why or why not? Could you please explain.

b) can producer (firm) have a supply curve with a negative slope if its objective is to maximize its profit? Why or why not? Could you please explain.

In: Economics

  Information for Questions 26 -29: The General Social Survey is an ongoing nationwide survey done by...

  Information for Questions 26 -29: The General Social Survey is an ongoing nationwide survey done by the National Opinion Research Center at the University of Chicago.  One question asks  whether a respondent favors or opposes capital punishment (death penalty) for persons convicted of murder. In the year 2000 24% of the respondents said they were opposed to the death penalty for convicted murders. Let's assume that this is a good representation of how the U.S. population felt back in the year 2000. In a recent study (2019)  701 of the 2565 respondents said that they were opposed to the death penalty for convicted murders

Calculate the test statistic and the p-value.

a.

  z = 3.95, p-value is approximately 0

b.

z = 4.75, p-value is approximately 0

c.

z =.1.645, p-value = 0.05

d.

z = 3.25,  p-value = 0.005

e.

  z = 1.96, p-value = 0.025

In: Statistics and Probability

Here are the figures for the loyalty of imperial soldiers on the Death Star: 210 stormtroopers...

Here are the figures for the loyalty of imperial soldiers on the Death Star: 210 stormtroopers are traitors, 2000 stormtroopers are loyal, 350 imperial officers are traitors, <$eqn ol> imperial officers are loyal.

traitors loyal
stormtroopers 210 2000
officers 350 1240


Round all answers to the nearest tenth (one place after the decimal).

What percentage of stormtroopers are traitors?  
What percentage of stormtroopers are loyal?  
What percentage of imperial officers are traitors?  
What percentage of imperial officers are loyal?  
What percentage of traitors are stormtroopers?  
What percentage of loyalists are stormtroopers?  
What percentage of traitors are imperial officers?  
What percentage of loyalists are imperial officers?  
What percentage of people on the Death Star are stormtroopers?  
What percentage of people on the Death Star are imperial officers?  
What percentage of people on the Death Star are traitors?  
What percentage of people on the Death Star are loyal?  

In: Statistics and Probability

In Java Please!! 6.21 LAB: Artwork label (modules) Define the Artist class in Artist.py with a...

In Java Please!!

6.21 LAB: Artwork label (modules) Define the Artist class in Artist.py with a constructor to initialize an artist's information. The constructor should by default initialize the artist's name to "None" and the years of birth and death to 0. Define the Artwork class in Artwork.py with a constructor to initialize an artwork's information. The constructor should by default initialize the title to "None", the year created to 0, and the artist to use the Artist default constructor parameter values. Add an import statement to import the Artist class. Add import statements to main.py to import the Artist and Artwork classes. Ex: If the input is: Pablo Picasso 1881 1973 Three Musicians 1921 the output is: Artist: Pablo Picasso (1881-1973) Title: Three Musicians, 1921 If the input is: Brice Marden 1938 -1 Distant Muses 2000 the output is: Artist: Brice Marden, born 1938 Title: Distant Muses, 2000

In: Computer Science