Questions
The following information is provided to assist you in evaluating the performance of the production operations...

The following information is provided to assist you in evaluating the performance of the production operations of Studio Company: Units produced (actual) 57,000 Master production budget Direct materials $127,380 Direct labor 108,080 Overhead 167,910 Standard costs per unit Direct materials $1.65 × 2 gallons per unit of output Direct labor $14 per hour × 0.2 hour per unit Variable overhead $12.50 per direct labor-hour Actual costs Direct materials purchased and used $150,960 (81,600 gallons) Direct labor 134,231 (9,980 hours) Overhead 177,200 (61% is variable) Variable overhead is applied on the basis of direct labor-hours. Required: Calculate all variable production cost price and efficiency variances and fixed production cost price and production volume variances. (Do not round intermediate calculations. Indicate the effect of each variance by selecting "F" for favorable, or "U" for unfavorable. If there is no effect, do not select either option.)

In: Accounting

Stuck in the mud is a popular dice game in UK. The game uses five (5)...

Stuck in the mud is a popular dice game in UK. The game uses five (5) 6-sided dice to play. The players play in turns.

Choose one player to start the game. The player will roll all five (5) dice. If the player rolled any 2s or 5s, the player does not score any points for this throw. The player can only score on a roll which does not include the number 2 and 5. Any dice with a 2 or a 5 becomes stuck in the mud. If this throw does not contain any 2s or 5s, the score is incremented by the sum of the dice values.

The player needs to set aside any 2s and 5s and throw the remaining dice. Again, if any 2s or 5s are rolled, the score will not be incremented for this throw. Throws without 2s and 5s are added to the previous total score.

Continue in this way until all the dice are stuck. Save the score and pass the dice to the next player.

Players can agree a total number of rounds to play in advance. Total up the score. The player with the highest score wins the game. The following link contains the detail game description: https://www.activityvillage.co.uk/stuck-in-the-mud.

Write a MATLAB program to simulate the Stuck in the Mud game with additional features that can:

Use five (5) 6-sided dice to automatically play the Stuck in the Mud game against a player.

Greet the player when the game starts.

Let the player to choose the number of rounds to play. Take care of the user input to ensure the program will not crash with inputs like 0, 1.2, -1, 999, and so on...

The program should not play if the user enters a 0 or any negative value.

The program should accurately play the number of rounds specified by the user. The player and the computer play in turns for each round.

The program can always pick one side to start the game first, either the player side or the computer side. Randomly pick a side to start the rotation is optional.

Print the current round number clearly in the command window.

If the player side starts first, the program will automatically roll all five (5) dice for the player. If the player rolled any 2s or 5s, the player does not score any points for this throw. The player can only score on a roll which does not include the number 2 and 5. Any dice with a 2 or a 5 becomes stuck in the mud. If this throw does not contain any 2s or 5s, the score is incremented by the sum of the dice values. The player needs to set aside any 2s and 5s and throw the remaining dice. Again, if any 2s or 5s are rolled, the score will not be incremented for this throw. Throws without 2s and 5s are added to the previous total score. Continue in this way until all the dice are stuck.

The dice rolled for the player, the stuck dice, and the scores during the process should clearly be printed in the command window.

The program then automatically roll all five (5) dice for the computer. Follow the game rules until all five (5) dice are stuck.

The dice rolled for the computer, the stuck dice, and the scores during the process should also be clearly printed in the command window.

Accurately track the total scores for the player and the computer.

After all the rounds have been played, select a winner based on the highest total score. It is also possible that the game ends in a tie.

Add voice to the game to report the details of the game for the player. o Pre-recorded computer voices, computerVoices.zip, can be downloaded from moodle.

o The following websites can convert any text into voices with downloadable mp3 files. § www.fromtexttospeech.com

§ www.text2speech.org

o If you have a mic, you can also record your own voice using the Windows Sound Recorder.

o MATLAB can play any WMA, MP3, MPEG-4 AAC, WAV, FLAC audio files.

[y,Fs] = audioread('fileName.mp3'); % read sound file

sound(y,Fs); % play sound file

o Additional sound effects are welcome.

Add voice to greet the player.

Add voice to ask the player to enter the number of rounds to play.

Add voice to announce the current round number (i.e., round 1, round 2, and so on…).

Add voice to announce the current turn (i.e. the player is rolling or the computer is rolling).

Add voice to announce the current roll number (i.e. roll 1, roll 2, and so on…).

Add voice to announce each dice rolled.

Add voice to announce the sum of the score for the current turn after each throw.

Add voice to announce the number of dice stuck after each throw.

After one side played, add voice to announce the current total score for the side. For example, 35 points can be announced as three-five.

After all the rounds are played, add voice to announce the winner or tie.

Add pause as needed between sentences to ensure one sentence is finished before the next sentence starts.

Use at least one user-defined function in the program to reduce code repetition.

The finished program can look like the following example. Extra components are always welcome.

Games do not make you violent, lag does.

Got lag? Kill the lag with a dice game. (Play a voice greeting.)

(Play a voice to request the user input.)

Enter the number of rounds to play: 2

ROUND 1!!! (Announce round #1.)

The player starts first: (Announce the player’s turn.)

   ROLL 1 (Announce roll #1.)

Rolling: 5 1 4 5 6 (Announce rolling 5-1-4-5-6.)

Stuck in the mud: 5 5

   Game score: 0 (Announce the score: 0)

   Number of dice stuck: 2 (Announce the number of dice stuck: 2)

   ROLL 2 (Announce roll #2.)

Rolling: 2 2 2 (Announce rolling 2-2-2.)

Stuck in the mud: 5 2 2 5 2

   Game score: 0 (Announce the score: 0)

   Number of dice stuck: 5 (Announce the number of dice stuck: 5)

The player scores: 0 (Announce the player score: 0)

The Player Total Scored: 0 (Announce the player total score: 0)

The computer goes next: (Announce the computer’s turn.)

    ROLL 1 (Announce roll #1.)

Rolling: 2 4 3 5 4 (Announce rolling 2-4-3-5-4.)

Stuck in the mud: 2 5

   Game score: 0 (Announce the score: 0)

   Number of dice stuck: 2 (Announce the number of dice stuck: 2)

ROLL 2 (Announce roll #2.)

Rolling: 1 2 4 (Announce rolling 1-2-4.)

Stuck in the mud: 2 2 5

   Game score: 0 (Announce the score: 0)

   Number of dice stuck: 3 (Announce the number of dice stuck: 3)

   ROLL 3 (Announce roll #3.)

Rolling: 4 2 (Announce rolling 4-2.)

Stuck in the mud: 2 2 5 2

   Game score: 0 (Announce the score: 0)

   Number of dice stuck: 4 (Announce the number of dice stuck: 4)

   ROLL 4 (Announce roll #4.)

Rolling: 5 (Announce rolling 5.)

Stuck in the mud: 2 5 2 5 2

   Game score: 0 (Announce the score: 0)

   Number of dice stuck: 5 (Announce the number of dice stuck: 5)

The computer scores: 0 (Announce the computer score: 0)

The Computer total scored: 0 (Announce the computer total score: 0)

   ROUND 2!!! (Announce round #2.)

The player starts first: (Announce the player’s turn.)

   ROLL 1 (Announce roll #1.)

Rolling: 2 4 4 2 5 (Announce rolling 2-4-4-2-5.)

Stuck in the mud: 2 2 5

   Game score: 0 (Announce the score: 0)

   Number of dice stuck: 3 (Announce the number of dice stuck: 3)

   ROLL 2 (Announce roll #2.)

Rolling: 2 2 (Announce rolling 2-2.)

Stuck in the mud: 2 2 2 2 5

   Game score: 0 (Announce the score: 0)

   Number of dice stuck: 5 (Announce the number of dice stuck: 5)

The player scores: 0 (Announce the player score: 0)

The Player Total Scored: 0 (Announce the computer score: 0)

The computer goes next: (Announce the computer’s turn.)

   ROLL 1 (Announce roll #1.)

Rolling: 4 4 1 1 1 (Announce rolling 4-4-1-1-1.)

Stuck in the mud:

   Game score: 11 (Announce the score: 1-1)

   Number of dice stuck: 0 (Announce the number of dice stuck: 0)

   ROLL 2 (Announce roll #2.)

Rolling: 1 4 5 6 4 (Announce rolling 1-4-5-6-4.)

Stuck in the mud: 5

   Game score: 11 (Announce the score: 1-1)

   Number of dice stuck: 1 (Announce the number of dice stuck: 1)

   ROLL 3 (Announce roll #3.)

Rolling: 6 5 1 1 (Announce rolling 6-5-1-1.)

Stuck in the mud: 5 5

   Game score: 11 (Announce the score: 1-1)

   Number of dice stuck: 2 (Announce the number of dice stuck: 2)

   ROLL 4 (Announce roll #4.)

Rolling: 2 5 1 (Announce rolling 2-5-1.)

Stuck in the mud: 2 5 5 5

   Game score: 11 (Announce the score: 1-1)

   Number of dice stuck: 4 (Announce the number of dice stuck: 4)

   ROLL 5 (Announce roll #5.)

Rolling: 5 (Announce rolling 5.)

Stuck in the mud: 2 5 5 5 5

   Game score: 11 (Announce the score: 1-1)

   Number of dice stuck: 5 (Announce the number of dice stuck: 5)

The computer scores: 11 (Announce the computer score: 1-1)

The Computer total scored: 11 (Announce the computer total score: 1-1)

The computer wins! (Announce the computer wins.)

>>

The program should end when the player wants to play 0 round.

Games do not make you violent, lag does.

Got lag? Kill the lag with a dice game. (Play a voice greeting.)

(Play a voice to request the user input.)

Enter the number of rounds to play: 0

The game ends with a tie (Announce the game ends in a tie.)

>>

The program should be able to handle a negative input.

Games do not make you violent, lag does.

Got lag? Kill the lag with a dice game. (Play a voice greeting.)

(Play a voice to request the user input.)

Enter the number of rounds to play: -1

The game ends with a tie (Announce the game ends with a tie.)

>>

The program should be able to handle a floating point input without crashing.

(The following example takes the floor value of 1.2 and only runs 1 round. )

Games do not make you violent, lag does.

Got lag? Kill the lag with a dice game. (Play a voice greeting.)

(Play a voice to request the user input.)

Enter the number of rounds to play: 1.2

ROUND 1!!! (Announce round #1.)

The player starts first: (Announce the player’s turn.)

   ROLL 1 (Announce roll #1.)

Rolling: 3 6 2 2 6 (Announce rolling 3-6-2-2-6.)

Stuck in the mud: 2 2

   Game score: 0 (Announce the score: 0)

   Number of dice stuck: 2 (Announce the number of dice stuck: 0)

   ROLL 2 (Announce roll #2.)

Rolling: 4 4 4 (Announce rolling 4-4-4.)

Stuck in the mud: 2 2

   Game score: 12 (Announce the score: 1-2)

   Number of dice stuck: 2 (Announce the number of dice stuck: 2)

   ROLL 3 (Announce roll #3.)

Rolling: 3 1 5 (Announce rolling 3-1-5.)

Stuck in the mud: 2 2 5

   Game score: 12 (Announce the score: 1-2)

   Number of dice stuck: 3 (Announce the number of dice stuck: 3)

   ROLL 4 (Announce roll #4.)

Rolling: 6 5 (Announce rolling 6-5.)

Stuck in the mud: 5 2 2 5

   Game score: 12 (Announce the score: 1-2)

   Number of dice stuck: 4 (Announce the number of dice stuck: 4)

   ROLL 5 (Announce roll #5.)

Rolling: 1 (Announce rolling 1.)

Stuck in the mud: 5 2 2 5

   Game score: 13 (Announce the score: 1-3)

    Number of dice stuck: 4 (Announce the number of dice stuck: 4)

   ROLL 6 (Announce roll #6.)

Rolling: 1 (Announce rolling 1.)

Stuck in the mud: 5 2 2 5

   Game score: 14 (Announce the score: 1-4)

Number of dice stuck: 4 (Announce the number of dice stuck: 4)

   ROLL 7 (Announce roll #7)

Rolling: 5 (Announce rolling 5.)

Stuck in the mud: 5 5 2 2 5

   Game score: 14 (Announce the score: 1-4)

   Number of dice stuck: 5 (Announce the number of dice stuck: 5)

The player scores: 14 (Announce the player score: 1-4)

The Player Total Scored: 14 (Announce the player total score: 1-4)

The computer goes next: (Announce the computer’s turn.)

   ROLL 1 (Announce roll #1.)

Rolling: 6 5 6 4 2 (Announce rolling 6-5-6-4-2.)

Stuck in the mud: 5 2

   Game score: 0 (Announce the score: 0)

   Number of dice stuck: 2 (Announce the number of dice stuck: 2)

   ROLL 2 (Announce roll #2.)

Rolling: 2 4 5 (Announce rolling 2-4-5.)

Stuck in the mud: 2 5 5 2

   Game score: 0 (Announce the score: 0)

   Number of dice stuck: 4 (Announce the number of dice stuck: 4)

   ROLL 3 (Announce roll #3.)

Rolling: 4 (Announce rolling 4.

Stuck in the mud: 2 5 5 2

   Game score: 4 (Announce the score: 4)

   Number of dice stuck: 4 (Announce the number of dice stuck: 4)

   ROLL 4 (Announce roll #4.)

Rolling: 2 (Announce rolling 2.)

Stuck in the mud: 2 5 2 5 2

   Game score: 4 (Announce the score: 4)

   Number of dice stuck: 5 (Announce the number of dice stuck: 5)

The computer scores: 4 (Announce the computer score: 4)

The Computer total scored: 4 (Announce the computer total score: 4)

The player wins! (Announce the player wins.)

>>

In: Computer Science

Overview: implement the ADT List in Java. This program is meant to the ADT List from...

Overview: implement the ADT List in Java. This program is meant to the ADT List from the ground up

In the lecture, we learned how to implement an ADT like the ArrayList you have used in Project 1. With this project, you have the chance to implement an ADT called MyList, which is a simplified replacement for the full-blown ArrayList.

Requirements

You will implement the MyList ADT according to the following:

1. MyList must implement the List interface. It will look something like below:

public class MyList implements List {

... } Note: As said in the class, when implementing an interface, you have to implement each method in it. There are a lot of methods in the List interface. We are going to address this issue below.

2. The initial capacity of MyList must be 2. This is not an ideal initial capacity. A smaller initial

capacity allows us to test out our code more quickly.

3. You must implement the following methods:

@SuppressWarnings("unchecked") public MyList() {

... } public int size() {

... } public boolean isEmpty() {

... } public boolean add(E e) {

... } public void add(int index, E element) {

... } public E get(int index) {

... } public E set(int index, E element) {

... } public E remove(int index) {

... } You can choose to implement any other methods as you need – private or public. For any method you don’t need but is required by the List interface, you can stub them out like below:

public void clear() {

StackTraceElement[] stackTrace =

new Throwable().getStackTrace(); String methodName = stackTrace[0].getMethodName(); throw new UnsupportedOperationException("Method '"

+ methodName + "' not implemented!"); }

What each method will do:

void add(E item) add item to the end of the List
void add(int pos, E item) add item at position pos in the List, moving the items originally in positions pos through size()-1 one place to the right to make room (error if pos is less than 0 or greater than size())
int size() return the number of items in the List
boolean isEmpty() return true iff the List is empty
E get(int pos) return the item at position pos in the List (error if pos is less than 0 or greater than or equal to size())
E remove(int pos) remove and return the item at position pos in the List, moving the items originally in positions pos+1 through size()-1 one place to the left to fill in the gap (error if pos is less than 0 or greater than or equal to size())

4. There is at least one place where you will encounter an avoidable “unchecked” compiler warning. To get a clean compilation, use: @SuppressWarnings("unchecked").

But don’t abuse it for any other places where a warning is avoidable but due to your questionable coding skills.

In: Computer Science

Required information Problem 3-4A Weighted average: Process cost summary, equivalent units, cost estimates LO C2, C3,...

Required information

Problem 3-4A Weighted average: Process cost summary, equivalent units, cost estimates LO C2, C3, P4

[The following information applies to the questions displayed below.]

Tamar Co. manufactures a single product in one department. All direct materials are added at the beginning of the manufacturing process. Conversion costs are added evenly throughout the process. During May, the company completed and transferred 22,700 units of product to finished goods inventory. Its 3,100 units of beginning work in process consisted of $19,900 of direct materials and $226,440 of conversion costs. It has 2,450 units (100% complete with respect to direct materials and 80% complete with respect to conversion) in process at month-end. During the month, $483,100 of direct material costs and $1,992,960 of conversion costs were charged to production.

Total costs to account for:
Total costs to account for:
Total costs accounted for
Difference due to rounding cost/unit
Unit reconciliation:
Units to account for:
Total units to account for
Total units accounted for:
Total units accounted for
Equivalent units of production (EUP)- weighted average method
Units % Materials EUP- Materials % Conversion EUP- Conversion
Total units
Cost per equivalent unit of production Materials Conversion
Total costs Costs Costs
÷ Equivalent units of production EUP EUP
Cost per equivalent unit of production
Total costs accounted for:
Cost of units transferred out: EUP Cost per EUP Total cost
Direct materials
Conversion
Total costs transferred out
Costs of ending work in process EUP Cost per EUP Total cost
Direct materials
Conversion
Total cost of ending work in process
Total costs accounted for

In: Accounting

Write the program to analyze whether a die is fair by counting how often the values...

Write the program to analyze whether a die is fair by counting how often the values 1, 2, ..., 6 appear. • The input is a sequence of die toss values. • The output is a table with the frequencies of each die value, as shown in the following figure.

in java

In: Computer Science

I'm having trouble with my do while loop. I'm trying to get it where if the...

I'm having trouble with my do while loop. I'm trying to get it where if the user enter's 3 after whatever amount of caffeinated beverages they've entered before then the loop will close and the rest of my code would proceed to execute and calculate the average price of all the caffeinated beverages entered. Can someone please help me with this?

Here's my Code:

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        CaffeinatedBeverage[] inventory = new CaffeinatedBeverage[10];

        int choice, ounces, roastType, count = 0;
        String name, flavor;
        double price;

        Scanner keyboard = new Scanner(System.in);
        do {

            System.out.println();
            System.out.println("1) Enter new Coffee");
            System.out.println("2) Enter new Energy Drink");
            System.out.println("3) Exit");
            choice = keyboard.nextInt();

            if(choice == 1){

                System.out.println();
                System.out.println("Enter name          : ");
                name = keyboard.nextLine();
                keyboard.nextLine();
                System.out.println("Enter the ounces    : ");
                ounces = keyboard.nextInt();
                System.out.println("Enter the price     : $");
                price = keyboard.nextDouble();
                System.out.println("Enter the roast type: ");
                roastType = keyboard.nextInt();

                inventory[count] = new Coffee(name, ounces, price, roastType);
            
            }

            else if(choice == 2){

                System.out.println();
                System.out.println("Enter name          : ");
                name = keyboard.nextLine();
                keyboard.nextLine();
                System.out.println("Enter the ounces    : ");
                ounces = keyboard.nextInt();
                System.out.println("Enter the price     : $");
                price = keyboard.nextDouble();
                System.out.println("Enter the flavor: ");
                flavor = keyboard.nextLine();
                keyboard.nextLine();

                inventory[count++] = new EnergyDrink(name, ounces, price, flavor);
            }

            else if(choice == 3){

                System.exit(0);
            }

        } while (choice != 3);
    }

    public static double findAveragePrice(CaffeinatedBeverage[] inventory) {

        double totalPrice = 0.0;
        int count = 0;

        for(int i = 0; i < inventory.length; i++){

            if(inventory[i] != null){

                totalPrice += inventory[i].getPrice();
                count++;
            }
        }
        return totalPrice / count;
    }

    public static EnergyDrink FindHighestPricedEnergyDrink(CaffeinatedBeverage[] inventory){

        double maxPrice = 0.0;
        EnergyDrink max = null;

        for(int i = 0; i < inventory.length; i++){

            if(inventory[i] != null && inventory[i] instanceof EnergyDrink){

                EnergyDrink eDrink = (EnergyDrink) inventory[i];

                if(eDrink.getPrice() > maxPrice){

                    maxPrice = eDrink.getPrice();
                    max = eDrink;
                }
            }
        }

        return max;
    }
}
import java.util.Objects;

public abstract class CaffeinatedBeverage {

    protected String mName;
    protected int mOunces;
    protected double mPrice;

    public CaffeinatedBeverage(String name, int ounces, double price) {
        mName = name;
        mOunces = ounces;
        mPrice = price;
    }

    public String getName() {
        return mName;
    }

    public void setName(String name) {
        mName = name;
    }

    public int getOunces() {
        return mOunces;
    }

    public void setOunces(int ounces) {
        mOunces = ounces;
    }

    public double getPrice() {
        return mPrice;
    }

    public void setPrice(double price) {
        mPrice = price;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        CaffeinatedBeverage that = (CaffeinatedBeverage) o;
        return mOunces == that.mOunces &&
                Double.compare(that.mPrice, mPrice) == 0 &&
                mName.equals(that.mName);
    }

    @Override
    public int hashCode() {
        return Objects.hash(mName, mOunces, mPrice);
    }
}
import java.text.NumberFormat;
import java.util.Objects;

public class Coffee extends CaffeinatedBeverage {

    private int mRoastType;

    public Coffee(String name, int ounces, double price, int roastType) {
        super(name, ounces, price);

        mRoastType = roastType;
    }

    public int getRoastType() {
        return mRoastType;
    }

    public void setRoastType(int  roastType) {
        mRoastType = roastType;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        Coffee coffee = (Coffee) o;
        return mRoastType == coffee.mRoastType;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), mRoastType);
    }

    @Override
    public String toString() {

        NumberFormat currency = NumberFormat.getCurrencyInstance();
        String roast = "";

        switch(mRoastType){

            case 1:
                roast = "light roast";
                break;

            case 2:
                roast = "medium roast";
                break;

            case 3:
                roast = "dark roast";
                break;
        }

        return "Coffee:" +
                mName + " , " +
                mOunces + " ounces, " +
                roast + " , " +
                currency.format(mPrice);
    }
}
import java.text.NumberFormat;
import java.util.Objects;

public class EnergyDrink extends CaffeinatedBeverage {

    private String mflavor;

    public EnergyDrink(String name, int ounces, double price, String flavor) {
        super(name, ounces, price);

        mflavor = flavor;
    }

    public String getFlavor() {
        return mflavor;
    }

    public void setFlavor(String flavor) {
        this.mflavor = flavor;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        EnergyDrink that = (EnergyDrink) o;
        return mflavor.equals(that.mflavor);
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), mflavor);
    }

    @Override
    public String toString() {

        NumberFormat currency = NumberFormat.getCurrencyInstance();
        return "Energy Drink:" +
                mName + " , " +
                mOunces + " ounces, " +
                mflavor + " , " +
                currency.format(mPrice);

    }
}

My Sample output is as follows:

1) Enter new Coffee
2) Enter new Energy Drink
3) Exit
1

Enter name :
Blonde
Enter the ounces :
16
Enter the price : $
6.50
Enter the roast type:
2

1) Enter new Coffee
2) Enter new Energy Drink
3) Exit
2

Enter name :
RedBull
Enter the ounces :
12
Enter the price : $
3.25
Enter the flavor:
citrus

1) Enter new Coffee
2) Enter new Energy Drink
3) Exit
3

Process finished with exit code 0

In: Computer Science

134.     Identify the coding ambiguity(ies) in this assessment for a preoperative clearance: This is a 72-year-old woman...

134.     Identify the coding ambiguity(ies) in this assessment for a preoperative clearance:

This is a 72-year-old woman here for preoperative and physical prior to abdominal hysterectomy, bilateral salpingo-oophorectomy and tumor debulking surgery for likely ovarian cancer with metastases. It was recommended the patient have hemogram, CA-125, chest X ray, and electrocardiogram prior to the surgery. The ECG showed an atrioventricular bundle branch block, but it has been present without change for years. The other tests were normal.

  1. The type of atrioventricular bundle branch block is not documented
  2. It is unclear if “likely” describes the cancer, ovarian cancer, or metastases
  3. Both A and B
  4. Neither A or B

135.     In spina bifida:

  1. The vertebra and membranes do not close completely around the spinal cord during development of the fetus
  2. The channels in the vertebra through which the spinal cord travels are stenosed
  3. The spine has degenerative joint disease and begins to compress
  4. None of the above

136.     An embolism is comprised of:

  1. Thrombus
  2. Air
  3. Fat
  4. Alny of the above

137.     Which of the following is a risk factor for AAA?

  1. Hypertension
  2. Prematurity
  3. Malnutrition
  4. COPD

138.     What is the growth plate for bone called?

  1. Basal plate
  2. Nail plate
  3. Physeal plate
  4. Orbital plate

139.     For risk-adjustment purposes, who is responsible for errors in transcription in a medical record?

  1. Transcriptionist
  2. Author (physician)
  3. MAO
  4. CMS

140.     According to ICD-10-CM, how is Leigh’s disease classified?

  1. Inflammatory disease of nervous system
  2. Degenerative disease of nervous system
  3. Demyelinating disease of CNS
  4. Extrapyramidal and movement disorder

In: Nursing

Design a text-based game. The game should involve starting from some point in the universe and...

Design a text-based game. The game should involve starting from some point in the universe and seeking or exploring. For example, you could start at the mouth of a cave and seek gold in the halls and caverns. Write out the logic in English and/or pseudocode. Write several lines of JavaScript code that will start the game going, containing control flow statement(s).

In: Computer Science

Given the following business scenario, create a Crow’s Foot ERD using a specialization hierarchy if appropriate....

Given the following business scenario, create a Crow’s Foot ERD using a specialization hierarchy if appropriate.

Two-Bit Drilling Company keeps information on employees and their insurance dependents. Each employee has an employee number, name, date of hire, and title. If an employee is an inspector, then the date of certification and the renewal date for that certification should also be recorded in the system. For all employees, the Social Security number and dependent names should be kept. All dependents must be associated with one and only one employee. Some employees will not have dependents, while others will have many dependents.

In: Computer Science

What social media tools do marketers commonly use? A survey by Social Media Examiner of B2B...

What social media tools do marketers commonly use? A survey by Social Media Examiner of B2B marketers, marketers that primarily target businesses, and B2C marketers, marketers that primarily target consumers, reported that 344 (88%) of B2B marketers and 373 (61%) of B2C marketers commonly use LinkedIn as a social media tool. The study also revealed that 239 (61%) of B2B marketers and 324 (53%) of B2C marketers commonly use Google ++ plus as a social media tool. (Data extracted from 2014 Social Media Marketing Industry Report, bit.ly/1e896pD .)

Suppose the survey was based on 390 B2B marketers and 610 B2C marketers.

  • a. At the 0.05 level of significance, is there evidence of a difference between B2B marketers and B2C marketers in the proportion that commonly use LinkedIn as a social media tool?

  • b. Find the p-value in (a) and interpret its value.

  • c. At the 0.05 level of significance, is there evidence of a difference between B2B marketers and B2C marketers in the proportion that commonly use Google ++ plus as a social media tool?

SHOW EXCEL FUNCTIONS NEEDED FOR ANSWERS

In: Math

​(Weighted average cost of​ capital)  Crypton Electronics has a capital structure consisting of 3939 percent common...

​(Weighted average cost of​ capital)  Crypton Electronics has a capital structure consisting of

3939

percent common stock and

6161

percent debt. A debt issue of

​$1 comma 0001,000

par​ value,

6.36.3

percent bonds that mature in

1515

years and pay annual interest will sell for

​$974974.

Common stock of the firm is currently selling for

​$29.8429.84

per share and the firm expects to pay a

​$2.252.25

dividend next year. Dividends have grown at the rate of

4.94.9

percent per year and are expected to continue to do so for the foreseeable future. What is​ Crypton's cost of capital where the​ firm's tax rate is

3030

​percent?

a. The​ after-tax cost of debt is

​(Round to two decimal​ places.)

b.  The cost of common equity is

​(Round to two decimal​ places.)

c. ​ Crypton's cost of capital is

​(Round to three decimal​ places.)

In: Accounting

Write a mail merge application titled EmailMerge.java You will use two files for this program.  The first...

Write a mail merge application titled EmailMerge.java

You will use two files for this program.  The first is a text file that contains a template letter.

template.txt

[ Dear <>,

Because you are <> years old and <>, we have a free gift for you. You have absolutely nothing to buy; just pay the shipping and handling charge of $9.99.

To claim your gift, call us immediately.

Thank you,

Office of Claims Department ]

The tags <>, <>, and <> are placeholders for the person’s name, age, and gender.

The second file contains the name, age, and gender information of people separated by spaces on each line.

people.txt

[ John 35 male

Sally 28 female

Megan 55 female

Megan 22 female

Sally 18 female

Megan 19 female ]

Your program will read the two files and print out the letter with the placeholders replaced by the actual values from the second file.  Save each personalized letter to files. For example John.txt, Sally.txt, and Megan.txt, and so on.

Sample output for John

Dear John,

Because you are 35 years old and male, we have a free gift for you. You have absolutely nothing to buy; just pay the shipping and handling charge of $9.99.

To claim your gift, call us immediately.

Thank you,

Office of Claims Department

If two people have the same name, create a new file by appending an index for the new file. For example, if there was another John in people.txt file, you will create John-1.txt for the new personalized letter.Assume that all the files that you read/write are in the same directory or the project build path of EmailMerge.java.

Ensure that your programs work well by checking them against different test cases. At the minimum submit three new and different test case reports with your program submission.

Both txt files must be used. For each individual person there must be a new file created for them. The program should be reading the names directly from people.txt and appropriately assigning them to the template, there shouldn't be any user input.

Please post screenshots of code, output and package explorer.

Code must include comments to explain function of each section.

In: Computer Science

Create a program to input the length and width of a rectangle and calculate and print...

Create a program to input the length and width of a rectangle and calculate and print the perimeter and area of the rectangle. To do this you will need to write a Rectangle class and a separate runner class. Your program should include instance variables, constructors, an area method, a perimeter method, a toString method, accessor and mutator methods, and user input. Your runner class should include 3 Rectangle objects. One default rectangle, one coded rectangle, and one user input rectangle. All methods should be tested in the runner class.

In: Computer Science

--In the GSS, the original race variable was coded as: whites=1, blacks=2, others=3. Which of the...

--In the GSS, the original race variable was coded as: whites=1, blacks=2, others=3. Which of the following possibilities is the best way to recode this variable into a dichotomy with “white” as the reference category?

a.) whites=1, non-whites=2

b.) non-whites=1, whites=2

c.) whites=0, non-whites=1

d.) whites=-1, non-whites=+1

-- Another word for the reference group is:

a.) the omitted variable

b.) the omitted slope

c.) the omitted category

d.) the omitted constant

-- Here is a regression equation using GSS2008 data, people aged 21 to 29, where men were coded as 0, and women were coded as 1:

# OF TIMES GO TO BAR PER MONTH = 4.00 – 1.73 (SEX)

If women had been coded as 0, and men had been coded as 1, the regression equation would have been:

a.) # OF TIMES GO TO BAR PER MONTH = 4.00 – 1.73 (SEX)

b.) # OF TIMES GO TO BAR PER MONTH = 2.27 + 1.73 (SEX)

c.) # OF TIMES GO TO BAR PER MONTH = 5.73 – 1.73 (SEX)

d.) # OF TIMES GO TO BAR PER MONTH = 4.00 – 2.27 (SEX)

--If we wanted to use the GSS variable HEALTH (self-assessment of health: Excellent, Good, Fair, or Poor) as an independent variable in a regression model using a dummy approach, how many independent variables would we have to create (not including the reference category)?

a.) None, this variable is perfectly fine as is to use in a regression equation.

b.) 2

c.) 3

d.) 4

--A researcher creates a set of four reference-group variables to include in a regression. What can you assume about the variable from which she built these variables?

a.) It likely had three categories

b.) It likely had four categories

c.) It likely had five categories

d.) It likely had six categories

--- With which of the following variables would you most likely not use the reference-grouping technique?

a.) a nominal-level variable

b.) an ordinal-level variable

c.) a ratio-level variable

d.) all are equally likely

In: Math

Children can be greatly impacted by addiction in a family. What are at least three ways...

Children can be greatly impacted by addiction in a family. What are at least three ways in which they can be impacted? ​

Provide short answers of 100-150 words for the following question. Do not exceed 200 words for your response. Include a minimum of one scholarly resource in addition to the course textbook. ​

In: Psychology