Questions
Peter runs his own bricklaying business and is considering hiring a full time worker. He will...

Peter runs his own bricklaying business and is considering hiring a full time worker. He will pay his employee a gross wage of $48,500 p.a. His employee is also entitled to 4 weeks paid annual leave and 10 public holidays (2 weeks total). He knows that he has to pay PAYG withholding tax out of the gross wage figure (calculation not required), and has been advised that he has to pay 1.85% in WorkSafe insurance.

a. If this will be Peter’s only employee, does he have to pay payroll tax?

b. Are there any other costs Peter needs to factor in? List and briefly explain.

c. Calculate (showing workings) the full cost to Peter of hiring the above worker.

d. If Peter gives his worker the work vehicle and allows him to use it for personal travel, does this get taxed as well? If so, who pays the tax? (2.5 marks)

In: Accounting

You hope to retire in 30 years, when you do, you would like to have the...

You hope to retire in 30 years, when you do, you would like to have the purchasing power of $100,000 today, during each year of retirement. Your cash is needed at the beginning of each year of retirement. Inflation is expected to be 3% per year from now until the end of your retirement. Your retirement will last 25 years, you expect your 401k to earn 5% per year during your retirement years. How much money do you need at the beginning of your retirement years, to “just meet” your retirement needs (i.e. what is the size of the needed nest egg)?

In: Finance

Describe virtualization. How does a virtual machine (VM) function? What are the characteristics and benefits of...

Describe virtualization. How does a virtual machine (VM) function? What are the characteristics and benefits of virtualization? When is load balancing important? (Write a 200-250 word paragraph)

In: Computer Science

Steven's Battery Company has two service departments, Maintenance and Personnel. Maintenance Department costs of $320,000 are...

Steven's Battery Company has two service departments, Maintenance and Personnel. Maintenance Department costs of $320,000 are allocated on the basis of budgeted maintenance-hours. Personnel Department costs of $80,000 are allocated based on the number of employees. The costs of operating departments A and B are $160,000 and $240,000, respectively. Data on budgeted maintenance-hours and number of employees are as follows:

Support Departments Production Department
Maint Department Personnel Department A B
Budgeted Costs $320,000 $80,000 $160,000 $240,000
Budgeted Maintenance hours NA 800 960 640
Number of employees 40 NA 160 480

Required

1-Allocate the costs of the service departments to the production departments using the direct method

2-Allocate the costs of the service departments to the production departments using the step-down method, if the service department with the highest percentage of interdepartmental support service is allocated first. (Round up)

In: Accounting

Explain what similarities and differences as entrepreneurs does Bill Gates and Blake Mycoskie has? Please give...

Explain what similarities and differences as entrepreneurs does Bill Gates and Blake Mycoskie has?

Please give a two page answer, separated into both categories.

In: Psychology

What sets the context for the research and addresses such things as the overall goal of...

What sets the context for the research and addresses such things as the overall goal of the research, the decisions that need to be made, and the company’s strengths and weaknesses regarding the issue in question

In: Operations Management

Ida Sidha Karya Company is a family-owned company located in the village of Gianyar on the...

Ida Sidha Karya Company is a family-owned company located in the village of Gianyar on the island of Bali in Indonesia. The company produces a handcrafted Balinese musical instrument called a gamelan that is similar to a xylophone. The gamelans are sold for $853. Selected data for the company’s operations last year follow:

  

Units in beginning inventory 0
Units produced 11,000
Units sold 8,000
Units in ending inventory 3,000
Variable costs per unit:
Direct materials $     180
Direct labor $     400
Variable manufacturing overhead $      57
Variable selling and administrative $      17
Fixed costs:
Fixed manufacturing overhead $ 840,000
Fixed selling and administrative $ 700,000

Required:

1. Assume that the company uses absorption costing. Compute the unit product cost for one gamelan.(Round your intermediate calculations and final answer to nearest whole dollars.)

Unit Product Cost =

2. Assume that the company uses variable costing. Compute the unit product cost for one gamelan.

Unit Product Cost =

In: Accounting

I am trying to sort a group of 10 randomly generated numbers from least to greatest...

I am trying to sort a group of 10 randomly generated numbers from least to greatest in c++.

Right now, my code isn't working and is giving odd results. There is extra unecessary code since I was trying to find out what wasn't working.

In this example I am trying to use the bubble sort method but bucket sort would also be okay. Please keep the format the same and don't use any other functions not currently in the code, thanks.

void arraysort()

{

const int N = 10;

int x[N];

for(int i = 0; i < N; i++)

{

x[i] = 1 + gRandom-> Rndm() * 10;

cout<<x[i]<<" ";

        }

cout<<endl;

int temp;

for(int i = 0; i < N-1; i++)

{

if(x[i] > x[i+1]){

cout<<x[i]<<", "<<x[i+1]<<endl;

temp = x[i];

x[i] = x[i+1];

x[i+1] = temp;

continue;

}

if(x[i] < x[i+1]){

cout<<"here"<<", "<<x[i]<<", "<<x[i+1]<<endl;

continue;

}

}

cout<<endl<<endl<<endl;

for(int i = 0; i < N; i++)

{

cout << x[i] << " ";

}

In: Computer Science

1) a) Give short code example of parallel arrays. b) Explain how parallel arrays work. 2)...

1)

a) Give short code example of parallel arrays.

b) Explain how parallel arrays work.

2)

a) How would you compare two arrays to check if they have the same values?

b) Assume array1 and array2 are int arrays with 10 elements in each. if(array1 == array2) What is this comparing?

3

a) Can you encounter memory violation using an array?

b) If yes explain. If no, explain why not.

In: Computer Science

Program a simple game that shuffles a deck of 52 cards and hands them out to...

Program a simple game that shuffles a deck of 52 cards and hands them out to twoplayers randomly (26 each). Write a simulation of the card game, where, at each turn, bothplayers take the card from the top of their pile and the player with the higher card wins thatround. The winner of that round takes both cards and adds it to a stack of won cards.In essence, there are four stacks. Each player has one stack of cards they are playingwith and one stack of cards they have won.There are 26 rounds, since each player has a full stack of cards.At the end of the game, the player with the most cards in their “won” pile wins.Note:●The deck of cards can simply hold an integer between 0 and 51. The higher numberwins. Don’t worry about implementing suits like spades, hearts, etc.To do:●In ArrayStack.java ○Implement push(), pop(), peek(), length(), isFull(), and toString() methods●In Game.java○Design and implement the game play logic.

This is the given code:

public class ArrayStack<T> {
   private final int DEFAULT_SIZE = 52;
   private T[] stack;
   private int numItems;

   public ArrayStack() {
       // The more intuitive way to do this might seem like:
       // container = T[defaultSize];
       // But we will get a T cannot be resolved to a type error
       // This means that we cannot actually create an object/instance of type T, since T is just a placeholder
       // Instead, we can take advantage of inheritance and create an object of type Object
       // And cast it to type T
       stack = (T[]) new Object[DEFAULT_SIZE];
       numItems = 0;
   }
  
   public void push(T item) {
       //TODO
   }
  
   public boolean isFull() {
       //TODO
   }
  
   public T pop() {
       //TODO
   }
  
   public T peek() {
       //TODO
   }
  
   public String toString() {
       //TODO
   }
  
   public int length() {
       //TODO
   }
}

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

import java.util.*;

public class Game {
   static ArrayList<Integer> cardsDeck = new ArrayList<>();
   static ArrayStack<Integer> cardStack = new ArrayStack<>();
   static ArrayStack<Integer> p1cards = new ArrayStack<>();
   static ArrayStack<Integer> p2cards = new ArrayStack<>();
   static ArrayStack<Integer> p1cardsWon = new ArrayStack<>();
   static ArrayStack<Integer> p2cardsWon = new ArrayStack<>();

   public static void main(String[] args) {
       initializeCards();
       shuffleCards();
      
       // Displays shuffled full deck of cards
       System.out.println("Original shuffled deck of cards: ");
       displayDeck();
      
       initializeCardStack();
      
       System.out.println("\n\nDealing 26 cards to player 1 and player 2: ");
       dealCards();
      
      
       System.out.println("\nPlayer 1 now has " + p1cards.length() + " cards.");
       System.out.println("Player 1 cards are: ");
       System.out.println(p1cards);
      
      
       System.out.println("Player 2 now has " + p2cards.length() + " cards.");
       System.out.println("Player 2 cards are: ");
       System.out.println(p2cards);
      
       // TODO: Game play logic:
       // TODO: As game progresses, the p1cards and p2cards stacks should get smaller
       // TODO: As game progresses, the p1cardsWon and p2CardsWon should get bigger, depending on who wins each round
       // TODO: When the game is over, display who won the game; in other words, is p1cardsWon or p2cardsWon bigger?
      
   }
  
   static void initializeCards() {
       // Deck of cards is filled with integers 0 through 51
       for (int i= 0; i<52; i++) {
           cardsDeck.add(i);
       }
   }
  
   static void shuffleCards() {
       // Shuffle the ArrayList holding the initial deck of cards
       Collections.shuffle(cardsDeck);
   }
  
   static void displayDeck() {
       // Simple method to display all items in deck of cards
       for (int card: cardsDeck) {
           System.out.print(card + " ");
       }
   }
  
   static void initializeCardStack() {
       // The inital ArrayList was used to facilitate shuffling, now we use the Stack ADT to implement the rest of our game
       for (int i= 0; i<52; i++) {
           cardStack.push(cardsDeck.get(i));
       }
   }
  
   static void dealCards() {
       // Deal cards to each player
       for (int i= 0; i<52; i++) {
           if (i%2 == 0) {
               p1cards.push(cardStack.pop());
           } else {
               p2cards.push(cardStack.pop());  
           }
       }
   }
  
}

In: Computer Science

Why would restaurants find the SaaS model very attractive? What characteristics of the restaurant market made...

Why would restaurants find the SaaS model very attractive? What characteristics of the restaurant market made it difficult for a reservation system to work?

please write it through keyboard??

need good answer please

In: Operations Management

The initial concentrations of Na+ and Cl− in the reaction below are each 0.0843 M. If...

The initial concentrations of Na+ and Cl− in the reaction below are each 0.0843 M. If the initial concentration of NaCl is 0 M and the equilibrium constant is Kc=8.21 under certain conditions, what is the equilibrium concentration of Na+?

NaCl(aq)⇌Na+(aq)+Cl−(aq)

In: Chemistry

1. All social groups and families can be considered speech communities meaning they have their own...

1. All social groups and families can be considered speech communities meaning they have their own unique language. Reflect on the words you use in your groups of friends, coworkers, clubs, etc. and create a list of 15 WORDS that make up your own language. Discuss the origins of these words in your language and provide a definition for each of the words on the list. Internet, texting jargon, and acronyms can apply to this activity.

LIST of 15 WORDS:

2. Consider the following quote, “Meaning is in people not words.” Describe the words on your list and how they relate to this quote. What happens when you use these words in other groups?

In: Psychology

Using rscript Let us assume that the credit rating of a company determines yield to maturity...

Using rscript

Let us assume that the credit rating of a company determines yield to maturity (YTM) of the bond. This leaves you now with three different YTM: 2% for AAA, 4% for AA, 8% for others. You want to run the following commends. If the credit rating is AAA, print “YTM of the bond is 2%.” If the credit rating is AA, print “YTM of the bond is 4%.” If the credit rating is neither AAA nor AA, print “YTM of the bond is 8%.” Somebody already wrote the following code for you, and you have to complete the next lines. bond.rating <- "A" a) To run the commends above, use if....else statement. b) To run the commends above, use if....else if statement.

In: Computer Science

What makes a monopolistically competitive market different from a purely competitive market or a monopolist?

What makes a monopolistically competitive market different from a purely competitive market or a monopolist?

In: Economics