Question: For part one just need parameters Exercise 2 Assignment Specification Description: This assignment has two parts: a testing design exercise and a python program. Part

For part one just need parameters

Exercise 2 Assignment Specification Description: This assignment has two parts: a testing design exercise and a python program. Part 1. Testing Design: Determine a set of inputs that will adequately test the Python program you are writing (the one in Part 2) It should be minimal: try not to have duplicate tests . Be sure to cover all the cases/alternatives You may want to use the template presented in class and available on Canvas. o Create a .doc/.pdf document detailing the testing steps from the Testing Design above. Part 2. Python Program Write the program as a loop to prompt the user for input, checking it and printing the proper message, until the user inputs 'done' (without quotes). Input: The user will be prompted for a password to be validated. They will enter the word 'done' (no quotes) to finish. Enter a password with the given characteristics, or 'done' (without quotes) if you are finished: o [ user input, examples: abc123ft, done] Output: Print the proper messages, based on the input. o Examples: . Password accepted! . Goodbye! Procedure: 1. Print the request for the password and its required characteristics, that are: a. Minimum length: 6 b . Maximum length: 12 C. Any combination of numbers and letters (either small or capital letters). Both numbers and letters should be present d. One of the following "special characters": I, @, #, $, %, , ? e. The word "password" has not to be in it. 2. Prompt the user for a password 3. If the user enters 'done' (without quotes), print goodbye and stop Check if the password requirements have been applied. Provide different messages for the different errors. The message will be "Errors in your password, including " followed by the condition generating the error (e.g.: "non minimum length"). If multiple errors occur, use any of them 5. If the user enters an acceptable password, print " Password accepted!" Submit your .doc/.pdf document (for the Test Design part) and your program ( py document) via Canvas. No screenshot is required

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!