Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

*in Java and screenshots please*** 1) Password Verification: The user given string should : * have 6 characters * have atleast one uppercase character *

*in Java and screenshots please***

1) Password Verification:

The user given string should :

* have 6 characters

* have atleast one uppercase character

* have atleast one lowercase character

* have atleast one digit

Only if the user given string has these conditions, it can be considered as a valid password

2) Given a sentence, find total number of words as well as the unique words and how many times each unique word occurs.

Sample i/p: row row row your boat gently down the stream merrily merrily merrily merrily life is but a dream

Expected output:

total number of words : 18

number of unique words : 13

row : 3

your : 1

boat : 1

gently : 1

down : 1

the : 1

stream : 1

merrily : 4

life : 1

is : 1

but : 1

a : 1

dream : 1

image text in transcribed
1) Password Verification: The user given string should: have 6 characters have atleast one uppercase c have atleast one lowercase character have atleast one digit Only if the user given string has these conditions, it can be considered as a valid password Sample Vp: row row row your boat gently down the stream mermily merrily merrily mernily life is but a dream Expected output total number of words : 18 number of unique words: 13 row:3 your: 1 boat: 1 gently:1 down: 1 the: 1 stream:1 merrily:4 life:1 is:1 but:1 dream 1

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

Big Data And Hadoop Fundamentals Tools And Techniques For Data Driven Success

Authors: Mayank Bhushan

2nd Edition

9355516665, 978-9355516664

More Books

Students also viewed these Databases questions