PP Final Questions
PP Final Questions
Missing question
• 23-24(4.a): A website requires the users to input username and password
to register. Construct a program to check the validity of password input by
users. Following are the criteria for checking the password:
1. At least 1 letter between [a-z]
2. At least 1 number between [0-9]
3. At least 1 letter between [A-Z]
4. At least 1 character from [$#@]
5. Minimum length of transaction password: 6
6. Maximum length of transaction password: 12 Your program should
accept a sequence of comma separated passwords and will check them
according to the above criteria. Passwords that match the criteria are to be
printed, each separated by a comma
• 22-23(4.b): Write short notes on the following with a suitable example I) Encapsulation II)
Inheritance
• 21-22(2.b): How can you randomize the items of a list in place in Python?
• 20-21(5.a),21-22(3.b): Explain why python is considered an interpreted language.