Elements of computer programming
Description
Unformatted Attachment Preview
following acceptance criteria:
The username must contain a minimum of 6 characters and a maximum of 12.
The username must be alphanumeric.
Username with less than 6 characters, returns the message “Username must contain at least 6
characters”.
Username with more than 12 characters, returns the message “Username cannot contain more
than 12 characters”.
Username with non-alphanumeric characters, returns the message “Username can contain only
letters and numbers”.
Valid username returns True.
b) Create a module for password validation. This module must meet the following acceptance criteria:
he password must contain a minimum of 8 characters.
A password must contain lowercase letters, uppercase letters, numbers, and at least 1 nonalphanumeric character.
The password cannot contain blank spaces.
Valid password returns True.
Invalid password returns the message “The chosen password is not secure”.
Create a module that prompts the user to enter a username and password and validates them using
the modules generated in the previous two sections.
(25 Points) Problem 2: Create a program that prompts the user for input a decimal or a binary number,
when user chooses ©nary4he integer containing 0s and 1s is transformed to decimal number and
displayed, when %cimal)s selected calculate and display the binary number.
(25 Points) Problem 3: Letàcreate a new operation, Eventorial and Oddtorial:
Eventorial:
??! = 1 ? 2 ? 4 ? 6 ddtorial:
??! = 1 ? 3 ? 5 ? 7 rogram eventorial and oddtorial.
Purchase answer to see full
attachment

Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."