Description
Programming Assignment Instructions: In this programming assignment, students need to count the frequency of each alphabet letter (A-Z and a-z, total 52 case sensitive) and five case insensitive special words (he, she, they, him and me) in all the .txt files under a given directory.
————————————————————————————————————
Assignment
You will be provided a zero.zip which includes the following files: …. (I ATTACHED THESE)
makefile
count.h
specialcount.c
alphabetcount.c
testalphabetcount.c
testspecialcount.c
README
————————————————————————————————————
Your assignment is to write/modify code in the following files
count.h
makefile
alphabetcount.c to count the frequency of alphabet letters; and
specialcount.c to count the frequency of special words.
README to explain your code and include your test result (SIMPLY MAKE A TEXT FILE FOR THIS)
————————————————————————————————————
Note: Feel free to do any change of these files (fill the code, create new functions and etc). You also can create new .h and .c files if needed.
The instructor will use the following files to test your code, so please DON’T modify these two files:
testalphabetcount.c
testspecialcount.c
————————————————————————————————————
Your program must execute correctly on Edoras machine, the instructor/TA will type the following commands to test your code:
make testalphabet // generate testalphabet executable file
make testspecial // generate testspecial executable file
./testalphabet // run the testalphabet program to count frequency of alphabet letters, the result will be stored in the file result.txt under result folder
./testspecial // run the testspecial program to count frequency of the five special words, the result will be stored in the file specialresult.txt under result folder.
————————————————————————————————————
Directions to complete your assignment:
Login Edoras machine and create a new folder called programming under your account
Copy zip and data.zip from the shared folder cs480-02 on Edoras server to your newly created programming folder
Unzip the zero.zip and data.zip on edoras using the commands:
unzip zero.zip
unzip data.zip
(The above part was already done)
…..so you will have two folders: zero (source files) and data (.txt files) under programming directory on edoras machine
Create a new folder named result under the programming folder (This part is done btw)
(Recap…Do the following:)
1- Modify source files under folder zero to complete this assignment
2- Test your program to make sure it works correctly…. (I will test the code provided to see if it works on my side since you prob wont be able to)
Write README file to explain your code and include your test result (you can simple just do the explaination portion)
Programming with Python Questions
Tips in writing a perfect essay
Writing a perfect essay requires careful planning, research, and attention to detail. Here are some tips to help you craft a great essay:
Programming with Python Questions
ORDER NOW AND GET A PLAGIARISM FREE QUALITY PAPER
- Start with a clear thesis statement that states your main argument.
- Use evidence and examples to support your thesis statement.
- Create an outline to organize your thoughts and ensure a logical flow of ideas.
- Use clear and concise language, avoiding unnecessary jargon or complex sentence structures.
- Edit and proofread your essay carefully for grammar, spelling, and punctuation errors.
- Take breaks and come back to your essay with fresh eyes to ensure you haven’t overlooked anything.
By following these tips, you can write a well-structured, well-researched, and compelling essay.
Programming with Python Questions