University | National University of Singapore (NUS) |
Subject | Introduction to Programming Using Java Assignment, |
Introduction to Programming Using Java Assignment, NUS, Singapore: Write a program that checks whether a string is a strong password or a weak password
Question 1
Write a program that checks whether a string is a strong password or a weak
password. The password rule is as follows: (20 Marks)
– A password must have at least eight characters.
– A password consists of only letters and digits.
– A password must contain at least two digits.
Write a program that prompts the user to enter a password and displays “strong password” if the rule is followed or “too simple password” otherwise.
Sample output:
Sample 1
Enter a string for the password: wewew43x
strong password
Sample 2
Enter a string for the password: 343a
too simple password
Hire a Professional Essay & Assignment Writer for completing your Academic Assessments
Seeking assistance with Introduction to Programming Using Java Assignment at the National University of Singapore (NUS)? Look no further! Our platform offers specialized guidance for GBA, individual assignments, and online assignment help for students in Singapore. Our experts provide top-notch Case Study Writing Help tailored to your needs. Get professional support to craft programs like the one required—ensuring strong password security. Trust us to ace your course while you focus on learning.
Tags:-
- A2329C Dosage Form Design AY2024 Term 4 – Graded Assignment (Individual Report), Singapore
- ANL312 Text Mining and Applied Project Formulation, End-of-Course Assessment, SUSS, Singapore
- CMM315 Peacebuilding and Security, End-of-Course Assessment, SUSS, Singapore
- HFS351 ECA (End-of-Course Assessment) SUSS : July Semester 2024 – Safety Management and Audit
- HFSY217 ECA (End-of-Course Assessment) SUSS : July Semester 2024 – Emergency Preparedness and Response Planning, Singapore
- NSG3EPN Assignment Two instructions rubric – Contemporary nursing practice :Engagement in Professional Nursing, LTU Singapore
- HFS201 GBA (Group-based Assignment) SUSS: July 2024 – Workplace Evaluation and Design
- Business Accounting & Finance – (VM) – A3 Assignment, UOM, Singapore
- HRM3010S: Managing People At Work, Assignment, UCD, Singapore
- HFS351: Safety Management and Audit, End-of-Course Assessment, SUSS, Singapore
UP TO 15 % DISCOUNT