Question: ASSIGNMENT # 1 0 : Unique Words Design pseudocode, or a flowchart that reads a file's content and determines the following: a . Writes a

ASSIGNMENT #10: Unique Words
Design pseudocode, or a flowchart that reads a file's content and determines the following:
a. Writes a list of all the unique words found in the file
b. Check to make sure the file exists using the try except statement i.e. FileNotFoundError
c. Counts all the words unique words found in the file & writes the number of words found in the file.
Save your design as
Lastname_firstname_A10_Unique_Words_Design
INPUTFILE
2. Use the file word_text as the data file, to read the data.
EXPRESS IN PYTHON
3. You will have at least two functions such as:
a. The main function
b. A function to write unique words and the number of words in a file.
Unique
Words
Write unique
words
4. Save the python version as:
Lastname_firstname_A10_Unique_Words
OUTPUT FILE
5. Save the output as:
Lastname_firstname_A10_Unique_Words_Output
Your output should have titles and identify the results as shown below:
############################################################################### Unique Words Report
###############################################################################
These are the unique words in the text
##############################################################################
There are 178 unique words in the word t
ASSIGNMENT #10: Unique Words
Design pseudocode, or a flowchart that reads a file's content and determines the following:
a. Writes a list of all the unique words found in the file
b. Check to make sure the file exists using the try except statement i.e. FileNotFoundError
c. Counts all the words unique words found in the file & writes the number of words found in the file.
Save your design as
Lastname_firstname_A10_Unique_Words_Design
INPUT FILE
2. Use the file word_text as the data file, to read the data.
EXPRESS IN PYTHON
3. You will have at least two functions such as:
a. The main function
b. A function to write unique words and the number of words in a file.
Unique
Words
Write unique
words
4. Save the python version as:
Lastname_firstname_A10_Unique_Words
OUTPUT FILE
5. Save the output as:
Lastname_firstname_A10_Unique_Words_Output
Your output should have titles and identify the results as shown below:
################################################################################ Unique Words Report
###############################################################################
These are the unique words in the text
################################################################################ext.txt file
ASSIGNMENT # 1 0 : Unique Words Design

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!