MONT 105S, Spring 2009
Home | | Course Schedule | | Assignments | | Lecture Notes| Name | |
| People you worked with | |
| Part a: Removing spaces. | Points | Score |
| File Prologue | 1 pt | |
| Prompt user for word or phrase | 1 pt | |
| Create a variable containing an empty string | 1 pt | |
| Correct use of while loop to remove spaces | 3 pts | |
| Correct use of lower( ) to convert to lower case | 2 pts | |
| Mimics Sample Output | 2 pts | |
| Total for part a | 10 pts |
| Part b: Palindromes | Points | Score |
| Use of flag variable | 2 pts | |
| Use of while loop to compare characters at ends | 4 pts | |
| Uses conditional with flag to print appropriate message. | 2 pts | |
| Mimics Sample output | 2 pts | |
| Total for part b | 10 pts | |
| Total for Assignment | 20 pts |