You are to design, code and test a simple Python program using SEQUENTIAL CONTROL STRUCTURE. The program will be used to find the total of points a student has earned from five tests and assign either a P (the score is greater than 65%) or NP grade.
Your program must meet the following criteria: | |
USER INPUT: |
The program will request the following data from the user
|
PROGRAM PROCESSING: |
|
OUTPUT: |
The following data will be displayed in a short report on the
screen (use a separate line for each):
|
When you are through coding your program, test it using the following scenario:
Test 1 | Test 2 | Test 3 | Test 4 | Test 5 | |
Nicole | 18 | 18 | 17 | 19 | 20 |
Be sure to check your program's accuracy by working the test data out by hand. Also, you can compare the layout of your report to the tutorial report to make sure you are following the techniques introduced in the tutorial. Look for and correct misspelling and inconsistent capitalization in titles and labels.
You will need to take a Screen Shot of your run for submission with your program file.
Submit your program file (.py) and
Output screen shot in an email sent to me
Use "Programming Assignment 2" for the Subject line. Remember to identify
yourself by name and class in the email body.
Return to Assignments Index |