Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

No Iterations or Conditionals or find() function MATLAB Function: passwordChecker Input(s): - (1xN char) a string representing a password Output(s): - (logical) true or false

No Iterations or Conditionals or find() function MATLAB

image text in transcribed

Function: passwordChecker Input(s): - (1xN char) a string representing a password Output(s): - (logical) true or false of if the password is strong enough Function Description: Given an input password, output a single true or false based on if it is a strong enough password. A strong password must include ALL of the following: - At least one capital letter - At least one number - At least one special character For our purposes, we will say that a special character is one that is neither a letter nor a number. Note(s): - Remember the input is a string, and there are character representations of numbers. - The find() function is banned. Examples: password1 = 'password12345!!!'; strongEnough1 = passwordChecker (password1) >> strongEnough1 =logical() password2 = 'whatsTh3ge0dwerd?'; strongEnough2 = passwordChecker (password2) >> strongEnough2 = logical(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

Step: 3

blur-text-image

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

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

3rd Edition

0128012757, 978-0128012758

More Books

Students also viewed these Databases questions

Question

What is a remuneration report?

Answered: 1 week ago