2) (5 pts) Suppose that a bank only permits passwords that are strings from the alphabet Σ = {a, b, c, d, 1, 2, 3, !, ?,

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

2) (5 pts) Suppose that a bank only permits passwords that are strings from the alphabet Σ = {a, b, c, d, 1, 2, 3, !, ?,

Post by answerhappygod »

 1
1 (37.7 KiB) Viewed 31 times
2) (5 pts) Suppose that a bank only permits passwords that are strings from the alphabet Σ = {a, b, c, d, 1, 2, 3, !, ?, $) that follow the rules: • • The length is at least four characters. It begins with a letter (a, b, c, d). Must contain at least one digit {1, 2, 3). Must end with a "special character" {!, ?, $}. 22a! b1? bb1?1 abab bbb? a1c? a?2? a???1? MUZ Reject Reject Reject Reject Reject Accept Accept Accept The set of legal passwords forms a regular language L. Construct an NFA or DFA for L. The table above contains some sample test cases.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply