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

In this journal, you will embark on a journey of exploration into emerging technologies that intrigue you; be it virtual reality, wearables, IoT, or any other fascinating field. You will research a ch

In this journal, you will embark on a journey of exploration into emerging technologies that intrigue you; be it virtual reality, wearables, IoT, or any other fascinating field. You will research a chosen technology and reflect on your learning journey, sharing insights gained, challenges faced, and areas primed for growth.

Database Detective This assignment measures your mastery of ULOs 3.4, 4.1, and 4.2. Before working on this assignment, you will need to complete the Unit VI Activity: Access 2021 – Chapter 2 – Wor

Database Detective  This assignment measures your mastery of ULOs 3.4, 4.1, and 4.2. Before working on this assignment, you will need to complete the Unit VI Activity: Access 2021 – Chapter 2 – Working with Tables in the SIMNet lab.  Download and complete the Unit VI Assignment Poole’s Nursery Template. Complete

This PowerPoint Presentation will measure your understanding of the concepts covered in this course to this point. For this assignment, you are going to create a PowerPoint presentation that would

This PowerPoint Presentation will measure your understanding of the concepts covered in this course to this point. For this assignment, you are going to create a PowerPoint presentation that would be appropriate to present to a class of high schoolers. Imagine that you are presenting a proposal to a congressional

This assignment will give you an opportunity to learn more about secondary storage technologies, communications, and networks. Before working on this assignment, you will need to complete the Unit IV

This assignment will give you an opportunity to learn more about secondary storage technologies, communications, and networks. Before working on this assignment, you will need to complete the Unit IV Knowledge Check. Reflect on what you have learned about secondary storage, communications, and network security in this unit. Address the

In Units V, VI, and VII, you learned about the components of a computer, how a computer works, the internet, networks and network communications, cloud computing, web development, digital identity, so

In Units V, VI, and VII, you learned about the components of a computer, how a computer works, the internet, networks and network communications, cloud computing, web development, digital identity, social media, e-commerce, ethical behavior, databases, and explored two Microsoft Office applications, PowerPoint and Access.  In this assignment, you will

Your assignment will have four parts. Before working on this assignment, you will need to complete the Unit III Activity: Word Advanced Features. Part 1: Introduction Begin your assignment with

Your assignment will have four parts. Before working on this assignment, you will need to complete the Unit III Activity: Word Advanced Features. Part 1: Introduction Begin your assignment with an introduction that identifies what a computer, storage, and networking are. Introduce internal, input, and output devices of a computer.

In Units V, VI, and VII, you learned about the components of a computer, how a computer works, the internet, networks and network communications, cloud computing, web development, digital identity, so

In Units V, VI, and VII, you learned about the components of a computer, how a computer works, the internet, networks and network communications, cloud computing, web development, digital identity, social media, e-commerce, ethical behavior, databases, and explored two Microsoft Office applications, PowerPoint and Access.  In this assignment, you will

In Units I, II, and III, you learned about the history of computers, application and system software, blockchain, cryptocurrency, computer ethics, and explored two Microsoft Office applications, Word

In Units I, II, and III, you learned about the history of computers, application and system software, blockchain, cryptocurrency, computer ethics, and explored two Microsoft Office applications, Word and Excel.  In this assignment you will demonstrate what you have learned in these three units. This assignment will have five parts. 

Assignment Tasks Part 1  Choose an organization or company of your choice.  Provide a clear description of the organization, including: o Mission o Vision o Objectives  Identify and describe the ma

Assignment Tasks Part 1  Choose an organization or company of your choice.  Provide a clear description of the organization, including: o Mission o Vision o Objectives  Identify and describe the main business processes in this organization.  Looking at the business processes, point out an issue that

Write 200-250 words on the following topic. Be sure to cite the readings and lectures. Topic: Select two international organizations and explain what role they play in promoting, monitoring, investig

Write 200-250 words on the following topic. Be sure to cite the readings and lectures.  Topic: Select two international organizations and explain what role they play in promoting, monitoring, investigating, and/or enforcing human rights. Use at least one concrete example of a human rights issue (e.g. allegations of war crimes

DFA Closure: 1.4 c and f. Do union and intersection for each (use cross product algorithm) Each of the following languages is the intersection of two simpler languages. In each part, construct DFAs fo

DFA Closure: 1.4 c and f. Do union and intersection for each (use cross product algorithm) Each of the following languages is the intersection of two simpler languages. In each part, construct DFAs for the simpler languages, then combine them using the construction discussed in footnote 3 (page 46) to

DFA Closure: 1.4 c and f. Do union and intersection for each (use cross product algorithm) Each of the following languages is the intersection of two simpler languages. In each part, construct DFAs fo

DFA Closure: 1.4 c and f. Do union and intersection for each (use cross product algorithm) Each of the following languages is the intersection of two simpler languages. In each part, construct DFAs for the simpler languages, then combine them using the construction discussed in footnote 3 (page 46) to

1.2 Lab – More Charts in Excel Submission: Completed Excel workbook via Canvas. Part 1 – Multiple Variable Charts Overview • This problem furthers the ideas from the notes ‘1.2 – Basic Charts in Excel

1.2 Lab – More Charts in ExcelSubmission: Completed Excel workbook via Canvas.Part 1 – Multiple Variable ChartsOverview• This problem furthers the ideas from the notes ‘1.2 – Basic Charts in Excel’, where we learnedhow to create and format many simple charts in Excel.• The first tab of the accompanying workbook