Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Centralize any mistakes in the process into the automated script, where they can

ID: 3745115 • Letter: C

Question

Centralize any mistakes in the process into the automated script, where they can be discovered and fixed once. You've just written a script that automates the creation of a user account for new employees at your company. It works by showing the employee a web page where they type the username they want. create the account. The directory system has some limitations, though. It can't process usernames with spaces, numbers, or special characters in them, and it also can't create duplicate usernames. The director of IT wants to prevent certain words from being used in a username too. What kind of tests would be useful to have for your automated username script? Check all that apply. point The username is sent off to the directory system, which then uses it to The script should check the username for banned characters before sending the username to the directory system, and display an error message. The script should check the username against a list of banned words, and display an error before sending the username to the directory system. The script should check the username for banned characters after sending the username to the directory system and display an error message. The script should contact the directory system to check if the username already exists, and display an error message if it does. 3. Which of the following variable names are valid in Ruby? Check all that apply. 1 point foobars

Explanation / Answer

which is option 1:

we have to compare the and check with the user name whethe it consists of banned characters which is special characters , underscore, numbers before actually sending it to the directory system.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote