Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

File Name: A _ Write 1 0 0 . java # 1 - program that writes a file named numberRow.txt write a set of 1

File Name: A_Write100.java
#1- program that writes a file named numberRow.txt
write a set of 100 random numbers with values between 0 and 1000
the numbers should all be on the same line separated by a space
-----------------------------------------------------------------------------------------------------------------------
File Name: B_ReadWrite100.java
#2- program that reads all the numbers from the file named numberRow.txt you just made
write those numbers out to a new file numbersColumn.txt
the new file will have all the numbers listed one per line
-----------------------------------------------------------------------------------------------------------------------
File Name: C_WriteGrid.java
#3- program that writes a file named numberGrid.txt
write a set of 100 random numbers with values between 0 a 20
The numbers should be arraigned as 10 lines that each contains 10 numbers
-----------------------------------------------------------------------------------------------------------------------
File Name: D_WriteStats.java
#4- program that reads all the numbers from the file named numberGrid.txt you just made
make a new file named gridStats.txt that contains statistics about that list of numbers
grand total
totals by row
totals by column
average values of all numbers
the count of how many times the number 17 is in the list
-----------------------------------------------------------------------------------------------------------------------
File Name: E_WriteName.java
#5- program that reads the name data from the provided files named firstNames.txt and lastNames.txt
and produces a list of 1000 random names randomPeople.txt
one complete name (firstname lastname) per line
-----------------------------------------------------------------------------------------------------------------------
File Name: F_SortName.java
#6- program that reads the file named randomPeople.txt
sort all the names alphabetically by last name
write all the unique names to a file named namesList.txt , there should be no repeats
-----------------------------------------------------------------------------------------------------------------------
File Name: G_FilesValid.java
#7- write a program that checks if all the program generated Activity Lab files exist in the project folder (assumes Eclipse IDE).
writes to the console "all complete" and lists the file names, or "missing files" list the files with "missing" in front of the absent files.
The file names to check for are:
numberRow.txt
numbersColumn.txt
numberGrid.txt
gridStats.txt
randomPeople.txt
namesList.txt
-----------------------------------------------------------------------------------------------------------------------
File Name: H_ReadFile.java
#8 Exercise 12.13(pg494) from the textbook
Count characters, words, and lines in a file.
try using these files to test it on. They are stored on the Github repository in the File-IO-Demo folder:
jabberwocky.txt
mindkiller.txt
-----------------------------------------------------------------------------------------------------------------------
Submission

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

Oracle Database Foundations Technology Fundamentals For IT Success

Authors: Bob Bryla

1st Edition

0782143725, 9780782143720

More Books

Students also viewed these Databases questions

Question

What two elements did Pierre and Marie Curie discover?

Answered: 1 week ago