Answered You can buy a ready-made answer or pick a professional tutor to order an original one.

QUESTION

Week 6: Due on Feb 20, 2024 11:59 PM This week's assignment involves writing a Python program to determine whether a password exactly meets the following requirements for a secure password: the length

Week 6: Due on Feb 20, 2024 11:59 PM

This week's assignment involves writing a Python program to determine whether a password exactly meets the following requirements for a secure password:

  • the length of the password must be greater than some minimum length and less than some maximum. You should decide on the minimum (at least 6) and maximum (at least 15) allowable lengths;
  • it must not include any spaces;
  • it must contain at least one digit; and
  • it must contain at least one alphabetic character.

Your program must contain at least three functions:

  • one function to check that the password is the proper length;
  • a second function to check whether it contains the required number of characters/digits (Hint: to determine whether it contains at least one digit and one alphabetic character, use a loop and the isalpha or isdigit methods); and
  • a third function to verify that it does not contain the prohibited character (space).

Your program should prompt the user for the candidate password and then each function and display either that the password is valid or the first reason it is invalid. 

You cannot use Regular Expressions (RE) !

Your program should include Header comments (what the program does) and in-line comments (the major design steps). Document the values you chose for the min and max length values. 

Submit your Python program as a text file (.py) file. In addition, submit a Design outline and a Test plan/report (at least 3 different test cases - testing all the requirements) in a Word document or a PDF file and include a screenshot of execution of your program for each test case.

Your submission must also adhere to the Submission Requirements document. (i.e., Filename and display your name, class, date in the output).

Grading:

15% - Design – outline proper sequence of steps, calculations (if necessary). Identify all your loops, validation.

10% - Test Plan – Completeness of your Test plan/report (at least three (probably more) test cases).  You should have a test case for each invalid and one for a valid password. Include screenshots for each test case.

10% - Documentation - Header and in-line comments. Documentation of major steps (from design outline).

65% - Program prompts and executes correctly on all test cases. Satisfies all requirements (each requirement - 10 pts, compiles - 20 pts, effectiveness and neatness - 10 pts, descriptive variables - 5 pts, def main() - 5 pts).

mportant note: This is an individual assignment and students are required to submit their original/independent work and adhere to UMGC academic integrity policy. Your submission should adhere to the Submission Requirements document. It is advised that you read all the material, including the Lecture before attempting the assignment. Also, review the example programs and practice exercises.

Due on Feb 20, 2024 11:59 PM

Show more
  • @
  • 1104 orders completed
ANSWER

Tutor has posted answer for $15.00. See answer's preview

$15.00

************************

or Buy custom answer
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question