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
In: Psychology
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:
In: Computer Science
In: Operations Management
course: Applications of mobile application development
Complete the tasks listed and submit in a word document with 3 pages length
In: Computer Science
In: Psychology
Assignment
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
In: Computer Science
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 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.
In: Psychology
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 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 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?
In: Operations Management
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
In: Psychology