Questions
1) a. Write a C++ program for the recursive algorithm that removes all occurrences of a...

1) a. Write a C++ program for the recursive algorithm that removes all occurrences of a specific character from a string

b. Write the pseudocode for the program.

In: Computer Science

1) Explain how to set the bar for outpatient productivity standards. 2) List the type of...

1) Explain how to set the bar for outpatient productivity standards.
2) List the type of outpatient records outpatient coders’ code and identify the highest number of records coded per hour for two of these types.

In: Nursing

Give examples from the literature of metal complexes with coordination numbers (CN) of 2, 3, 4,...

Give examples from the literature of metal complexes with coordination numbers (CN) of 2, 3, 4, 5, 6, 7 and 8 (formula, structure). What is the highest Coordination Number found for a metal ion?

In: Chemistry

On the way to lower floors, an elevator begins its descent from rest at a constant...

On the way to lower floors, an elevator begins its descent from rest at a constant acceleration, ascending the first 0.5 m in 0.85s. What is the apparent weight of a 75 kg man inside the accelerator during this time interval?

.1 kn

.18 kn

.74 kn

.3 kn

In: Physics

Write a Python program with correct indentation using functions and mainline logic which prompts the user...

Write a Python program with correct indentation using functions and mainline logic which prompts the user to enter a number, then generates that number of random integers and stores them in a list. It should then display the following data to back to the user:

  • The list of integers
  • The lowest number in the list
  • The highest number in the list
  • The total sum of all the numbers in the list
  • The average number in the list
  • At a minimum, the numbers should range from 0 to 50, but you can use any range you like.

In: Computer Science

Monshimout is a game from the Cheyenne people and played by women. It could be played...

Monshimout is a game from the Cheyenne people and played by women. It could be played by two or more players, and if played by more than two, then the players divided into two equal teams. Game equipment consisted of five plum stones and a basket made of woven grass or willow twigs. The basket measured 3-4 inches deep, 8 inches across at the top, and almost 1/2 inch thick. The plum stones were left plain on one side, but marked on the opposite side. Three were marked using a pattern similar to markings the women used when painting their face: a cross (used on the bridge of the nose), and side marks (used on cheeks, forehead, and chin). The other two stones were marked with a representation of a bear's foot. The players sat opposite each other, in two rows if more than one player. Each player has eight sticks which represent the points she must score to win. When a player has won all the sticks belonging to her opponent she has won the game and the stakes wagered. If teams are playing, each member wins or loses according to the winnings or losses of the teammate in control of the basket and stones. A throw of the stones is done this way. The stones are placed into the basket and the basket is raised slightly and the stones tossed only a few inches and caught in the basket. The basket is then brought down firmly onto the ground so that it strikes the ground with a slight noise. The manner in which the stones land in the basket determine the points scored or lost, as well the control of the throw. A player continues to throw so long as she throws a scoring toss, if she throws a toss with no score the throw passes to her opponent or to the next player. If teams are playing it passes to the thrower's teammate and continues as such until the last teammate throws. If the last member of a team throws a zero score the throw passes to the opposing team. The scoring is as follows: 5 blanks = 1 (the thrower takes 1 stick) 3 blanks, 2 bears = 1 (thrower takes 1 stick) 2 bears, 2 crosses, 1 blank = 1 (thrower takes 1 stick) 2 blanks, 3 crosses = 3 (thrower takes 3 sticks) 2 bears, 3 crosses = 8 (thrower takes 8 sticks and wins game) Assuming that each stone has equal chance of landing on either side, compute the following: The probability of 5 blanks: =

The probability of 3 blanks, 2 bears: =

The probability of 2 bears, 2 crosses and 1 blank: =

The probability of 2 blanks, 3 crosses: =

The probability of 2 bears, 3 crosses: =

In: Statistics and Probability

Java Proect Project Outcomes Develop a Java program that: • creates a user designed class •...

Java Proect

Project Outcomes

Develop a Java program that:

creates a user designed class

uses proper design techniques including reading UML Class

Diagrams

reads input from the keyboard using a Scanner Object and its

methods

uses selection (if and if else) statements

uses iteration (while, do while or for) statements

uses String comparison methods.

follows standard acceptable programming practices.

handles integer overflow errors

Prep Readings:

Zybooks chapter 1 - 6

1. General

The game of Stix is a simplified version of an ancient game and somehow

looks like this:

It is played by two players

A number of sticks (like matches) are placed on a table.

The first player takes 1, 2 or 3 sticks away, provided that there that

many on the table.

Then the second player takes 1, 2 or 3 sticks away (if possible), and so

on.

Whoever takes the last stick, loses (!)

Your program does the following:

1.

It asks the initial number or stix (between 5 and 30)

2.

It asks if the computer (program) takes first

3.

It then lets the user and the computer take turns until the number of

stix drops to 0.

4.

Depending on who took the last stix, it declares the winner.

A simple run looks like this (Computer goes first and wins)

How many stix to begin with? [5 - 30] > 12

Computer goes first? [y/n] > y

Stix on the table: ||||||||||||

Computer takes 3

Stix on the table: |||||||||

How many stix to take? [1 - 3] > 2

Stix on the table: |||||||

Computer takes 2

Stix on the table: |||||

How many stix to take? [1 - 3] > 1

Stix on the table: ||||

Computer takes 3

Stix on the table: |

How many stix to take? [1 - 1] > 1

Stix on the table:

I win!

Here is another short run (Player goes first and wins)

How many stix to begin with? [5 - 30] > 14

Computer goes first? [y/n] > n

Stix on the table: ||||||||||||||

How many stix to take? [1 - 3] > 1

Stix on the table: |||||||||||||

Computer takes 1

Stix on the table: ||||||||||||

How many stix to take? [1 - 3] > 3

Stix on the table: |||||||||

Computer takes 1

Stix on the table: ||||||||

How many stix to take? [1 - 3] > 3

Stix on the table: |||||

Computer takes 1

Stix on the table: ||||

How many stix to take? [1 - 3] > 3

Stix on the table: |

Computer takes 1

Stix on the table:

You win!

There are of course two more possible situations: a) Computer goes first,

Player wins and b) Player goes first, Computer wins. Actually, all four can

happen. So be prepared for that!

In: Computer Science

The mean cost of domestic airfares in the United States rose to an all-time high of $385 per ticket.†

 

The mean cost of domestic airfares in the United States rose to an all-time high of $385 per ticket.† Airfares were based on the total ticket value, which consisted of the price charged by the airlines plus any additional taxes and fees. Assume domestic airfares are normally distributed with a standard deviation of $110.

(a)

What is the probability that a domestic airfare is $550 or more? (Round your answer to four decimal places.)

(b)

What is the probability that a domestic airfare is $210 or less? (Round your answer to four decimal places.)

(c)

What is the probability that a domestic airfare is between $320 and $460? (Round your answer to four decimal places.)

(d)

What is the minimum cost in dollars for a fair to be included in the highest 9% of domestic airfares? (Round your answer to the nearest integer.)

$

In: Statistics and Probability

The mean cost of domestic airfares in the United States rose to an all-time high of...

The mean cost of domestic airfares in the United States rose to an all-time high of $385 per ticket.† Airfares were based on the total ticket value, which consisted of the price charged by the airlines plus any additional taxes and fees. Assume domestic airfares are normally distributed with a standard deviation of $110.

(a)

What is the probability that a domestic airfare is $561 or more? (Round your answer to four decimal places.)

(b)

What is the probability that a domestic airfare is $230 or less? (Round your answer to four decimal places.)

(c)

What is the probability that a domestic airfare is between $300 and $480? (Round your answer to four decimal places.)

(d)

What is the minimum cost in dollars for a fair to be included in the highest 3% of domestic airfares? (Round your answer to the nearest integer.)

In: Statistics and Probability

According to Money magazine, Maryland had the highest median annual household income of any state in...

According to Money magazine, Maryland had the highest median annual household income of any state in 2018 at $75,847.† Assume that annual household income in Maryland follows a normal distribution with a median of $75,847 and standard deviation of $33,800.

(a) What is the probability that a household in Maryland has an annual income of $90,000 or more? (Round your answer to four decimal places.)

(b) What is the probability that a household in Maryland has an annual income of $50,000 or less? (Round your answer to four decimal places.)

(c) What is the probability that a household in Maryland has an annual income between $40,000 and $70,000? (Round your answer to four decimal places.)

(d) What is the annual income (in $) of a household in the eighty-sixth percentile of annual household income in Maryland? (Round your answer to the nearest cent.)

In: Statistics and Probability