CS 596 Fall Semester, 1998 Assignment 4 Test Data | ||
---|---|---|
San Diego State University -- This page last updated 17-Nov-98 |
Test 1. Use file A as the input source. Send the output to an output file with the base name first. Compress the text, do not convert it to lower case. Note this requires you to override the configuration file settings.
Test 2. Use the output file from test 1 as the input. Send the output to an output file with the base name second. Uncompress the text and convert the text to all uppercase. Do not compress the output. Note this requires you to override the configuration file settings. You may have exit the program and restart it between test 1 and test 2.
Test 3. Restart your program, using the defaults in the configuration file. You will use three separate input sources in the following order: keyboard, socket, and file B. Use any socket number that works. The input text for the keyboard and socket is given below. The first and last character in both cases is the double quote character. The keyboard input contains three lines of text, the socket input contains two lines of text.
Test 4. This test is for those of you that are doing the optional part of the assignment. Input and output are not compressed. Do not change the case of the text. Use what ever configuration file you like. Use what ever input source you like: keyboard, socket or file. Use the output file with the base name fourth. The input text, pattern and replacement are given below.
Text | cat rat catty cots |
Pattern | c(.)t(.) |
Replacement | B$2H$1 |