Write a program which validates a users password

Assignment Help JAVA Programming
Reference no: EM132080169

You need help writing this program in JAVA, this is an introductory java course, so if possible, keep it as basic/simple as possible while still following the instructions. The output should look like the sample execution at the end of the problem.

Write a program which validates a user's password based on the following properties:

must be at least 13 characters long

must have at least 4 digits

must have at least 7 letters

must have at least 3 uppercase letters

must have at least 2 non-alphanumeric characters

Input Validation:

No input validation required. Assume you will have a one word password, but your job is to make sure it follows the correct formatting

Requirements:

You should use boolean methods for each of the validations above.

Each of the validations above should be in separate methods. (Think about how you could use boolean methods to do this).

You are NOT allowed to use regular expressions.

Your output should state the following:

If the password is valid simply say "The password is valid".

If the password is invalid, your program should tell the user ALL properties that are invalid.

Reference no: EM132080169

Questions Cloud

Write a program which asks the user for an integer : Write a program which asks the user for an integer and then prints the following patterns based on that integer.
Prepare a java code to show a multiplication table : A multiplication table is printed out for a range of positive numbers. The user is prompted to start with a number for example 2.
Relationships that may exists between stakeholders : By using the information above, draw an appropriate ER diagram showing this information, make sure you show suitable relationships that may exists between stake
Display the content of a file by a system call : In "decoding.c", you have a function "decoding" which opens "HW8.bin" for reading and a text file "HW8c.txt" for writing.
Write a program which validates a users password : You need help writing this program in JAVA, this is an introductory java course, so if possible, keep it as basic/simple as possible .
Why should policymakers care about gdp : Despite the fact that GDP is not a flawless measure of prosperity, policymakers ought to think about it in light of the fact that a bigger
Graph the demand and supply curves : a. Graph the demand and supply curves. What is the equilibrium price and quantity in this market?
Calculate payroll for department and employee : Build an application that would allow the end-user to calculate an Employee's Gross Pay and the Department's average Gross Pay Report.
Make a program that has an array of at least 20 integers : Write a program that has an array of at least 20 integers. It should call a function that uses the linear search algorithm to locate one of the values.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd