Our Services

Get 15% Discount on your First Order

[rank_math_breadcrumb]

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

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

Excel 365/2021 Capstone – Level 2 Working with Sales Data These instructions are compatible with both Microsoft Windows and Mac operating systems. In this project, you will work with sales data from T

Excel 365/2021 Capstone – Level 2 Working with Sales Data These instructions are compatible with both Microsoft Windows and Mac operating systems. In this project, you will work with sales data from Top’t Corn, a popcorn company with an online store, multiple food trucks, and two retail stores. You will

Hello Students, As discussed in class, the Workspaces and Challenges are now active. Required Challenges for Full Credit To earn full credit (30% of the assignment), you must complete 6 challenges fro

Hello Students, As discussed in class, the Workspaces and Challenges are now active. Required Challenges for Full Credit To earn full credit (30% of the assignment), you must complete 8 challenges from the following list: Interns & HR on the Domain Controller Help Desk Fun: User Workstation Nightmares Dangerous Drives Preventative Protection: Thwarting the Imminent Threat Security

Hello Students, As discussed in class, the Workspaces and Challenges are now active. Please read the instrutions carefully before you accept the order. This labs should be done on xp cyber range websi

Hello Students, As discussed in class, the Workspaces and Challenges are now active. Please read the instrutions carefully before you accept the order. This labs should be done on xp cyber range website. It has to submit minimum 10 challenges with proper documentation. The questions and the website protal is attached below. A Database

Individual Assignment 3 (50 Points) Case Problem 1 (Slate & Pencil Tutoring – pages: HTML 269 – HTML 270) Data files are provided to you with this assignment in a zipped folder. Unzip the folder

Individual Assignment 3 (50 Points)Case Problem 1 (Slate & Pencil Tutoring – pages: HTML 269 – HTML 270) Data files are provided to you with this assignment in a zipped folder. Unzip the folder tosee the data files needed for this case problem.Follow the instructions (Steps 1-16) and complete the

Please read the instructions below carefully. Required Challenges for Full Credit Vulnerability Scan Complete, Begin System Hardening [NG]Volatile Vulnerabilities [NG]The Network is Down! Internal Iss

Please read the instructions below carefully. Required Challenges for Full Credit Vulnerability Scan Complete, Begin System Hardening [NG] Volatile Vulnerabilities [NG] The Network is Down! Internal Issues Edition [NG] The Network is Down! Contractor Edition [NG] (Complexity 1) The Network is Down! Contractor Edition [NG] Systems Security Analyst Crash Course

Hello Students, Please pay attention to the instructions below. Required Challenges for Full Credit To earn full credit (30% of the assignment), you must complete 6 challenges from the following list:

Hello Students, Please pay attention to the instructions below. Required Challenges for Full Credit To earn full credit (30% of the assignment), you must complete 6 challenges from the following list: Interns & HR on the Domain Controller Help Desk Fun: User Workstation Nightmares Dangerous Drives Preventative Protection: Thwarting the Imminent Threat Security

Hello This is XP Cyberrange Challenges twe need to complete the challenge by reading a conversaation between the people dicussing on cyber topics. We need to resolve the issues by working on each task

Hello This is XP Cyberrange Challenges we need to complete the challenge by reading a conversaation between the people dicussing on cyber topics. We need to resolve the issues by working on each task which are discussed in that conversation meet. Please pay attention to the instructions below. Finish the

● NCP- NICE Challenge Project ● VM- Virtual Machine ● VMRC- Virtual Machine Remote Console ❖ NICE Framework- This is shorthand for the NICE Cybersecurity Workforce Framework. ❖ Webportal- The web appl

Hello friends this is the step by step guidance to work on task these are not the questions don’t be panic ./ ● NCP- NICE Challenge Project ● VM- Virtual Machine ● VMRC- Virtual Machine Remote Console ❖ NICE Framework- This is shorthand for the NICE Cybersecurity Workforce Framework. ❖

Course : Analyzing and Visualizing Data Textbook Used: Title: Data VisualisationISBN: 9781526468925Authors: Andy KirkPublisher: SAGE Publications LimitedPublication Date: 2019-10-07Edition: 2nd ED.

Course : Analyzing and Visualizing Data Textbook Used: Title: Data VisualisationISBN: 9781526468925Authors: Andy KirkPublisher: SAGE Publications LimitedPublication Date: 2019-10-07Edition: 2nd ED. Practical Connection Assignment At UC, it is a priority that students are provided with strong educational programs and courses that allow them to be servant-leaders in their disciplines and communities, linking research with practice and

Hello Students, As discussed in class, the Workspaces and Challengesare now active. Required Challenges for Full Credit To earn full credit (30% of the assignment), you must complete 6 challenges from

Hello Students, As discussed in class, the Workspaces and Challengesare now active. Required Challenges for Full Credit To earn full credit (30% of the assignment), you must complete 6 challenges from the following list: Interns & HR on the Domain Controller Help Desk Fun: User Workstation Nightmares Dangerous Drives Preventative Protection: Thwarting the Imminent Threat Security

Part 1Title: Computer Hardware Using bullet points, briefly describe a computing device you use often, such as your desktop, laptop, tablet, or smartphone. Identify the make and model, and at least th

Part 1Title: Computer Hardware Using bullet points, briefly describe a computing device you use often, such as your desktop, laptop, tablet, or smartphone. Identify the make and model, and at least three other components of the computing device. In the speaker notes, discuss in detail what you use the device