Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

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 »

Project 4 Grading Ru
ic

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 wo
y about this step as
this is an intro class). The user should type in the printed string and if co
ect
an "Access is granted!" message is displayed. Otherwise, the user should be
e-prompted. If they inco
ectly 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/li
aries we have covered thus far.
Grading:
● Make sure to review the grading ru
ic prior to submitting your assignment to
ensure you have completed everything to the appropriate standard. The
grading ru
ic 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 you
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 fo
Random.py
● Be careful how you generate random numbers as they need to be 6 digits.
https:
docs.python.org/3/li
ary
andom.html
https:
docs.python.org/3/li
ary
andom.html
Answered 4 days After Oct 02, 2022

Solution

Sathishkumar answered on Oct 02 2022
47 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