1. All of the economic thinkers that we have covered so far, including the mercantilists, the physiocrats, Adam Smith, Malthus, and Ricardo, have dealt with the topic of international trade as well as international trade policy. With the exception of Malthus, discuss the evolution of their ideas regarding those topics. You should mention their ideological leanings as well as the substance of their views. Do not forget to mention their policy recommendations.
In: Economics
Year production in (000) Year Production in (000)
1996 17 2002 35
1997 20 2003 55
1998 19 2004 50
1999 26 2005 74
2000 24 2006 69
2001 40
Using this data;
In: Statistics and Probability
Modify the program below so the driver class (Employee10A) uses a polymorphic approach, meaning it should create an array of the superclass (Employee10A) to hold the subclass (HourlyEmployee10A, SalariedEmployee10A, & CommissionEmployee10A) objects, then load the array with the objects you create. Create one object of each subclass. The three subclasses inherited from the abstract superclass print the results using the overridden abstract method.
Below is the source code for the driver class:
public class EmployeeTest10A {
public static void main(String[] args) {
//creating scanner object to read input
Scanner sc = new Scanner(System.in);
//declaring and initializing variables
String firstName, lastName;
int answer, hrsWorked, otHrs, soldItems;
double otPay = 0;
double hrlyRate, regularPay, wklyPaycheck, bonus, itemCost;
//user input to begin or exit the program
System.out.println("Enter any number to continue or enter a -1 to
exit "
+ "the program.");
answer = sc.nextInt();
//while loop
while(answer != -1) {
//Hourly Employee details
System.out.println("Please provide information for Hourly
Employee.");
System.out.println("Enter the employee's first name:");
firstName = sc.next();
System.out.println("Enter the employee's last name:");
lastName = sc.next();
System.out.println("Enter the employee's hourly rate of
pay:");
hrlyRate = sc.nextDouble();
System.out.println("Enter the number of hours worked by the
employee:");
hrsWorked = sc.nextInt();
if (hrsWorked > 40) {
System.out.println("Enter the number of overtime hours worked
"
+ "by the employee:");
otHrs = sc.nextInt();
otPay = ((hrlyRate * 1.5) * otHrs);
regularPay = hrlyRate * 40;
}
else {
otPay = 0;
regularPay = hrlyRate * hrsWorked;
}
//creating object
HourlyEmployee10A output = new HourlyEmployee10A(firstName,
lastName,
hrsWorked, hrlyRate, regularPay, otPay);
//calling methods from "HourlyEmployee9C" to calculate weekly
paycheck
output.WklyPaycheck();
wklyPaycheck = output.getWklyPaycheck();
//printing results
System.out.println(output);
//Salary Employee details
System.out.println("\nPlease provide information for Salaried
Employee.");
System.out.println("Enter the employee's first name:");
firstName = sc.next();
System.out.println("Enter the employee's last name:");
lastName = sc.next();
System.out.println("Enter the employee's yearly salary:");
regularPay = sc.nextDouble();
System.out.println("Enter the employee's bonus percent:");
bonus = sc.nextDouble();
//creating object
SalariedEmployee10A salary = new SalariedEmployee10A(firstName,
lastName,
regularPay, bonus);
//calling methods from "SalariedEmployee9C" to calculate weekly
paycheck
salary.WeeklyPay();
//printing results
System.out.println(salary);
//Commission Employee details
System.out.println("\nPlease provide information for Commission
Employee.");
System.out.println("Enter the employee's first name:");
firstName = sc.next();
System.out.println("Enter the employee's last name:");
lastName = sc.next();
System.out.println("Enter the number of items sold by the
employee:");
soldItems = sc.nextInt();
System.out.println("Enter the price of each item:");
itemCost = sc.nextDouble();
//creating object
CommissionEmployee10A commission = new
CommissionEmployee10A(firstName,
lastName, soldItems, itemCost);
//calling methods from "CommissionEmployee9C" to calculate weekly
paycheck
commission.WeeklyPay();
//printing results
System.out.println(commission);
//user input to continue or exit the program
System.out.println("\nEnter any number to continue or enter a -1 to
"
+ "exit the program and calculate the total number of
paychecks.");
answer = sc.nextInt();
}
//printing total number of paychecks calculated
System.out.println("\nTotal number of paychecks calculated: " +
Employee10A.counter);
}
}
Source code for the abstract superclass:
abstract public class Employee10A {
//declaring instance variables
private String firstName;
private String lastName;
//declaring & initializing static int variable to keep running
total of the number of paychecks calculated
static int counter = 0;
//constructor to set instance variables
public Employee10A(String firstName, String lastName) {
this.firstName = firstName;
this.lastName = lastName;
}
//toString method that prints out the results
public String toString() {
return ("The employee's full name is " + firstName + " " + lastName
+ ".");
}
abstract void payPrint();
}
Source code for abstract subclass HourlyEmployee10A:
abstract public class HourlyEmployee10A extends Employee10A
{
//declaring instance variables
private int hrsWorked;
private double hrlyRate, regularPay, otPay, wklyPaycheck;
//constructor to set instance variables
public HourlyEmployee10A(String firstName, String lastName, int
hrsWorked,
double hrlyRate, double regularPay, double otPay) {
//calling super class constructor
super (firstName, lastName);
this.hrsWorked = hrsWorked;
this.hrlyRate = hrlyRate;
this.regularPay = regularPay;
this.otPay = otPay;
counter++;
}
//method that calculates the weekly paycheck
public void WklyPaycheck() {
wklyPaycheck = regularPay + otPay;
}
//getter(method) that retrieves the "wklyPaycheck"
public double getWklyPaycheck() {
return wklyPaycheck;
}
//toString method that prints out the results and overrides the
"Employee10A" toString method
@Override
public String toString() {
return (super.toString() + " The employee is a Hourly Employee and
its "
+ "weekly paycheck amount is $" + wklyPaycheck + ".");
}
@Override
public void payPrint() {
WklyPaycheck();
System.out.println(toString());
}
}
Source code for abstract subclass SalariedEmployee10A:
abstract public class SalariedEmployee10A extends Employee10A {
//declaring instance variables
private double yrlySalary;
private double bonusPercent;
private double wklyPay;
//constant variable representing the number of weeks in a
year
private final static double weeks = 52;
//constructor to set instance variables
public SalariedEmployee10A(String firstName, String lastName,
double yrlySalary,
double bonusPercent) {
//calling super class constructor
super(firstName, lastName);
this.yrlySalary = yrlySalary;
this.bonusPercent = bonusPercent;
counter++;
}
//method that calculates the weekly pay
public void WeeklyPay() {
wklyPay = (yrlySalary * (1.0 + bonusPercent/100.0)) / weeks;
}
//toString method that prints out the results and overrides the
"Employee10A" toString method
@Override
public String toString() {
return super.toString() + " The employee is a Salaried Employee and
its "
+ "weekly paycheck amount is $" + Math.round(wklyPay) + ".";
}
@Override
public void payPrint() {
WeeklyPay();
System.out.println(toString());
}
}
Source code for abstract subclass CommissionEmployee10A:
abstract public class CommissionEmployee10A extends Employee10A {
//declaring instance variables
private int soldItems;
private double itemCost, wklyPay;
//constant variable representing the base pay for the commission
employee
private static final double baseComm = 200;
//constructor to set instance variables
public CommissionEmployee10A(String firstName, String lastName, int
soldItems,
double itemCost) {
//calling super class constructor
super(firstName, lastName);
this.soldItems = soldItems;
this.itemCost = itemCost;
counter++;
}
//method that calculates the weekly pay
public void WeeklyPay() {
wklyPay = baseComm + ((10.0/100.0) * (double)soldItems *
itemCost);
}
//toString method that prints out the results and overrides the
"Employee10A" toString method
@Override
public String toString() {
return super.toString() + " The employee is a Commission Employee
and its "
+ "weekly paycheck amount is $" + wklyPay + ".";
}
@Override
public void payPrint() {
WeeklyPay();
System.out.println(toString());
}
}
In: Computer Science
What is the role of secular thought in Ricardo’s shift to abstract analytic method and how does the determination of the laws which regulate the distribution of the produce of earth among social classes serve to this purpose?
In: Economics
Write a quality report following quality report guidelines outlined below.
Topic: Portland cement advancements.
Abstract, Introduction, Background, experimental work reported in the research.
key findings and conclusions.
In: Civil Engineering
Pick one area where you think Blockchain Technology could be proposed as a solution and briefly explain your proposed solution. Your final document should include an Abstract and a Conclusion
In: Computer Science
Questions regarding to business course
27. In cultures with High Power Distance, employees are less likely to:
a. Call coworkers and superiors by last names or official work titles
b. Accept gifts from new business associates or clients
c. Be rewarded by bosses whenever they take initiative
d. Challenge decisions, provide alternatives ,
or give personal Input
28. Which of the following is REQUIRED to deliver an effective "bad news message":
a. An amusing fact or statistic to help lighten the mood and put the at ease .
b. A statement that accepts full legal responsibility for the "bad news".
c. A statement that shifts the attention away from the bad news and offers some other type of good news or outcome.
d. Along, , and vivid description of the "bad news" .
29. Which of the following is the CORRECT order for organizing a " bad news " message :
a. An explanation , bad news, buffer statement positive redirection
b. A buffer statement explanation, bad news, positive redirection .
c. Bad news, explanation, positive redirection, buffer statement
d. Good news, buffer statement , bad news , explanation
30. When trying to get in touch with a coworker who is out of the office for the day, you should try to:
a. Send a text message to their personal mobile phone during business hours
b. Email them immediately once the work day is over
c. Try your best to reach them by their preferred method of contact
d. Call and leave a detailed voicemail
31. Direct organization of messages in professional business discourse is:
a. The most effective approach to explaining a situation when facts or important details have yet to be determined.
b. Standard when replying to routine requests and most day-to-day business matters
c. The best way to deliver bad news to a longtime client .
d. Rarely used in informal text messages , since communication is often casual in the workplace .
32. Indirect organization is usually preferable when:
a.Responding to a routine request for sales quote
b. Delivering an update about a situation that may be in-progress or have developing news c. Informing a job candidate that his or her application has been received
d. Approving a customer's application for a credit line increase.
33. Which of the following groups of words are ONLY CONCRETE subjects ?
a. teamwork , initiative, customer service representative
b. strategy , goal, advertising firm .
c.ethics , competition , challenge
d. coworker , document , supervisor
34. Which the following groups of words are ONLY ABSTRACT Subjects?
a.portfolio, business report, failure
b.conflict, outcome , promotion c. document , success , supervisor
d. employee handbook, coworker, office
35. Identity the sentence focus error(s) in the following sentence: The marketing strategy was developed by the CEO of the company.
a. abstract subjects, passive voice, and faulty expletives
b. abstract subjects and faulty expletives
c. abstract subjects and passive voice
d. faulty expletives ONLY
36. Identity the sentence focus error(s) in the following sentence: There are number of reasons why record profits will be earned by Apple in 2019.
a. abstract subjects ONLY
b. passive voice and faulty expletives
c. abstract subjects, passive voice, AND faulty expletives
d. passive voice ONLY
37. Identify the sentence focus error (s) in the following sentence: It is of high importance for online retailers to show appreciation for their loyal customers .
a. faulty expletives ONLY
b. abstract subjects and faulty expletives
c. passive voice and faulty expletives
d. abstract subjects ONLY
In: Operations Management
What is Anorexia nervosa? Mention some of the symptoms exhibited in this condition?
In: Biology
In: Biology
In: Economics