Question: Part 2 is worth 5 points. In part 2 you're going to compute some more complex statistics on a prescribed data set. Here are four
Part 2 is worth 5 points. In part 2 you're going to compute some more complex statistics on a prescribed data set. Here are four files that contains usernames and passwords: . passwd-1000.txt passwd-10000.txt passwd-100000.txt passud-10000o0.txt All lines are formatted in the same way: username :password Create a program that will compute the following: 1. The average password complexity 2. The minimum password complexity 3. The maximum password complexity 4. The standard deviation of password complexity 5. The most commonly used password 6. The least commonly used password 7. 10 usernames that have the most commonly used password (or as many as there are if fewer) 8. 10 usernames that have the least commonly used password (or as many as there are if fewer) Sample output: Enter the name of the password tiles passvd-1000 txt Password complexity Averages 3.2339 bits Minimums 0.0000 bits Maximums 7.4737 bits Std Dev: 0.6586 Most commoni 123456 ahajirah ydnas myjo glorili tagiyue Permissions: RW End-of-lines: LF Encoding: UTF
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
