Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a class that allows: to generate a set of files (number given in constructor) in a given directory (path given in constructor) each file


Write a class that allows:

to generate a set of files (number given in constructor) in a given directory (path given in constructor) each file should include names (first and second name) generated randomly based on list of first names and second names (provided in two text files) each person (name) should have two random values assigned to it (age, selery) Write a second class, that process generated data (one parameter in constructor - path) and methods that generate csv file with name of oldest person in each file and in all files average seleary in each file and among all files 2. NumericDataGenerator Write a class that allows to check if a number is a prime number Write the second class that geneartes a csv file that includes numbers (with at least 10 digits) Write the third class that uses first class to check the context of the file from the second class and generates a csv file that inlcudes only prime numbers

3. Statistics

Use corpora from: https://clarin-pl.eu/dspace/handle/11321/312

Write a class that allows to generate a csv with frequencies of each word in the whole cropora and in each document.

Back

Step by Step Solution

3.25 Rating (154 Votes )

There are 3 Steps involved in it

Step: 1

1FileGenerator Class import javaioBufferedWriter import javaioFileWriter import javaioIOException im... 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

Auditing and Assurance services an integrated approach

Authors: Alvin a. arens, Randal j. elder, Mark s. Beasley

14th Edition

133081605, 132575957, 9780133081602, 978-0132575959

More Books

Students also viewed these Operating System questions