University | National University of Singapore (NUS) |
Subject | Introduction to Programming Using Java Assignment |
Question 1
Write a program that checks whether a string is a strong password or 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 password: wewew43x
strong password
Sample 2
Enter a string for password: 343a
too simple password
Buy Custom Answer of This Assessment & Raise Your Grades
In need of a reliable online assignment helper in Singapore for your Introduction to Programming Using Java Assignment at the National University of Singapore (NUS)? Look no further! Our platform specializes in Computer Science Assignment Help in Singapore. Whether it's writing a program to determine strong or weak passwords, our experts are here to assist. Singaporean students can rely on our guidance. Pay our skilled professionals to navigate your course, ensuring excellence in your assignments and mastering the subject effortlessly!
Looking for Plagiarism free Answers for your college/ university Assignments.
- EAS201 Tutor- Marked Assignment SUSS January 2025: Aerospace Propulsion
- BUS107 Tutor- Marked Assignment SUSS : Quantitative Analysis for Business
- DSN M2 ACC Institute Of Human Service Specialist Diploma Assignment : Developmental & Learning Disabilities
- ISO 45001:2018 Comprehensive Analysis and Application : Occupational Health and Safety Management Systems Audit
- MTH219 SUSS Probability and Statistics: Applications in Real-World Scenarios
- HBC209 Group – Based Assignment SUSS J anuary 2025 : Media Literacy in the Age of Fake News
- HFS201 Group – Based Assignment SUSS January 2025 : Workplace Evaluation and Design
- MTH316 Tutor-Marked Assignment 01 (TMA01) SUSS January 2025 : Multivariable Calculus
- BPM213 Tutor-Marked Assignment One (TMA01) SUSS January 2025 : Procurement Management
- BSE207 Tutor-Marked Assignment 1 (TMA01) SUSS January 2025: Exercise Physiology