Compare and contrast the theme of disillusionment in Martin Eden by Jack London and The Flivver King by Upton Sinclair.
In: Psychology
JAVA Input a phrase from the keyboard, if the phrase contains "red" or "RED" print out "red" . if the phrase contains "blue" or "BLUE" output "blue" In all other cases print "No Color" For example: If the input was "Violets are BLUE" your output should be "blue" If the input was "Singing the blues" output "blue" If the input was "I have a pure bred puppy" your output should be "red" If the input was "Today is Monday" output "No color". If the input was "My shirt is Blue" output "No color". (because you are only looking for "blue", "BLUE", "red", "RED")
In: Computer Science
Daniel is a new employee looking at contributing to a 401(k) offered through the company. How will his contributions affect his tax liability?
Lower federal income tax
No change to tax liability
No change to FICA tax liability
Increase tax liability
In: Accounting
In your opinion, should young offenders have their names published in the media? Should the restriction be removed? (answer should be yes)
In: Operations Management
manufacturing firm for the month of June.
Assume Beginning WIP for Job A & B are $300 & $500, respectively. Assume Ending WIP for Job A & B are $475 & $650, respectively.
machine hours to allocate O/H and estimates 1,600 machine hours over the next year.
office space & $300 of factory utilities
In: Accounting
The use of sedative medications to control behaviours is controversial and has been described as being highly coercive and having significant effects on a person (MuirCochrane & Grace, 2017). In this essay you are required to critically discuss:
• the controversy of the use of psychotropic medications to control behaviours and manage symptoms for people who experience mental illness.
• Identify the challenging aspects for registered nurses who administer psychotropic medication to the consumer who poses significant risk of harm to self and/or others, in promoting recovery-oriented practice.
Your essay must utilise a range of national and international contemporary literature, to create an argument that identifies the complexities of this issue.
In: Nursing
In: Civil Engineering
In the book "The Goal" Comment on the interactions between the Marketing function and Alex Rogo's plant. How did they help and hurt each other?
In: Operations Management
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