All of the work in this project is my own! I have not left copies of my code in public folders on university computers. I have not given any of this project to others. I will not give any portion of this project to others taking this class. I realize that the penalty for turning in work that is not my own can range from an "F" in the class to dismissal from Trinity University.
Print Name __________________________ Time Required = ______.____ Hrs.
Signature __________________________ (pledged)
String Processing Lab
- Main Program
Individual/Team (1-2 Persons) Assignment
20 Points
1] Install Eclipse on your computer or use one of the classroom systems.
Create class Strings.java.
2] Write a function, StringLength, which explicitly returns the length of a string. String Argument is passed. You may not use a built in function. Your main program shall include two examples that demonstrate that your function works.
3] Write a function, called StringFromFile, which explicity returns a string that has been filled from a file. The text file name is passed to the string. Your main program shall include two examples that demonstrate that your function works.
4] Write a string function called
ToUpper which explicitly returns an
all cap version of the String Argument passed. You may not use a built in
function. Your main program shall include two examples that demonstrate that
your function works. 5] Write a string
function called ToLower which explicitly
returns an all lower case version of the String Argument passed. You may not use
a built in function. Your main program shall include two examples that
demonstrate that your function works. 6] Write a string function called
WordCount which explicitly returns the number
of words in the String Argument passed. You may use a built in function. Your
main program shall include two examples that demonstrate that your function
works.
1] Spot Check!
2] Print all files
using New Courier Font [8 pt].
3] Mail me your solution in a message whose Subject is CSCI 1321 - String Lab
4] Make sure you have at least two aditional backup copies of all projects. Maybe store one on your Y drive and one on your hard drive.