Questions
Create an annotated bibliography where you will locate and summarize 8 scholarly sources related to child...

Create an annotated bibliography where you will locate and summarize 8 scholarly sources related to child development that will help to prepare for a interview with a child that's

between ages 3 to 10 years old. I plan to interview a child that's between ages 3 to 10 years old so this is what the annotated bibliographgy should be based on. (Child development).

For better understanding below is just an example of how the annotated bibliography 8 schlarly sources should be:

Just an Example:

Waite, L. J., Goldschneider, F. K., & Witsberger, C. (1986). Nonfamily living and the erosion of traditional family orientations among young adults. American Sociological Review, 51 (4), 541-554.

The authors, researchers at the Rand Corporation and Brown University, use data from the National Longitudinal Surveys of Young Women and Young Men to test their hypothesis that nonfamily living by young adults alters their attitudes, values, plans, and expectations, moving them away from their belief in traditional sex roles. They find their hypothesis strongly supported in young females, while the effects were fewer in studies of young males. Increasing the time away from parents before marrying increased individualism, self-sufficiency, and changes in attitudes about families. In contrast, an earlier study by Williams cited below shows no significant gender differences in sex role attitudes as a result of nonfamily living.

Thanks!

In: Biology

implement c++ Quicksort using median of 3 as pivot. this also pass comparator as a function...

implement c++ Quicksort using median of 3 as pivot. this also pass comparator as a function param so it can sort vector in increasing or decreasing order based on the comparator passed. the test code uses std::less comparator.

#ifndef QSORT_H

#define QSORT_H

#include

#include

using namespace std;

template

T median_of_three(T& a, T& b, T& c, TComparator comparator) {

}

template

size_t partition(vector& vec, TComparator& comparator, size_t low, size_t high) {

// TODO: implement.

}

template

void QuickSort(vector& vec, TComparator comparator,size_t low,size_t high) {

if(comparator(low,high)){

size_t loc = partition(vec,comparator,low,high);

QuickSort(vec,comparator,low,loc-1);

QuickSort(vec,comparator,loc+1,high);

}

return;

}

template

void quicksort(vector& vec, TComparator comparator) {

// TODO: implement.

size_t size = vec.size();

QuickSort(vec,comparator,0,size-1);

}

#endif

test_case:

int main() {

srand(time(NULL));

vector test;

for (int i =0; i < 10; i++) {

test.push_back(rand() % 1000);

}

for (int i = 0; i < 10; i++) {

cout << test[i] << " ";

}

cout<<"Before sort;"<

quicksort(test, std::less {});

for (int i = 0; i < 10; i++) {

cout << test[i] << " ";

}

cout << endl;

return 0;

}

In: Computer Science

Total has discovered a potential 1 billion barrels of “wet” gas off the coast of South...

Total has discovered a potential 1 billion barrels of “wet” gas off the coast of South Africa. The gas could be used as petrol or perhaps even converted into electricity, according to one expert. The Brulpadda gas find should mean more tax revenue and a stronger rand. How Will It Affect South Africans Firstly, government will earn more tax. Total and its partners will pay the regular 28% corporate tax on all taxable income from Brulpadda. According to the most optimistic estimates, the Brulpadda find could yield $1 trillion (R14.4 trillion) for Total and its partners, which would mean a massive tax windfall for South Africa. Certain Businesses and Skills Will Be in Demand The Brulpadda find could have a massive boost to all kinds of businesses in South Africa. Companies providing helicopters, marine services, catering supplies and transport to get supplies to the site would be required.

4.1 Assuming that government budget is at zero balance discuss the implication of the gas find in terms of government’s fiscal policy for the following economic factors:

4.1.1 Collection of revenue through taxation on personal income (6)

4.1.2 Government spending on the provision of goods and services (7)

4.2 Explain, with the aid of a diagram, the economic impact on cost-push inflation and aggregate output. (12)

4.3 Discuss the main type of unemployment that would be reduced

In: Economics

C# programming Write a number guessing game using System.Collections.Generic.Dictionary. Generate 10 distinct random numbers in the...

C# programming

Write a number guessing game using System.Collections.Generic.Dictionary.

  • Generate 10 distinct random numbers in the range of 1 to 20. Each random number is associated with a prize money (from 1 to 10000). Use a Dictionary to store the mapping between the random number and the prize money.
  • Ask user for two distinct numbers, a and b, both from 1 to 20; if a and b are not distinct, or out of range, quit the program
  • Lookup the prize money from both numbers and print out the sum via "You earned XXXX in total!". If the table does not contain the number, assume the prize money is 0.

e.g. Suppose we generate the following random numbers and penalty money:

1

3

4

6

7

11

12

13

19

20

333

234

12

500

1569

9900

23

2

588

23

If a user guess 5 and 3, we output "You earned 234 in total!"

If a user guess 1 and 13, we output "You earned 335 in total!"

If a user guess 1 and 1, quit

* Please use seeded random generation to help you debug your code, i.e. "Random rand = new Random(0);"

**You may have the following properties/methods useful: Count, ContainsKey, Add

Please copy and paste the final working program here:

In: Computer Science

The use of computers in education is referred to as computer-assisted instruction (CAI). More sophisticated CAI...

The use of computers in education is referred to as computer-assisted instruction (CAI). More sophisticated CAI systems monitor the student’s performance over a period of time. The decision to begin a new topic is often based on the student’s success with previous topics. Modify the following auxiliary program (Computers are playing an increasing role in education. Write a program that will help an elementary school student learn multiplication. Use rand to produce two positive one-digit integers. It should then type a question such as: How much is 8 * 9? The student then types the answer. Your program checks the student’s answer. If it is correct, print “Very good!” and then ask another addition question. If the answer is wrong, print “No. Please try again.” and then let the student try the same question again repeatedly until the student finally gets it right. Terminate the program when the student has 5 right answers.) to count the number of correct and incorrect responses typed by the student. After the student types 5 answers, your program should calculate the percentage of correct responses. If the percentage is lower than 75 percent, your program should print “Please ask for extra help” and then terminate. If the percentage is 75 percent or higher, your program should print “Good work!” and then terminate.

I am programming student so please keep code simple enough that I can learn from it thanks

In: Computer Science

1 import java.util.Random; 2 3 /* This class ecapsulates the state and logic required to play...

1 import java.util.Random;
2
3 /* This class ecapsulates the state and logic required to play the
4 Stick, Water, Fire game. The game is played between a user and the computer.
5 A user enters their choice, either S for stick, F for fire, W for water, and
6 the computer generates one of these choices at random- all equally likely.
7 The two choices are evaluated according to the rules of the game and the winner
8 is declared.
9
10 Rules of the game:
11 S beats W
12 W beats F
13 F beats S
14 no winner on a tie.
15
16 Each round is executed by the playRound method. In addition to generating the computer
17 choice and evaluating the two choices, this class also keeps track of the user and computer
18 scores, the number of wins, and the total number of rounds that have been played. In the case
19 of a tie, neither score is updated, but the number of rounds is incremented.
20
21 NOTE: Do not modify any of the code that is provided in the starter project. Additional instance variables and methods
22 are not required to make the program work correctly, but you may add them if you wish as long as
23 you fulfill the project requirements.
24
25 */
26 public class StickWaterFireGame {
27
28
29 // TODO 1: Declare private instance variables here:
30
31
32 /* This constructor assigns the member Random variable, rand, to
33 * a new, unseeded Random object.
34 * It also initializes the instance variables to their default values:
35 * rounds, player and computer scores will be 0, the playerWins and isTie
36 * variables should be set to false.
37 */
38 public StickWaterFireGame() {
39 // TODO 2: Implement this method.
40
41 }
42
43 /* This constructor assigns the member Random variable, rand, to
44 * a new Random object using the seed passed in.
45 * It also initializes the instance variables to their default values:
46 * rounds, player and computer scores will be 0, the playerWins and isTie
47 * variables should be set to false.
48 */
49 public StickWaterFireGame(int seed) {
50 // TODO 3: Implement this method.
51
52 }
53
54 /* This method returns true if the inputStr passed in is
55 * either "S", "W", or "F", false otherwise.
56 * Note that the input can be upper or lower case.
57 */
58 public boolean isValidInput(String inputStr) {
59 // TODO 4: Implement this method.
60 return false;
61 }
62
63 /* This method carries out a single round of play of the SWF game.
64 * It calls the isValidInput method and the getRandomChoice method.
65 * It implements the rules of the game and updates the instance variables
66 * according to those rules.
67 */
68 public void playRound(String playerChoice) {
69 // TODO 12: Implement this method.
70 }
71
72 // Returns the choice of the computer for the most recent round of play
73 public String getComputerChoice(){
74 // TODO 5: Implement this method.
75 return null;
76 }
77
78 // Returns true if the player has won the last round, false otherwise.
79 public boolean playerWins(){
80 // TODO 6: Implement this method.
81 return false;
82 }
83
84 // Returns the player's cumulative score.
85 public int getPlayerScore(){
86 // TODO 7: Implement this method.
87 return 0;
88 }
89
90 // Returns the computer's cumulative score.
91 public int getComputerScore(){
92 // TODO 8: Implement this method.
93 return 0;
94 }
95
96 // Returns the total nuber of rounds played.
97 public int getNumRounds(){
98 // TODO 9: Implement this method.
99 return 0;
100 }
101
102 // Returns true if the player and computer have the same score on the last round, false otherwise.
103 public boolean isTie(){
104 // TODO 10: Implement this method.
105 return false;
106 }
107
108 /* This "helper" method uses the instance variable of Random to generate an integer
109 * which it then maps to a String: "S", "W", "F", which is returned.
110 * This method is called by the playRound method.
111 */
112 private String getRandomChoice() {
113 // TODO 11: Implement this method.
114 return null;
115 }
116 }
117

In: Computer Science

Part I: Have a program class named TestArrays This class should have a main() method that...

Part I:

  1. Have a program class named TestArrays This class should have a main() method that behaves as follows:
  2. Have an integer array of size 10.
  3. Using a loop, fill the elements with increments of 5, starting with 5 in the first element.
  4. Using the array elements, sum the second, fifth and seventh elements.
  5. Display the sum with a label.
  6. Change the fourth element to 86.
  7. Subtract 9 from the ninth element.
  8. Using a loop, display the elements of the array.
  9. Compile and execute the code to ensure correct results.
  10. Don't forget to include descriptive and detailed comments in your code!!!

Part II

  1. have a toString() method for the Vehicle class that would display the attributes of the class.
  2. have an array of 7 elements that will hold Vehicle references.
  3. Using a loop, assign the first 4 elements to Vehicle objects using the null constructor.
  4. Instantiate a Vehicle object with a base price of $37,000 and additional features of $400.
  5. Assign the object to the 5th element of the array.
  6. Assign the 6th element of the array to a Vehicle object with a base price of $24,000 and additional features of $5500.
  7. Assign the 7th element of the array to a Vehicle object with a base price of $53,000 and additional features of $9000.
  8. Calculate the total price for the 5th, 6th and 7th vehicles in the array.
  9. Using an array, display the attributes of the objects in the array calling the toString().

//import statements

import java.util.Scanner;

public class Vehicle

{

//Attributes of class Vehicle

private double basePrice;

private double otherFeatures;

private double totalPrice;

//constructors

//no argument constructors

public Vehicle(){

  basePrice = 25000;

  otherFeatures = 3000;

  totalPrice = basePrice + otherFeatures;

}

//one argument constructor

public Vehicle(double basePrice){

  basePrice = basePrice;

otherFeatures = 0;

  totalPrice = basePrice + otherFeaturese;

}

//two argument constructor

  public Vehicle(double basePrice,double otherFeatures){

   basePrice = basePrice;

   otherFeatures = otherFeatures;

totalPrice = basePrice + otherFeaturese;

  }

  //getters

  public double getBestPrice(){

   return basePrice;

  }

  public double getOtherFeaturese(){

   return otherFeatures;

  }

  public double getTotalPrice(){

   return totalPrice;

  }

  //setters

  public void setBasePrice(double basePrice){

   basePrice = basePrice;

  }

  public void setotherFeatures(double additionalPrice){

  otherFeatures = otherFeatures;

  }

  public void calcTotalPrice(){

    totalPrice = basePrice + otherFeatures;

  }

}//End of class Vehicle

class testVehicle{

public static void main(String[] args){

//creating instances of class Vehicle

Vehicle Ford = new Vehicle();

Vehicle Toyota = new Vehicle(36000);

Vehicle Porsche = new Vehicle(64000,7000);

//changing base price of Ford to 28000

Ford.setBasePrice(28000);

//changing additional price of Toyota to 4500

Toyota.setOtherFeatures(4500);

//changing base price of Porsche to 72000

Porsche.setBasePrice(72000);

//Calculating total price for each vehicles.

Ford.calcTotalPrice();

Toyota.calcTotalPrice();

Porsche.calcTotalPrice();

//Calculating total price of 3 vehicles.

double totalCost = Ford.getTotalPrice()+Toyota.getTotalPrice()+Porsche.getTotalPrice();

  //displaying prices of vehicles

  System.out.println("Vehicle: Ford, Base Price: $ "+Ford.getBestPrice()

           +", otherFeatures: $ "+Ford.getOtherFeatures()

           +", Total cost: $ "+Ford.getTotalPrice());

  System.out.println("Vehicle: Toyota, Base Price: $ "+Toyota.getBestPrice()

           +", otherFeatures Cost: $ "+Toyota.getotherFeatures()

           +", Total cost: $ "+Toyota.getTotalPrice());

  System.out.println("Vehicle: Porsche, Base Price: $ "+Porsche.getBestPrice()

           +", otherFeatures: $ "+Porsche.getOtherFeatures()

           +", Total cost: $ "+Porsche.getTotalPrice());

  //displaying total cost of all 3 vehicles

  System.out.println("Total cost of all 3 Vehicles: "+totalCost);

}//End of main() function

}//End of class testVehicle

In: Computer Science

Erica just started a new job and one of her first tasks is to sign up for health insurance. It’s your job to help Erica choose the best policy for her.

Week 2 – Health Insurance Choice

Erica just started a new job and one of her first tasks is to sign up for health insurance. It’s your job to help Erica choose the best policy for her.


Option 1: HDHP w/ HSA (High Deductible Health Plan) w/ Health Savings Account

Monthly Cost: $68.00

Company Contribution to HSA (annually): $500.00

Deductible: $1,350 (until deductible is met out of pocket = 100%. After deductible 80/20 split) {80% insurance/20% employee}

Out of Pocket Max (per year): $3,000 (once Out of Pocket max is met all claims are paid 100% by insurance)

Rx Plan: payments made for prescriptions count towards the deductible and Out of Pocket Max

Option 2: PPO

Monthly Cost: $137.50

Company Contribution to HSA (annually): 0 (no HSA offered)

Deductible: $600.00 {80% insurance/20% employee}

Out of Pocket Max (per year): $2,200 (once Out of Pocket max is met all claims are paid 100% by insurance)

Rx Plan: payments made for prescriptions do NOT count towards the deductible and Out of Pocket Max

  • Well woman and annual physicals are paid 100% by both plans.

  • Now you do not know if Erica has any medical conditions that will help her make an informed decision. So, look at this decision from your personal point of view. Which plan would you choose. DO NOT discuss any personal medical conditions in this assignment.

    Explain your choice. Show the math in your decision. (show the costs of each decision and indicate, using numbers, which decision is the best financial decision)

In: Finance

Russell Industries is considering replacing a fully depreciated machine that has a remaining useful life of...

Russell Industries is considering replacing a fully depreciated machine that has a remaining useful life of 10 years with a​ newer, more sophisticated machine. The new machine will cost $ 207,000 and will require $ 30,500 in installation costs. It will be depreciated under MACRS using a​ 5-year recovery period​ (see the table for the applicable depreciation​ percentages).

Rounded Depreciation Percentages by Recovery Year Using MACRS for

First Four Property Classes

Percentage by recovery​ year*

Recovery year

3 years

5 years

7 years

10 years

1

33​%

20​%

14​%

10​%

2

45​%

32​%

25​%

18​%

3

15​%

19​%

18​%

14​%

4

7​%

12​%

12​%

12​%

5

12​%

9​%

9​%

6

5​%

9​%

8​%

7

9​%

7​%

8

4​%

6​%

9

6​%

10

6​%

11

4​%

Totals

100​%

100​%

100​%

100​%

A $ 27,000 increase in net working capital will be required to support the new machine. The​ firm's managers plan to evaluate the potential replacement over a​ 4-year period. They estimate that the old machine could be sold at the end of 4 years to net $ 14,800 before​ taxes; the new machine at the end of 4 years will be worth $ 75,000 before taxes. Calculate the terminal cash flow at the end of year 4 that is relevant to the proposed purchase of the new machine. The firm is subject to a 40 % tax rate. The terminal cash flow for the replacement decision is shown​ below:  ​(Round to the nearest​ dollar.)

Proceeds from sale of new machine $

Tax on sale of new machine

Total after-tax proceeds-new asset $

Proceeds from sale of old machine $

Tax on sale of old machine

Total after-tax proceeds-old asset $

Change in net working capital

Terminal cash flow $

In: Finance

Johnson Transformers Inc. Following is the seven-year forecast for a new venture called Johnson Transformers: (all...

Johnson Transformers Inc.

Following is the seven-year forecast for a new venture called Johnson Transformers: (all amounts in $000)

2020 2021 2022 2023 2024 2025 2026
EBIT $(1000) $(900) $200 $1,200 $2,500 $3000 $3,050
Capital Expenditures $550 $350 $200 $175 $175 $160 $150
Changes in Working Capital $400 $300 $200 $100 $100 ($100) ($100)
Depreciation $40 $80 $125 $150 $150 $150 $150

Beginning after year 2026 the annual growth in EBIT is expected to be 1.5%, a rate that is projected to be constant over Johnson Transformers remaining life as an enterprise.   Beginning in 2026 Johnson's Transformers capital expenditures and depreciation are expected to offset each other (capex - depreciation = 0) and year to year changes in working capital are expected to be zero (working capital levels remain constant year over year). For discounting purposes consider 2020 as year 1.

Assume a tax rate is 21% and a cost of capital of 7.75%

Question 1: Determine the NPV of Johnson Transformers Free Cash Flow for the years 2020 -2026. HINT: Remember to account for loss carry-forwards when determining income taxes. The answer to this question was determined in Excel. Your answer may deviate slightly depending upon differences in truncation and rounding. Answers below are in $000.

Answer: $2105

Calculate the fair market value (NPV) for Johnson Transformers. For this problem assume that the Net Present Value of Johnson Transformers free cash flow for the period 2020 - 2026 is $3000 (NOTE its not $3000 but make this assumption in case the answer you determined in the first question was incorrect. Assume no underlying changes to any of the data in the problem. DO NOT USE YOUR ANSWER FROM THE QUESTION ABOVE. All ANSWERS ARE IN $000

$26,206
$22,089
$24,536
$21,830
$34,476

In: Finance