{"id":11923,"date":"2024-02-16T19:22:49","date_gmt":"2024-02-16T19:22:49","guid":{"rendered":"https:\/\/www.writemyessays.app\/blog\/questions\/python-program-to-determine-whether-a-password-exactly-meets-the-following-requirements-for-a-secure-password\/"},"modified":"2024-02-16T19:22:49","modified_gmt":"2024-02-16T19:22:49","slug":"python-program-to-determine-whether-a-password-exactly-meets-the-following-requirements-for-a-secure-password","status":"publish","type":"questions","link":"https:\/\/www.writemyessays.app\/blog\/questions\/python-program-to-determine-whether-a-password-exactly-meets-the-following-requirements-for-a-secure-password\/","title":{"rendered":"Python program to determine whether a password exactly meets the following requirements for a secure password"},"content":{"rendered":"<p style=\"margin-bottom: 12pt; line-height: normal; cursor: auto; color: inherit;\"><b style=\"cursor: auto; color: inherit;\"><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\">Assignment:<\/span><\/b><\/p>\n<p style=\"margin-bottom: 12pt; line-height: normal; cursor: auto; color: inherit;\"><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\">Writing a Python<br \/>\nprogram to determine whether a password exactly meets the following<br \/>\nrequirements for a secure password:<\/span><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\"><\/span><\/p>\n<ul style=\"cursor: auto; color: inherit;\">\n<li style=\"line-height: normal; cursor: auto; color: inherit;\"><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\">the length<br \/>\n     of the password must be greater than some minimum length and less than<br \/>\n     some maximum. You should decide on the minimum (at least 6) and maximum<br \/>\n     (at least 15) allowable lengths;<\/span><\/li>\n<li style=\"line-height: normal; cursor: auto; color: inherit;\"><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\">it<br \/>\n     must&nbsp;not&nbsp;include any spaces;<\/span><\/li>\n<li style=\"line-height: normal; cursor: auto; color: inherit;\"><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\">it must<br \/>\n     contain at least one digit; and<\/span><\/li>\n<li style=\"line-height: normal; cursor: auto; color: inherit;\"><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\">it must<br \/>\n     contain at least one alphabetic character.<\/span><\/li>\n<\/ul>\n<p style=\"margin: 6pt 0in 12pt; line-height: normal; cursor: auto; color: inherit;\"><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\">Your program must contain at least<br \/>\nthree functions:<\/span><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\"><\/span><\/p>\n<ul style=\"cursor: auto; color: inherit;\">\n<li style=\"line-height: normal; cursor: auto; color: inherit;\"><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\">one function<br \/>\n     to check that the password is the proper length;<\/span><\/li>\n<li style=\"line-height: normal; cursor: auto; color: inherit;\"><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\">a second<br \/>\n     function to check whether it contains the required number of<br \/>\n     characters\/digits (Hint: to determine whether it contains at least one<br \/>\n     digit and one alphabetic character, use a loop and the&nbsp;<i style=\"cursor: auto; color: inherit;\">isalpha<\/i>&nbsp;or&nbsp;<i style=\"cursor: auto; color: inherit;\">isdigit<\/i>&nbsp;methods);<br \/>\n     and<\/span><\/li>\n<li style=\"line-height: normal; cursor: auto; color: inherit;\"><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\">a third<br \/>\n     function to verify that it does not contain the prohibited character<br \/>\n     (space).&nbsp;<\/span><\/li>\n<\/ul>\n<p style=\"margin: 6pt 0in 12pt; line-height: normal; cursor: auto; color: inherit;\"><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\">Your program should prompt the user<br \/>\nfor the candidate password and then each function and display either that the<br \/>\npassword is valid or the first reason it is invalid.&nbsp;<\/span><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\"><\/span><\/p>\n<p style=\"margin: 6pt 0in 12pt; line-height: normal; cursor: auto; color: inherit;\"><b style=\"cursor: auto; color: inherit;\"><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\">You cannot use Regular Expressions<br \/>\n(RE) !<\/span><\/b><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\"><\/span><\/p>\n<p style=\"margin: 6pt 0in 12pt; line-height: normal; cursor: auto; color: inherit;\"><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\">Your program should include Header<br \/>\ncomments (what the program does) and in-line comments (the major design<br \/>\nsteps).&nbsp;Document the values you chose for the min and max length<br \/>\nvalues.&nbsp;<\/span><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\"><\/span><\/p>\n<p style=\"margin: 6pt 0in 12pt; line-height: normal; cursor: auto; color: inherit;\"><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\">Submit your Python program as a text<br \/>\nfile (.py) file. In addition, submit a Design outline and a Test plan\/report<br \/>\n(at least 3 different test cases &#8211; testing all the requirements) in a Word<br \/>\ndocument or a PDF file and include a screenshot of execution of your program<br \/>\nfor each test case.&nbsp;<\/span><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\"><\/span><\/p>\n<p style=\"margin: 6pt 0in 12pt; line-height: normal; cursor: auto; color: inherit;\"><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\">Your submission must also adhere to<br \/>\nthe Submission Requirements document. (i.e., Filename and display your name,<br \/>\nclass, date in the output).<\/span><span style=\"font-size: 14.5pt; cursor: auto; color: inherit;\"><\/span><\/p>\n<p style=\"cursor: auto; color: inherit;\">&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Assignment: 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&nbsp;not&nbsp;include any [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":[],"disciplines":[187],"paper_types":[],"tagged":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/questions\/11923"}],"collection":[{"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/questions"}],"about":[{"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/types\/questions"}],"author":[{"embeddable":true,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/comments?post=11923"}],"version-history":[{"count":0,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/questions\/11923\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/media?parent=11923"}],"wp:term":[{"taxonomy":"disciplines","embeddable":true,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/disciplines?post=11923"},{"taxonomy":"paper_types","embeddable":true,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/paper_types?post=11923"},{"taxonomy":"tagged","embeddable":true,"href":"https:\/\/www.writemyessays.app\/blog\/wp-json\/wp\/v2\/tagged?post=11923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}