CMIS 102 Assignment 5 Secure Password



The fifth assignment involves writing a Python program to determine whether a password meets all the requirements for a secure password. Your program should prompt the user for the candidate password and output either that the password is valid or the reason it is invalid. To be valid the length of the password must greater than some minimum length but less than some maximum. It must not include the substring “umgc” in any combination of upper or lower case letters. Finally, it must contain the # symbol is some position other than the first or last character. You should decide on the minimum and maximum allowable lengths.
Your program should include the pseudocode used for your design in the comments. Document the values you chose for the minimum and maximum allowable lengths in your comments as well.
You are to submit your Python program as a text file (.txt) file. In addition, you are also to submit a test plan in a Word document or a .pdf file. 15% of your grade will be based on whether the comments in your program include the pseudocode and define the values of your constants, 70% on whether your program executes correctly on all test cases and 15% on the completeness of your test report.
CMIS 102 Assignment 5 Screenshot
CMIS 102 Assignment 5 TestCases
The solution consists of:
A report word document for this assignment
All Python programs in case you want to run theses programs on your computer.
Screenshots while running programs
Attachments [Move over files to preview content of those files] (158.25 KB)
CMIS 102 Assignment 5 Report.docx
source code
xx __xxxx__ == ‘__xxxx__’:
# xxxxxx xxx xxxxxx xx xxxxxxxx
xxx_xxxxxx = 8
# xxxxxx xxx xxxxxx xx xxxxxxxx
xxx_xxxxxx = 20
while True: # ask the user to enter password password = input(‘Enter your password: ‘) if len(password) < min_length: print('Invalid password, length should be at least %s. Please try again' % min_length) elif len(password) > max_length: print(‘Invalid password, length should not greater than %s. Please try again’ % max_length)
xxxx ‘xxxx’ xx xxxxxxxx.xxxxx():
xxxxx(‘xxxxxxx xxxxxxxx, xxxxxx xxx xxxxxxx xxxxxxxxx “xxxx”. xxxxxx xxx xxxxx’)
xxxx xxxxxxxx[0] == ‘#’:
xxxxx(‘xxxxxxx xxxxxxxx, xxxxxx xxx xxxx # xx xxxxx xxxxxxxx. xxxxxx xxx xxxxx’)
xxxx xxxxxxxx[-1] == ‘#’:
xxxxx(‘xxxxxxx xxxxxxxx, xxxxxx xxx xxxx # xx xxxx xxxxxxxx. xxxxxx xxx xxxxx’)
Price: $19
You May Also Like:
CMIS 102 Assignment 1 Salesman Weekly Pay
CMIS 102 Assignment 2 Compute Theater Ticket Price
CMIS 102 Assignment 3 Compute Cost of Carpeting a Room
CMIS 102 Assignment 4 Compute Average quiz Grade
CMIS 102 Assignment 6 Converting Celsius to Fahrenheit
CMIS 102 Final Project Body Mass Index


There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.