Basic Programming
Problem: Create a program that will manipulate a string input. The program will advance to the next step if the string has special characters or symbols. Below are the outputs that are needed:
- Reverse of the string input.
- Replace all consonants with asterisks.
- Display the length of the string and the number of vowels and consonants.
- Capitalize all the vowels.
Rubric for Rating the Output
Criteria | Very Satisfactory (4) | Satisfactory (3) | Fair (2) | Poor (1) |
Correctness | Program runs and completes all required tasks and executes without errors | Program works and completes most tasks appropriately and fails to work on special cases | Program executes but generates incorrect results | Program does not execute correctness |
User-friendly input/output | Includes all appropriate input prompts and explains/ describes all output values | Some input or output prompts/ descriptions are inappropriate or missing | Lacks most or all input and output descriptions | No input/ output description |
Formatting/ Readability | Well-organized and easy to follow through appropriate use of tabbing and white spaces | Disorganized tabs and spaces or it allows readability by someone who knows what is supposed to be doing | Poor use of tabs and white space and is very difficult to read | No use of tabs and white spaces |
Documentation | The program has proper labels and prompts. | Labels and prompts are a little confusing. | Some sections or areas of the program were not properly labelled or had problem with prompts. | Labels and prompts are very confusing. |