1. Here are the annual numbers of deaths from tornadoes in the United States from 1998 through 2011:
130 94 40 35 550 54 35 38 67 91 125 21 45 544
Find these statistics(i.e., show the formula and show your work):
a) mean
b) median and quartiles
c) range and IQR
Typed answer please.
In: Statistics and Probability
Three friends are choosing a TV show to watch. Here are their preferences:
(a) If the three friends try using a Borda count to make their choice, what would happen?
|
Chandler |
Phoebe |
Monica |
|
|
First Choice |
Lost |
Heroes |
Scrubs |
|
Second Choice |
Heroes |
Scrubs |
Lost |
|
Third Choice |
Scrubs |
Lost |
Heroes |
(b) Monica suggests a vote by majority rule. She proposes that first they choose between Lost and Heroes, and then they choose between the winner of the first vote and Scrubs. If they all vote their preferences honestly, what outcome would occur?
(c) Should Chandler agree to Monicas suggestion? What voting system would he prefer?
(d) Phoebe and Monica convince Chandler to go along with Monicas proposal. In round one, Chandler dishonestly says he prefers Heroes over Lost. Why might he do this?
How do you count the number of vote?
In: Economics
C Programming Language.
A chessboard consists of 8 squares x 8 squares for a total of 64 squares. The squares of the chessboard are identified, from the perspective of the player with the white pieces, by the letters a – h for the 8 columns or files (starting from that player’s left), and 1 – 8 for the 8 rows or ranks (starting closest to that player). One of the chess pieces, the knight, can move in any direction by moving 2 rows up or down and 1 column left or right, or by moving 1 row up or down and 2 columns left or right. The knight can jump over pieces with the only restrictions being that the knight can’t move off the board and the knight can’t move to a square already occupied by a piece of the same color. Assume no other pieces on the board will be captured by, or block the movement of, the knight. Write a C language function that reads in a two character file and rank location (e.g., a5, g6, etc.). The function will then compute and display all the different squares by two character file and rank location to identify where the knight could move. You may use multiple functions, rather than only one, if you prefer.
Include a commented listing with your report.
In: Computer Science
(3 pts) Fill in the blanks in the following C statement such that it allocates memory for an array of 50 character values:
char *name = ( ) malloc( );
(3 pts) Write a declaration for an array a of
10 strings, each of which has at most 80 characters (including the
null character):
__________________________________________
(6 pts) Circle or underline all syntax, logic, and runtime errors found in the following C fragment. Be sure to circle omitted punctuation.
char *name_ptr == NULL, name[50] = “Barack Obama”,
*name2 = “Joe Biden”;
name_ptr = name[0];
do
{
printf (“Enter a new name: ”)
scanf (“%c”, name_ptr);
while (name == name2);
(2 pts) What are two advantages of using recursion in a C program?
__________________________________________________________________
__________________________________________________________________
(8 pts) Complete the following statements based on this declaration. Assume that the operations are cumulative:
char taste[11] = "bitter", touch[5] = "soft";
The value of strlen(taste) is . The contents of touch[4] is .
The value of strcmp(“soft”, taste) is negative/positive/zero (circle one). The contents of touch after the call strncpy(touch, taste, 3) is . The contents of taste[2] after the call strncat(taste, &touch[3], 1) is .
In: Computer Science
Please enter a seed:
1
Please enter the size of the array:
1
Array size must be greater than 1. Please reenter:
0
Array size must be greater than 1. Please reenter:
-1
Array size must be greater than 1. Please reenter:
12
Please choose an option:
1 Print the array
2 Find the average
3 Find the largest element
4 Count how many times 3 occurred
5 Count how many elements are less than half of the first
element
6 Find how many times numbers repeat consecutively
7 Swap the first and last elements
8 Exit
1
Array: 6 1 1 6 8 4 5 1 1 1 7 7
Your program: should be named MinilabReview.java and will create an array of (pseudo)random ints and present a menu to the user to choose what array manipulations to do. Specifically, the program should:
Examples: Please see the MinilabReviewExample1.pdf and MinilabReviewExample2.pdf that you are given for rather long examples of running the program. Please note:
There are tabs before and after each option number when the menu is printed.
In: Computer Science
This is a Microbiology essay question. Please provide detailed answers.
There is no single gene that determines whether a bacterial cell
is gram positive or negative.
a. Give examples of two genes that code for parts of the cell wall
(gram positive, negative, or both).
b. Some phenotypes, like resistance to a particular antibiotic, are
gained and lost by a bacterial lineage frequently. Why don’t we see
bacterial lineages changing back and forth between gram positive
and negative?
In: Biology
Harry lost his watch and offers a reward of $100 to the person who returns it to him. Jim finds the watch, sees Harry's name and address on the watch and returns it (Jim never knew of the reward.) Two days later Joe told Jim that Harry had offered a reward and since he (Jim) had found the watch, he should collect it. Can Jim require Harry to pay him the reward?
Result:
Reason:
Exception:
In: Accounting
Please write at least two-paragraphs that addresses the following questions for your initial post:
In: Psychology
Suppose scores on a college entrance exam are normally distributed with a mean of 550 and a standard deviation of 100.
Find the score that marks the cut-off for the top 16% of the scores. Round to two decimal places.
Question 5 options:
|
450.55 |
|
|
649.45 |
|
|
462.89 |
|
|
508.34 |
Question 6 (1 point)
Suppose scores on a college entrance exam are normally distributed with a mean of 550 and a standard deviation of 100.
Find the cut-off scores that define the middle 60%. Round to two decimal places.
Question 6 options:
|
465.84 and 634.16 |
|
|
456.48 and 643.61 |
|
|
575.33 and 634.16 |
|
|
465.84 and 575.33 |
Question 7:
Suppose scores on a college entrance exam are normally distributed with a mean of 550 and a standard deviation of 100.
What is the probability that the sample mean score will be greater than 565, in a random sample of 100 entrance exams? Round to 4 decimal places
Question 7 options:
|
0.5596 |
|
|
0.4404 |
|
|
0.9332 |
|
|
0.0668 |
Question 8 (1 point)
The running time for videos submitted to YouTube in a given week is normally distributed with a mean of 390 seconds and a standard deviation of 148 seconds.
Suppose that a sample of 40 voters is selected. What is the probability that the mean running time for the sample exceeds six minutes? (Don't overlook: How many seconds are in 1 minute?)
Question 8 options:
|
0.5803 |
|
|
0.9001 |
|
|
0.9953 |
|
|
1 |
Question 9 (1 point)
On a certain television channel, 18% of commercials are local advertisers. A sample of 120 commercials is selected.
What is the probability that more than 20% of the commercials in the sample are local advertisers?
Question 9 options:
|
0.0 or 1 x 10-59 |
|
|
0.7081 |
|
|
0.2844 |
|
|
0.7158 |
Question 10 (1 point)
On a certain television channel, 18% of commercials are local advertisers. A sample of 120 commercials is selected.
Would it be unusual for more than 25% of the commercials in the sample are local advertisers?
Question 10 options:
|
No |
|
|
Yes |
In: Statistics and Probability
Suppose a firm's marginal product of capital and marginal product of labor schedules are as shown in the table below. The firm hires both capital and labor competitively for $4 and $8, respectively. Its output is sold in a competitive market for $.50 per unit.
|
Capital |
MP of Capital |
Labor |
MP of Labor |
|
0 |
0 |
||
|
1 |
10 |
1 |
28 |
|
2 |
9 |
2 |
30 |
|
3 |
8 |
3 |
24 |
|
4 |
7 |
4 |
20 |
|
5 |
6 |
5 |
16 |
|
6 |
5 |
6 |
12 |
|
7 |
4 |
7 |
8 |
|
8 |
3 |
8 |
4 |
In: Economics