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.5. (Python Program Design)

the_basics_lesson_5_exercise.pdf
File Size: 202 kb
File Type: pdf
Download File


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

2. Without looking back at the video consider the following specification.

Develop a program that calculates an individuals gross pay.

As part of the program development process  produce each of the following artefacts i.e. start to design the  program.
  1. Data Table
  2. Algorithm
The format of the Data Table is shown below:
Picture

3. Consider the following specification.

Write a program that calculates the area of a rectangle.

            area = width x height


For this specification produce a:
  1. Data Table
  2. Algorithm

NOTE: You decide on the units of measurements for width, height etc. (e.g. inches, cm, mm etc)

END    Next Exercise >>

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