Project 4 Grading Rubric Project 4: User input and while loops Purpose: ● Gaining technical skills using Python Directions: ● Scenario: Generate a random string of 6 digits for 2-Factor Authentication...

1 answer below »
Try and follow the grading rubric as close as possible. If you have any questions feel free to ask me and I will answer them as soon as possible. Don't forget to look at the grading rubric and make sure that everything that is being asked for is being followed. There should be a way to also end the program without needing to close out the software so don't forget that please. I would like it to be completed at 8 pm at the latest.




I leave it in your capable hands :)



Project 4 Grading Rubric Project 4: User input and while loops Purpose: ● Gaining technical skills using Python Directions: ● Scenario: Generate a random string of 6 digits for 2-Factor Authentication (2FA) ● using a one-time password (OTP). Print this string (typically this would be emailed or sent through text to the user but we'll not worry about this step as this is an intro class). The user should type in the printed string and if correct an "Access is granted!" message is displayed. Otherwise, the user should be re-prompted. If they incorrectly enter for the same random string 3 times, a new string should be generated for them to try for 3 times. If at any point they want to end, they can type the word "quit". Upon quitting the program, the program should say, "Program Terminated." ● Create the python program that solves the problem in the scenario. Make sure to format it as seen in the screenshot below. Formatting means the prompts for the user should be spelled and written the same way as seen in the screenshot as well as the spacing between outputs (single-spaced, double-spaced, etc.) should also match. Make sure variable values are formatted the same way as seen in the screenshot. https://en.wikipedia.org/wiki/Multi-factor_authentication https://en.wikipedia.org/wiki/Multi-factor_authentication ● Make sure to follow good programming practices as mentioned in Good and Bad Programming Practices. (SCREENSHOT OF WHAT THE TEACHER IS REFERRING TO IS PROVIDED BELOW) https://courses.sfcollege.edu/courses/453126/pages/good-and-bad-programming-practices https://courses.sfcollege.edu/courses/453126/pages/good-and-bad-programming-practices ● You should only use modules/libraries we have covered thus far. Grading: ● Make sure to review the grading rubric prior to submitting your assignment to ensure you have completed everything to the appropriate standard. The grading rubric is below this assignment's directions. ● Make sure to test your program to ensure it works for all possible test cases (assuming appropriately formatted CSV files). Your instructor will run your program against different test data and part of your grade will be based upon how your program performs on these test cases. Submission: ● Upload your .py file here Hints: ● Use from random import randrange and Python's Documentation for Random.py ● Be careful how you generate random numbers as they need to be 6 digits. https://docs.python.org/3/library/random.html https://docs.python.org/3/library/random.html
Answered 4 days AfterOct 02, 2022

Answer To: Project 4 Grading Rubric Project 4: User input and while loops Purpose: ● Gaining technical skills...

Sathishkumar answered on Oct 02 2022
60 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here