(Last Revision: 02/08/98) ////////////////////////////////////////////////// CS 2500 PROGRAMMING ASSIGNMENT #01 GENERATING A PHRASE IN "GREAT BIG LETTERS" ////////////////////////////////////////////////// Please read the class documents entitled: programAssignmentRules, sampleProgramSubmission-level-01, sampleProgramSubmission-level-02, sampleProgramSubmission-level-03, howToMakeTestScript sampleTestScript-level-01 sampleTestScript-level-02, and sampleTestScript-level-03 before beginning to do this programming assignment. You will find the documents under "CourseDocuments" in the class gopher directory. For this assignment, you will use a database of files containing images of "great big letters". In a previous class of mine, each student made one or two large upper-case letters, each in a file of 24 lines by 75 characters wide. To see the letters, view the files in the directory named Alpha inside this directory. Note the convention for naming the files. For example, the file with a J in it is named J, and the file with an S in it is named S. You must copy all the "letter files" from the gopher space into your own directory of letters. (Remind me to show you how to use "ftp" to do this job very quickly and easily.) Also, you must choose a word or phrase (at least 5 letters long), and create a program that does the following: For each letter contained in your word or phrase, the program copies the corresponding big block letter from the file that contains it into a 24x75 character rectangular array. (Probably the easiest way to do this is to just copy *all* 26 letters, one after the other, into an array of 26 24x75-character arrays.) The program then enters a cycle in which it asks the user if he wants to see the phrase, and prints it out from the big arrays each time the user answers with a y for yes. When the user answers n for no, the program stops. For example, if my phrase is my name, JOHN SARRAILLE, then my program has to copy (at least) the letter files J, O, H, N, S, A, R, I, L & E into rectangular arrays. Then my program would have to ask the user something like: "Do you want to see my phrase?", and then read the response (the program should ask for a reply of 'y' for yes or 'n' for no.) If the response is y then my program would print out the array that contains the J, then the array that contains the O, and so on until JOHN SARRAILLE is spelled out in great big letters! Your program *must* do the copying into arrays described above, because I want you to get the practice of using arrays. ================================================================= DUE DATES: Feb 17 Program #1 Top-level program DUE. ( don't forget to turn in both source file and test script via e-mail by midnight) Feb 26 Program #1 final-level program DUE. ( don't forget to turn in both source file and test script via e-mail by midnight) ================================================================= Since this is a simple program, the "final-level" of the program should be the third or maybe the second level.