List the things you changed and the purpose of changing it

Assignment Help Other Subject
Reference no: EM13317362

For task 1: List the things you changed and the purpose of changing it. Good reasons include making code easier to read and easier to navigate when modifying it.

For task 2: List the errors you found and how you fixed it.

Task 1 (under Very Low Difficulty)

1. (A possible example)For readability, all variable names were changed to start with a lowercase letter (e.g. VerbList was changed to verbList) and all function names were changed to start with a uppercase letters

2. Other things you did

Task 2 (under Very Low Difficulty)

1. There was a bug in the following function.

defDisplayListOfVerbs():
print(VerbsArray)

There is no such variable as VerbsArray, to print out the list of verbs available, it was changed to display the list 'VerbList'

defDisplayListOfVerbs():
print(VerbList)


Attachment:- PYTH_Question.zip

Reference no: EM13317362

Questions Cloud

Determine flow rate into or out of each reservoir : Three reservoirs are connected by three pipes with hA = 100 f t, hB = 20 f t, hC = 0 f t, l1 = 1000 f t, l2 = 500 f t, l3 = 400 f t and D1 = D2 = D3 = 1 f t. Determine flow rate into or out of each reservoir if friction in each pipe is 0.02.
Terminate the linked list properly : Define a struct which has exactly 5 variables that, for one person, will hold the last name, the "other" names. the-year-took-office. the-yew-left-office, and a pointer. The pointer will be used to point to the next set of data. for the next perso..
Determine the reaction of the rocker b on the beam : Determine the horizontal and vertical components of reaction at the pin A and the reaction of the rocker B on the beam. a)Determine the horizontal and vertical components of reaction at the pin A
What is the orbital speed of the second satellite : A satellite is in a circular orbit around an unknown planet. The satellite has a speed of 1.70 104 m/s, and the radius of the orbit is5.00 106 m. What is the orbital speed of the second satellite
List the things you changed and the purpose of changing it : For readability, all variable names were changed to start with a lowercase letter (e.g. VerbList was changed to verbList) and all function names were changed to start with a uppercase letters
Corporate goals-objectives for coping with unionization : Which of the following is required by most unions and is often waived for workers who become members following a successful organizing drive? Many employers have corporate goals and objectives for coping with unionization and
Write the matlab statements to evaluate tan : Assume that theta is given in degrees, and write the MATLAB statements to evaluate tan(theta) as long as the magnitude of cos( theta) is grater than or equal to 10^(-20). If the magnitude of cos(theta) is less than 10^(-20)
What is the capacity of the drive : Given the instruction set for MARIE in this chapter, decipher the following MARIE machine language instructions. (Write the assembly language equivalent.)
Calculate ratio of new gas flow rate to old gas flow rate : A 98% efficient ESP follows the Deutsch equation. If the gas flow rate changes and the efficiency drops to 94%, calculate the ratio of the new gas flow rate to the old gas flow rate.

Reviews

Write a Review

Other Subject Questions & Answers

  Probability distribution-analyze the insurance claims

An insurance company has called a consulting firm to determine if the company has an unusually high number of false insurance claims. It is known that the industry proportion for false claims is 3%. The consulting firm has decided to randomly and ind..

  Consequences of industrial-style animal farming

1. What are three consequences of industrial-style animal farming?  How can genetically modified organisms (GMOs) benefit developing countries, and what are two cons of growing them?

  Why is free trade good for nations

Why is free trade good for nations- That is, what are the specific benefits that countries seek by joining an economic bloc?

  Montreal protocol and subsequent amendments resulted

The montreal protocol and its subsequent amendments resulted in the elimination of many ozone depleting substances. A link to the montreal protocol can be found on the course Webliography. Identify three other world agreements or agencies committed t..

  Deuteronomistic historians incorporate even

How do Deuteronomistic Historians incorporate even and inconsistent traditions into their work, how does this contribute to their presentation of the period of the early monarchy?

  The project duration and identifies the critical path

Calculates the project duration, and identifies the critical path. While preparing the project plan, categorise the project tasks in the different phases of initiating, requirements gathering, design, development and testing, documentation, and de..

  Problems of middle eastern political systems

What does Kenneth Pollack believe are the principal problems of Middle Eastern political systems?

  Correlation equavalents causation

Find an article that assumes correlation equals causation and give the APA reference for the article, followed by a brief overview of the issue and of the author's position on the issue.

  Prepare a set-list for a social gathering

Prepare a set-list for a social gathering

  Prohibit colonial expansion

The British government's attempt to prohibit colonial expansion across the. Appalachian Mountains aroused colonial anger and de?ance of the law

  Improve coordination

Why would some individuals in organizations resist efforts to "improve coordination" among various units and activities?

  Ruff hands is in the business of installing windows

Ruff Hands is in the business of installing windows in houses in Gotham City. He was contacted by the Caped Crusader to install the windows in his mansion that is under construction. Due to the size of the job he asked Bat Girl to help him with the j..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd