Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This Project can be done as a Python Application Password Checking Software to reset passwords often requires the user to enter the password twice, checking

This Project can be done as a Python Application

Password Checking Software to reset passwords often requires the user to enter the password twice, checking to make sure it was entered the same way both times. Write a program in Python that contains functions/methods in it that can verify that the two passwords entered are correct. Your project should contain a method that ask the user to enter a password twice, then either tell the user that the two entries were not the same and then start the process over again. Or, if they are the same, tell the user that the new password was accepted.

Additionally, the user is required to enter in a password that meets specific security requirements. Proper Passwords are required to follow these rules:

  • The password must be at least 8 characters long.
  • The password must contain at least: - one alpha character [a-zA-Z]; - one numeric character [0-9]; - one character that is not alpha or numeric, such as ! @ $ % ^ & * ( ) - _ = + [ ] ; : ' " , < . > / ? this is an example, all non-alpha or numeric characters should be included.
  • The password must not: - Contain spaces;
  • Finally, the password cannot contain repeating character strings of 2 or more identical characters, such as 11 or aa.

Your task is to create a project to verify whether or not a prospective proper password meets these requirements and that the user has entered the correct password in twice. Hint, a modular solution to this assignment will be the most efficient approach to meeting the requirements of this project

The project should identify to the user the types of rule violations that are contained in an improperly entered password

The project should use a modular solution using user-defined functions

Submit The Following

The Python Source File

Your Lab Report

(here are some questions that are asked under the assignment after the code is written please help!!)

  1. Assume the variable name references a string. Write a for loop that prints each character in the string.?
  2. What is the index of the first character in a string?
  3. If a string has 10 characters, what is the index of the last character?
  4. What happens if you try to use an invalid index to access a character in a string?
  5. How do you find the length of a string?

What will the following code display? mystring = 'abcdefg' print(mystring[2:5])

What will the following code display? mystring = 'abcdefg' print(mystring[3:])

What will the following code display? mystring = 'abcdefg' print(mystring[:3])

What will the following code display? mystring = 'abcdefg' print(mystring[:])

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

More Books

Students also viewed these Databases questions

Question

Define Conventional Marketing.

Answered: 1 week ago

Question

Define Synchro Marketing.

Answered: 1 week ago

Question

Define marketing concepts.

Answered: 1 week ago

Question

1 what does yellow colour on the map represent?

Answered: 1 week ago

Question

b. What are its goals and objectives?

Answered: 1 week ago