PythonByteSize
  • Home
  • Video Index
    • 1. The Basics
    • 2. Python Program Structures
    • 3. Python Operators
    • 4. Python Functions
    • 5. Introduction to Classes and Objects
    • 6. Python Strings
    • 7. User Defined Functions
    • 8. Classes and Objects
    • 9. Python Dictionaries
    • 10. Python tkinter
    • 11. Python Lists
    • 12. Python Namespaces
    • 13. Turtle Graphics
    • 14. Python Tips
    • 15. Complex Numbers
  • 1-Minute Videos
  • Exercise Index
    • 1. The Basics Exercises
    • 2. Python Program Structures Exercises
    • 3. Python Operators Exercises
    • 4. Python Functions Exercises
  • Donate
  • Computing Topics
  • Mathematics
  • Educators
  • Contact
  • About

Exercise 1.7. (Testing a Python Program)

the_basics_lesson_7_exercise.pdf
File Size: 280 kb
File Type: pdf
Download File


1. Ensure you have viewed the video (associated with this exercise) at this link >>

2. For the program on calculating an employee's gross-pay (developed in the last exercise) devise a suitable simple test plan and test the program against this test plan. A partly complete simple test plan is shown below:
Picture

3. For the program on calculating the area of a rectangle (developed in the last exercise) devise a suitable simple test plan and test the program against this test plan. A suitable template for a simple test plan is shown below you must decide on what the inputs are (two input columns have been included which should be a hint).
Picture

END    Next Exercise >>

Please consider donating to help with the costs incurred in developing this website.             Donate >>