Questions
How does gender and occupational prestige affect credibility? Graduate students in a public health program are...

How does gender and occupational prestige affect credibility? Graduate students in a public health program are asked to rate the strength of a paper about the health risks of childhood obesity. In reality, all student raters are given the same paper, but the name and degree associated with the author are changed. The student raters are randomly assigned to one group from the following name ("John Lake", "Joan Lake") and degree (M.D., R.N., Ph.D.) combination. The raters score the paper from 1 to 5 on clarity, strength of argument, and thoroughness. The total scores (the sum of the three scores) are given in the table below. What can be concluded with an α of 0.05?

John Lake /
M.D.
John Lake /
R.N.
John Lake /
Ph.D.
Joan Lake /
M.D.
Joan Lake /
R.N.
Joan Lake /
Ph.D.
12
15
13
15
14
15
16
12
13
13
11
8
13
12
9
15
10
12
14
12
10
7
8
10
6
11
11
12
8
8


a) What is the appropriate test statistic?
---Select--- na one-way ANOVA within-subjects ANOVA two-way ANOVA

b) Compute the appropriate test statistic(s) to make a decision about H0.
Name: p-value =  ; Decision:  ---Select--- Reject H0 Fail to reject H0
Degree: p-value =  ; Decision:  ---Select--- Reject H0 Fail to reject H0
Interaction: p-value =  ; Decision:  ---Select--- Reject H0 Fail to reject H0


c) Compute the corresponding effect size(s) and indicate magnitude(s).
Name: η2 =  ;  ---Select--- na trivial effect small effect medium effect large effect
Degree: η2 =  ;  ---Select--- na trivial effect small effect medium effect large effect
Interaction: η2 =  ;  ---Select--- na trivial effect small effect medium effect large effect


d) Make an interpretation based on the results.

There is a name difference in the total scores.There is no name difference in the total scores.    

There is a degree difference in the total scores.There is no degree difference in the total scores.    

There is a name by degree interaction in the total scores.There is no name by degree interaction in the total scores.    

In: Math

How does gender and occupational prestige affect credibility? Graduate students in a public health program are...

How does gender and occupational prestige affect credibility? Graduate students in a public health program are asked to rate the strength of a paper about the health risks of childhood obesity. In reality, all student raters are given the same paper, but the name and degree associated with the author are changed. The student raters are randomly assigned to one group from the following name ("John Lake", "Joan Lake") and degree (M.D., R.N., Ph.D.) combination. The raters score the paper from 1 to 5 on clarity, strength of argument, and thoroughness. The total scores (the sum of the three scores) are given in the table below. What can be concluded with an α of 0.01?

John Lake /
M.D.
John Lake /
R.N.
John Lake /
Ph.D.
Joan Lake /
M.D.
Joan Lake /
R.N.
Joan Lake /
Ph.D.
12
15
16
15
14
15
16
12
13
13
10
8
13
12
9
15
10
12
14
12
10
7
8
10
6
11
11
12
8
8


a) What is the appropriate test statistic?
---Select--- na one-way ANOVA within-subjects ANOVA two-way ANOVA

b) Compute the appropriate test statistic(s) to make a decision about H0.
Name: p-value =  ; Decision:  ---Select--- Reject H0 Fail to reject H0
Degree: p-value =  ; Decision:  ---Select--- Reject H0 Fail to reject H0
Interaction: p-value =  ; Decision:  ---Select--- Reject H0 Fail to reject H0


c) Compute the corresponding effect size(s) and indicate magnitude(s).
Name: η2 =  ;  ---Select--- na trivial effect small effect medium effect large effect
Degree: η2 =  ;  ---Select--- na trivial effect small effect medium effect large effect
Interaction: η2 =  ;  ---Select--- na trivial effect small effect medium effect large effect


d) Make an interpretation based on the results.

There is a name difference in the total scores.There is no name difference in the total scores.    

There is a degree difference in the total scores.There is no degree difference in the total scores.    

There is a name by degree interaction in the total scores.There is no name by degree interaction in the total scores.    

In: Math

9.25 LAB*: Program: Online shopping cart (Part 2) Note: Creating multiple Scanner objects for the same...

9.25 LAB*: Program: Online shopping cart (Part 2)

Note: Creating multiple Scanner objects for the same input stream yields unexpected behavior. Thus, good practice is to use a single Scanner object for reading input from System.in. That Scanner object can be passed as an argument to any methods that read input.

This program extends the earlier "Online shopping cart" program. (Consider first saving your earlier program).

(1) Extend the ItemToPurchase class per the following specifications:

  • Private fields
    • string itemDescription - Initialized in default constructor to "none"
  • Parameterized constructor to assign item name, item description, item price, and item quantity (default values of 0). (1 pt)
  • Public member methods
    • setDescription() mutator & getDescription() accessor (2 pts)
    • printItemCost() - Outputs the item name followed by the quantity, price, and subtotal
    • printItemDescription() - Outputs the item name and description

Ex. of printItemCost() output:

Bottled Water 10 @ $1 = $10


Ex. of printItemDescription() output:

Bottled Water: Deer Park, 12 oz.


(2) Create two new files:

  • ShoppingCart.java - Class definition
  • ShoppingCartManager.java - Contains main() method

Build the ShoppingCart class with the following specifications. Note: Some can be method stubs (empty methods) initially, to be completed in later steps.

  • Private fields

    • String customerName - Initialized in default constructor to "none"
    • String currentDate - Initialized in default constructor to "January 1, 2016"
    • ArrayList cartItems
  • Default constructor

  • Parameterized constructor which takes the customer name and date as parameters (1 pt)

  • Public member methods

    • getCustomerName() accessor (1 pt)
    • getDate() accessor (1 pt)
    • addItem()
      • Adds an item to cartItems array. Has parameter ItemToPurchase. Does not return anything.
    • removeItem()
      • Removes item from cartItems array. Has a string (an item's name) parameter. Does not return anything.
      • If item name cannot be found, output this message: Item not found in cart. Nothing removed.
    • modifyItem()
      • Modifies an item's description, price, and/or quantity. Has parameter ItemToPurchase. Does not return anything.
      • If item can be found (by name) in cart, check if parameter has default values for description, price, and quantity. If not, modify item in cart.
      • If item cannot be found (by name) in cart, output this message: Item not found in cart. Nothing modified.
    • getNumItemsInCart() (2 pts)
      • Returns quantity of all items in cart. Has no parameters.
    • getCostOfCart() (2 pts)
      • Determines and returns the total cost of items in cart. Has no parameters.
    • printTotal()
      • Outputs total of objects in cart.
      • If cart is empty, output this message: SHOPPING CART IS EMPTY
    • printDescriptions()
      • Outputs each item's description.


Ex. of printTotal() output:

John Doe's Shopping Cart - February 1, 2016
Number of Items: 8

Nike Romaleos 2 @ $189 = $378
Chocolate Chips 5 @ $3 = $15
Powerbeats 2 Headphones 1 @ $128 = $128

Total: $521


Ex. of printDescriptions() output:

John Doe's Shopping Cart - February 1, 2016

Item Descriptions
Nike Romaleos: Volt color, Weightlifting shoes
Chocolate Chips: Semi-sweet
Powerbeats 2 Headphones: Bluetooth headphones


(3) In main(), prompt the user for a customer's name and today's date. Output the name and date. Create an object of type ShoppingCart. (1 pt)

Ex.

Enter Customer's Name:
John Doe
Enter Today's Date:
February 1, 2016

Customer Name: John Doe
Today's Date: February 1, 2016


(4) Implement the printMenu() method. printMenu() has a ShoppingCart parameter, and outputs a menu of options to manipulate the shopping cart. Each option is represented by a single character. Build and output the menu within the method.

If the an invalid character is entered, continue to prompt for a valid choice. Hint: Implement Quit before implementing other options. Call printMenu() in the main() method. Continue to execute the menu until the user enters q to Quit. (3 pts)

Ex:

MENU
a - Add item to cart
d - Remove item from cart
c - Change item quantity
i - Output items' descriptions
o - Output shopping cart
q - Quit

Choose an option: 


(5) Implement Output shopping cart menu option. (3 pts)

Ex:

OUTPUT SHOPPING CART
John Doe's Shopping Cart - February 1, 2016
Number of Items: 8

Nike Romaleos 2 @ $189 = $378
Chocolate Chips 5 @ $3 = $15
Powerbeats 2 Headphones 1 @ $128 = $128

Total: $521


(6) Implement Output item's description menu option. (2 pts)

Ex.

OUTPUT ITEMS' DESCRIPTIONS
John Doe's Shopping Cart - February 1, 2016

Item Descriptions
Nike Romaleos: Volt color, Weightlifting shoes
Chocolate Chips: Semi-sweet
Powerbeats 2 Headphones: Bluetooth headphones


(7) Implement Add item to cart menu option. (3 pts)

Ex:

ADD ITEM TO CART
Enter the item name:
Nike Romaleos
Enter the item description:
Volt color, Weightlifting shoes
Enter the item price:
189
Enter the item quantity:
2


(8) Implement Remove item menu option. (4 pts)

Ex:

REMOVE ITEM FROM CART
Enter name of item to remove:
Chocolate Chips


(9) Implement Change item quantity menu option. Hint: Make new ItemToPurchase object and use ItemToPurchase modifiers before using modifyItem() method. (5 pts)

Ex:

CHANGE ITEM QUANTITY
Enter the item name:
Nike Romaleos
Enter the new quantity:
3

First code below, please help me edit this code to fit the parameters set above.:

ShoppingCartPrinter.java

import java.util.Scanner;

public class ShoppingCartPrinter {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
  
ItemToPurchase item1 = new ItemToPurchase();
ItemToPurchase item2 = new ItemToPurchase();

System.out.println("Item 1");
System.out.println("Enter the item name:");
String name1 = scan.nextLine();

System.out.println("Enter the item price:");
int price1 = scan.nextInt();

System.out.println("Enter the item quantity:");
int quantity1 = scan.nextInt();

item1.setName(name1);
item1.setPrice(price1);
item1.setQuantity(quantity1);
scan.nextLine();

System.out.println("");

System.out.println("Item 2");
System.out.println("Enter the item name:");
String name2 = scan.nextLine();

System.out.println("Enter the item price:");
int price2 = scan.nextInt();

System.out.println("Enter the item quantity:");
int quantity2 = scan.nextInt();
System.out.println("");

item2.setName(name2);
item2.setPrice(price2);
item2.setQuantity(quantity2);

System.out.println("TOTAL COST");

int item1Total = item1.getPrice() * item1.getQuantity();
int item2Total = item2.getPrice() * item2.getQuantity();

System.out.println(item1.getName()+" "+item1.getQuantity()+" @ $"+item1.getPrice()+" = $"+item1Total);
System.out.println(item2.getName()+" "+item2.getQuantity()+" @ $"+item2.getPrice()+" = $"+item2Total);
System.out.println();
System.out.println("Total: $"+(item1Total + item2Total));

}

}

ItemToPurchase.java

public class ItemToPurchase {
private String itemName ;
private int itemPrice;
private int itemQuantity;
public ItemToPurchase(){
itemName = "none";
itemPrice = 0;
itemQuantity = 0;
}
public String getName() {
return itemName;
}
public void setName(String itemName) {
this.itemName = itemName;
}
public int getPrice() {
return itemPrice;
}
public void setPrice(int itemPrice) {
this.itemPrice = itemPrice;
}
public int getQuantity() {
return itemQuantity;
}
public void setQuantity(int itemQuantity) {
this.itemQuantity = itemQuantity;
}
  
}

In: Computer Science

Pick 5 of the concepts below and explain in 50 words maximum each selected concept: GATT...

Pick 5 of the concepts below and explain in 50 words maximum each selected concept:

GATT and Trade rounds

National Treatment and non-discrimination (Most favored nation status)

Adam Smith’s “The invisible hand” and Mercantilism

Lender of last resort and IMF conditionality

Comparative advantage vs. absolute advantage

Shallow integration v. deep integration

Foreign direct investment (FDI) and name two types of FDI’s

Bretton Woods conference

In: Economics

($ Millions) JetBlue Airways Southwest Airlines Total liabilities, 2017 $                 4,947 $            

($ Millions) JetBlue Airways Southwest Airlines
Total liabilities, 2017 $                 4,947 $                    13,973
Total current liabilities, 2017 $                 2,395 $                       6,905
Total liabilities, 2016 $                 5,310 $                    14,845
Total current liabilities, 2016 $                 2,214 $                       6,844
Total assets, 2017 $                 9,781 $                    25,110
Total current assets, 2017 $                 1,206 $                       4,815
Total assets, 2016 $                 9,323 $                    23,386
Total current assets, 2016 $                 1,403 $                       4,498
Revenue, 2017 $                 7,015 $                    21,171
Net income, 2017 $                 1,147 $                       3,488

(Please show your work so I can learn)

e.) For each company, compute the return on assets ratio (ignore any interest and tax impact – just use net income/total average assets) for 2017. Which Company earned the higher return based on its assets?   

f.) Based on your answers to questions a - e, compare these two competitors, specifically if you had $10,000, which would you invest in. What might be the cause of any differences in the ratios that you computed?            

g.) Name three specific ways/strategies that the companies could improve their current ratio.

In: Accounting

Public Procurement Act 2003 Act 663 and Public Procurement Amendment Act 2016, Act 914 specify method...

Public Procurement Act 2003 Act 663 and Public Procurement Amendment Act 2016, Act 914 specify method of procurement. One way of procuring is by the use of sole sourcing also referred to as single source procurement method.Required:Explain the term “sole sourcing” and outline the conditions required for the use of single source procurement method. A) Explain the following types of Public Private Partnerships(PPPs)i. Build, Operate and Transfer (BOT)ii. Build, Operates and Own(BOO)iii. Leasingiv. Private Finance Initiative (PFI)v. Concession

In: Accounting

referring to the paper  "Recent insights on applications of pullulan in tissue engineering", authored by RS Singh,...

referring to the paper  "Recent insights on applications of pullulan in tissue engineering", authored by RS Singh, N Kaur, V Rana, and JF Kennedy. It was published in Carbohydrate Polymers, 2016, 153, 455-462.

Which are the physical traits of pullulan which recommend this polymer for tissue engineering ?

How injured tissues can be repaired with the help of artificially created polymeric scaffolds ?

Please mention few pullulan derivatives and explain why the derivatization was necessary for a particular type of application ?

Which are on your opinion the main challenges related to usage of pullulan in tissue engineering ?

In: Other

Treatment of cells with the BOBA drug induces apoptosis of cells and leads to DNA fragmentation....

Treatment of cells with the BOBA drug induces apoptosis of cells and leads to DNA fragmentation.

A) (4pts) Describe the cellular mechanism that causes DNA fragmentation during apoptosis to occur. (4 sentence max)

B) (8pts) Describe an experiment, step by step, that can be used to determine how many hours after BOBA treatment DNA fragmentation occurs. (8 sentence max)

C) (4pts) One of your friends said they would use an Annexin V and PI staining technique to identify how many hours post BOBA treatment DNA fragmentation occurs. Why won’t this experimental method work to answer this experimental question? (4 sentence max)

In: Biology

Gas Chromatography of Ethanol in Alcoholic Beverages Questions (1) What is the purpose of n-propanol in...

Gas Chromatography of Ethanol in Alcoholic Beverages Questions

(1) What is the purpose of n-propanol in this experiment and why is it so cruical to accuracy and precision to this experiment?

(2) Why were there only two chromatographic peaks (Ethanol + N-propyl) seen in the data collected for all of the analytical standards?

Please answer both in detail, thank you!

EDIT: Procedure below:

1) Using an adjustable pipet, transfer 1.00mL of the liquor (66% proof Fireball) and 0.500mL of n-propanol into a 10.00mL volumetric flask. Dilute to the mark with nanopure water.

2)5.00% v/v Ethanol standard (one per group): Pipet 0.500 mL of absolute ethanol and 0.500mL of n-propanol into a 10.00mL volumetric flask using an adjustable pipet. Dilute to the mark with nanopure water.

3) Set up the gas chromatograph for an isothermal anaylsis at 90 C. Inject 1 uL of the 5% ethanol standard until consistant results are obtained.

4) Sequentially analyze 1uL of both your unknown sample and the 5.00% ethanol standard.

5) Estimate the concentration of the ethanol by comparing area ratios to the 5% ethanol standard. Be sure to correct for the dilution factor used to prepare the sample. Prepare 3 addtional ethanol standards suitable for calibration of your particular alchol sample.

6) Injections of the 1uL should be used for all FOUR ethanol standards and unknown (fireball 66% proof). Each standard and sample should be run three times and use the data to answer questions and create graphs.

The graphs had 2 peaks. One smaller peak of Ethanol and one larger peak of N-Propanol.

In: Other

The figure shows a plot of potential energy U versus position x of a 0.250 kg...

The figure shows a plot of potential energy U versus position x of a 0.250 kg particle that can travel only along an x axis under the influence of a conservative force. The graph has these values: UA = 9.00 J, UC = 20.0 J and UD = 24.0 J. The particle is released at the point where U forms a “potential hill” of “height” UB = 12.0 J, with kinetic energy 8.00 J. What is the speed of the particle at (a)x = 3.50 m and (b)x = 6.50 m? What is the position of the turning point on (c) the right side and (d) the left side?

In: Physics