Questions
1. What is a transactional leader? What is a transformational leader? Explain how the two types...

1. What is a transactional leader? What is a transformational leader? Explain how the two types of leadership differ.

2. Provide three suggestions to help a person become a good listener.

In: Operations Management

Discuss why self-regulation should be thought of as occurring in a cybernetic system

Discuss why self-regulation should be thought of as occurring in a cybernetic system

In: Psychology

You are required to solve the problem on Terrain Navigation. Terrain navigation is a key component...

You are required to solve the problem on Terrain Navigation.

Terrain navigation is a key component in the design of unmanned aerial vehicles (UAVs). Vehichles such as a robot or a car, can travel on land; and vehiches such as a drone or a plane can fly above the land. A UAV system contains an on board computer that has stored the terrain information for the area in which it is to be operated, Because it knows where it is at all times (often using a global positioning system (GPS) receiver), the vehicle can then select the best path to get to a designed spot. If the destination changes, the vehicle can refer to its internal maps and recompute the new path. The computer software that guides these vechicles must be tested over a variety of land formations and topologies. Elevvation information for large grids of land is available in computer databases. One way of measuring the "difficulty" of a lanad grid with respect to terrain navigation is to determine the number of peaks in the grid, where a peak is a point that has lower elevations all around it. For this problem, we want to determine whether the value in grid position [m] [n] is peak. Assume that the values in the four positions shown are adjacent to grid position [m] [n]:

grid [m-1] [n]
grid [m][n-1] grid [m][n]    grid [m][n+1]
grid [m+1] [n]

Write a program that reads elevation data from a data file named grid1. txt. (this file you have to create and name it as grid 1.txt.) data as shown below which represent elevation for a grid that has 6 points along the side and seven points along the top ( the peaks have been highlighted and underlined):

5039 5127 5238 5259 5248 5310 5299

5150 5392 5410 5401 5352 5820 5321

5290   5560    5490 5421 5530 5831    5210

5110 5429 5430 5411 5459 5630 5319

4920 5129 4921   5821 4722 4921 5129

5023 5129 4822 4872 4794 4862 4245

Then prints the number of peaks and their locations. Assume that the first line of the data file contains the number of rows and the number of columns for the grid of information. These values are then followed by the elevation values, in row order. The maximum size of the grid is 25 rows by 25 columns.

Hints:

  1. Define and print the number of peaks and their locations in an elevation grid.
  2. input is a file containing the elevation data and the output is a listing of the location of the peaks.
  3. to specify the location of the peaks, you need to assign an addressing scheme to the data because you are going to implement this solution in c. Therefore, choose its 2D array subscripting notation.
  4. assume the top left corner is position [0][0], the row numbers increase by 1 as move down the page and the column numbers increase by 1 as move to the right.
  5. These peaks then occur at position[2][1], [2][5], and [4][3].
  6. To determine the peaks, compare a potential peak with its four neighbouring points.
  7. if all four neighboring points are less that the potential peak, then the potential peak is a real peak.
  8. the points on the edges of the array or grid cannot be potential peaks because do not have elevation information on all four sides of the points.

In: Computer Science

Should Transgender athletes be allowed to compete in the gender of their identification? Does it alter...

Should Transgender athletes be allowed to compete in the gender of their identification? Does it alter the notion of a level playing field?
1.Each side of the argument must be presented with legal and factual support and clear references to text and outside sources.
2. The essay must be presented in legal brief format. Please check textbook for an example or go to NY courts, legal forms. Findlaw.com would also be helpful.
3. The paper should be three to five pages only.
4.There are some newspaper articles on this. The Justice Department has filed paper in court last week arguing against Transgender women competing with non transgender women.

In: Operations Management

course: Applications of mobile application development What are web services and how do mobile and web...

course: Applications of mobile application development

  • What are web services and how do mobile and web applications utilize them.
  • Research and describe SOAP web services. Are they still commonplace?
  • What are REST web services and how are they used? Please provide examples.
  • What are Websockets and how are they used? Please provide examples.
  • Research GraphQL; how does using this differ from REST?

Complete the tasks listed and submit in a word document with 3 pages length

In: Computer Science

Consider all of the psychological conditions from the sections we have read, and then choose one...

Consider all of the psychological conditions from the sections we have read, and then choose one that interests you the most. Describe the psychological condition (use outside resources for a more in-depth description - remember to include your reference) and then, from the section "Therapeutic Orientations," "Psychopharmacology," or another source, choose a therapy that you think might be effective with the disorder or condition you chose. Explain your reason for "using" that therapy. (Be sure to include references for full credit)

In: Psychology

The file pokedex.txt contains partial information about 31 Pokémon that mostly come from this Pokédex. Assignment...

  • The file pokedex.txt contains partial information about 31 Pokémon that mostly come from this Pokédex.

Assignment

  • Using pokedex.py as a starting point, supply the missing functions such that interaction with a user could produce this transcript.

Pokedex.py:

1,bulbasaur,318,grass,poison
2,ivysaur,405,grass,poison
3,venusaur,525,grass,poison
4,charmander,309,fire
5,charmeleon,405,fire
6,charizard,534,fire,flying
7,squirtle,314,water
8,wartortle,405,water
9,blastoise,530,water
10,caterpie,195,bug
11,metapod,205,bug
12,butterfree,395,bug,flying
13,weedle,195,bug,poison
14,kakuna,205,bug,poison
15,beedrill,395,bug,poison
16,pidgey,251,normal,flying
17,pidgeotto,349,normal,flying
18,pidgeot,479,normal,flying
19,rattata,253,normal
20,raticate,413,normal
21,spearow,262,normal,flying
22,fearow,442,normal,flying
23,ekans,288,poison
24,arbok,448,poison
25,pikachu,320,electric
26,raichu,485,electric,psychic
27,sandshrew,300,ground
28,sandslash,450,ground
29,nidoran,275,poison
30,nidorina,365,poison
810,yeet,777,steel,fire,water,grass,electric,psychic,ice,dragon,dark,fairy,???

Transcript:

1. Print Pokedex
2. Print Pokemon by Name
3. Print Pokemon by Number
4. Count Pokemon with Type
5. Print Average Pokemon Combat Points
6. Quit

Enter a menu option: 1

The Pokedex
-----------
Number: 1, Name: Bulbasaur, CP: 318: Type: grass and poison
Number: 2, Name: Ivysaur, CP: 405: Type: grass and poison
Number: 3, Name: Venusaur, CP: 525: Type: grass and poison
Number: 4, Name: Charmander, CP: 309: Type: fire
Number: 5, Name: Charmeleon, CP: 405: Type: fire
Number: 6, Name: Charizard, CP: 534: Type: fire and flying
Number: 7, Name: Squirtle, CP: 314: Type: water
Number: 8, Name: Wartortle, CP: 405: Type: water
Number: 9, Name: Blastoise, CP: 530: Type: water
Number: 10, Name: Caterpie, CP: 195: Type: bug
Number: 11, Name: Metapod, CP: 205: Type: bug
Number: 12, Name: Butterfree, CP: 395: Type: bug and flying
Number: 13, Name: Weedle, CP: 195: Type: bug and poison
Number: 14, Name: Kakuna, CP: 205: Type: bug and poison
Number: 15, Name: Beedrill, CP: 395: Type: bug and poison
Number: 16, Name: Pidgey, CP: 251: Type: normal and flying
Number: 17, Name: Pidgeotto, CP: 349: Type: normal and flying
Number: 18, Name: Pidgeot, CP: 479: Type: normal and flying
Number: 19, Name: Rattata, CP: 253: Type: normal
Number: 20, Name: Raticate, CP: 413: Type: normal
Number: 21, Name: Spearow, CP: 262: Type: normal and flying
Number: 22, Name: Fearow, CP: 442: Type: normal and flying
Number: 23, Name: Ekans, CP: 288: Type: poison
Number: 24, Name: Arbok, CP: 448: Type: poison
Number: 25, Name: Pikachu, CP: 320: Type: electric
Number: 26, Name: Raichu, CP: 485: Type: electric and psychic
Number: 27, Name: Sandshrew, CP: 300: Type: ground
Number: 28, Name: Sandslash, CP: 450: Type: ground
Number: 29, Name: Nidoran, CP: 275: Type: poison
Number: 30, Name: Nidorina, CP: 365: Type: poison
Number: 810, Name: Yeet, CP: 777: Type: steel and fire and water and grass and electric and psychic and ice and dragon and dark and fairy and ???

1. Print Pokedex
2. Print Pokemon by Name
3. Print Pokemon by Number
4. Count Pokemon with Type
5. Print Average Pokemon Combat Points
6. Quit

Enter a menu option: 2
Enter a Pokemon name: RAICHU
Number: 26, Name: Raichu, CP: 485: Type: electric and psychic

1. Print Pokedex
2. Print Pokemon by Name
3. Print Pokemon by Number
4. Count Pokemon with Type
5. Print Average Pokemon Combat Points
6. Quit

Enter a menu option: 2
Enter a Pokemon name: raichump
There is no Pokemon named raichump

1. Print Pokedex
2. Print Pokemon by Name
3. Print Pokemon by Number
4. Count Pokemon with Type
5. Print Average Pokemon Combat Points
6. Quit

Enter a menu option: 3
Enter a Pokemon number: 26
Number: 26, Name: Raichu, CP: 485: Type: electric and psychic

1. Print Pokedex
2. Print Pokemon by Name
3. Print Pokemon by Number
4. Count Pokemon with Type
5. Print Average Pokemon Combat Points
6. Quit

Enter a menu option: 3
Enter a Pokemon number: 34
There is no Pokemon number 34

1. Print Pokedex
2. Print Pokemon by Name
3. Print Pokemon by Number
4. Count Pokemon with Type
5. Print Average Pokemon Combat Points
6. Quit

Enter a menu option: 4
Enter a Pokemon type: Normal
Number of Pokemon that contain type normal = 7

1. Print Pokedex
2. Print Pokemon by Name
3. Print Pokemon by Number
4. Count Pokemon with Type
5. Print Average Pokemon Combat Points
6. Quit

Enter a menu option: 4
Enter a Pokemon type: ???
Number of Pokemon that contain type ??? = 1

1. Print Pokedex
2. Print Pokemon by Name
3. Print Pokemon by Number
4. Count Pokemon with Type
5. Print Average Pokemon Combat Points
6. Quit

Enter a menu option: 4
Enter a Pokemon type: unknown
Number of Pokemon that contain type unknown = 0

1. Print Pokedex
2. Print Pokemon by Name
3. Print Pokemon by Number
4. Count Pokemon with Type
5. Print Average Pokemon Combat Points
6. Quit

Enter a menu option: 5
Average Pokemon combat points = 370.71

1. Print Pokedex
2. Print Pokemon by Name
3. Print Pokemon by Number
4. Count Pokemon with Type
5. Print Average Pokemon Combat Points
6. Quit

Enter a menu option: 6
Thank you.  Goodbye!

Grading - 100 points

  • 20 points. The class Pokemon is defined (2 points) with the appropriate six methods (3 points each).
  • 5 points. The function print_menu is correct.
  • 10 points. The function print_pokedex is correct.
  • 10 points. The function lookup_by_name is correct when the Pokémon is present (7 points) and absent (3 points).
  • 10 points. The function lookup_by_number is correct when the number is present (7 points) and absent (3 points).
  • 10 points. The function total_by_type is correct when the type is present (7 points) and absent (3 points).
  • 10 points. The function average_hit_points is correct.
  • 10 points. The format of the output matches the format of the output in the transcript exactly. (2 points for each type of difference up to 10 points.)
  • 15 points - The Python solution is properly commented, easy to understand and does not contain unnecessary code. (3 points for each type of improvement up to 15 points.)

In: Computer Science

Assume that females have pulse rates that are normally distributed with a mean of mu equals...

Assume that females have pulse rates that are normally distributed with a mean of mu equals 73.0 beats per minute and a standard deviation of sigma equals 12.5 beats per minute.

Complete parts​ (a) through​ (c) below.

. If 1 adult female is randomly​ selected, find the probability that her pulse rate is between

6666

beats per minute and

8080

beats per minute.

In: Math

Activity 10: Methods of Coping For each of the following situations, give one example of an...

Activity 10: Methods of Coping

For each of the following situations, give one example of an emotion-focused method of coping (i.e., seeking sympathy, rationalizing, redirection of attention) and one example of a problem-focused method of coping (i.e., taking direct action to deal with the problem). You can review pgs. 523-538 (section 14.4) for a refresher on what an emotion-focused and problem-focused method are.

  1. One of your co-workers avoids you and describes you in an unfavorable and mean way to others.
    • Emotion focused:
    • Problem focused:
  2. You are getting below-average grades in your chemistry class.
    • Emotion focused:
    • Problem focused:
  3. You lost your job when the store in which you worked at closed down.
    • Emotion focused:
    • Problem focused:
  4. The person you love has started acting distant with you.
    • Emotion focused:
    • Problem focused:
  5. You just found out that one of your children needs a liver transplant.
    • Emotion focused:
    • Problem focused:

In: Psychology

One theme in this module is the perceived tension between free exercise of religion (guaranteed under...

One theme in this module is the perceived tension between free exercise of religion (guaranteed under the 1st amendment to the Constitution) and equal protection under the law (guaranteed by the 14th amendment to the U.S. Constitution).

Excerpt from 1st Amendment to the U.S. Constitution
“Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the Government for a redress of grievances.”


Excerpt from Section 1 of the 14th Amendment to the U.S. Constitution
“No state shall make or enforce any law which shall abridge the privileges or immunities of citizens of the United States; nor shall any state deprive any person of life, liberty, or property, without due process of law; nor deny to any person within its jurisdiction the equal protection of the laws.”

In short, which is more at risk: freedom of religion OR equality of all people under the law? Explain your answer.

In: Psychology

Personal agent technologies such as Alexa and Google Home listen to everything that is said waiting...

Personal agent technologies such as Alexa and Google Home listen to everything that is said waiting for their trigger word. What trade-offs does this convenience provide the user?

In: Operations Management

Bayshore Child Development Center: A Case Study Tanya R. Li has been promoted to director of...

Bayshore Child Development Center: A Case Study


Tanya R. Li has been promoted to director of the Bayshore Child Development Center. The children serviced by the center are racially and ethnically diverse and from low-income families. The white teachers are in the minority and feel isolated. The teachers of color feel that the white teachers do not understand the children. In addition, James, a veteran teacher, has been discovered to have had a criminal record prior to employment at the center. The state that funds the nonprofit center does not allow anyone with a criminal record to work in direct contact with children, but he was employed prior to the law going into effect.

Tanya has identified three problems: (1) How can she make the teachers gain better understanding of each other’s cultures? (2) How can she help the teachers gain better understanding of the children’s culture? (3) How does she deal with James, whose performance has been stellar since he joined the center 15 years ago? She also understands the shortage of preschool teachers in her area and is interested in creating a more satisfying work environment.

1. How would you advise Tanya to prioritize the problems that need to be addressed? Explain
2. What do you believe is at the root of the problem? Explain
3. How would you address the problems that make up the situation? Explain
4. What methods would you find most useful in trying to deal with the conflict?Explain

In: Operations Management

What are some of the features that determine a good manufacturing layout?

What are some of the features that determine a good manufacturing layout?

In: Operations Management

Needs theory is one of the Theories of Motivation. Base on Needs theory, does salary/wage/pay/money is...

Needs theory is one of the Theories of Motivation. Base on Needs theory, does salary/wage/pay/money is a good influencer & effective instigator? Why?

Justify or list out the arguments based on 1 or more theories with a scenario as evidence or example.
Should be around (+-) 500 words

In: Psychology

Contract contrary to statute vs Contrary Public Policy What is the difference in brief answer

Contract contrary to statute vs Contrary Public Policy What is the difference in brief answer

In: Psychology