Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Main Memory Database Systems

Authors: Frans Faerber, Alfons Kemper, Per-Åke Alfons

1st Edition

1680833243, 978-1680833249

More Books

Students also viewed these Databases questions