| CS286 -- Lab 1: Prerequisite Assessment |
|
|
PurposeThe purpose of this lab assignment is to review concepts from previous courses. This is accomplished through designing and implementing a C++ program to spell check text files against a dictionary file containing correctly spelled words. AssignmentIn order to do this assignment, you will need to download two files:
You should write a C++ program that identifies any words in the example.txt file that are not contained in the list of correctly spelled words (words.txt). In the process, you should create at least one class. Be sure to consider which type of data structures are most appropriate for this assignment. Programming consideration: It is always good in program design to consider potential modifications that may be required a some later date. Be sure to keep this in mind when designing your program. Think about what additional things you might want a spelling program to be able to do. Program ExtrasThis assignment is designed to assess the level at which you have mastered much of the prerequisite material. Some of you may find that the assignment does not provide a significant enough challenge. There are a number of ways in which you can expand this assignment to make it more interesting. Here are a few ideas that you may decide you would like to implement:
The list above is not meant to be exhaustive, feel free to enhance your program with any other features that you would like your spelling checker to have. However, please keep in mind that you should meet the minimum assignment requirements before adding additional components. Intermediate Lab report (due 11:00pm, the day prior to week 2 lab)The intermediate report should consist of your class declarations and a brief discussion of your reasoning for defining the classes as you did.Lab report (due 11:00pm, the day prior to week 3 lab)The lab report should be self-contained. That is, it should be possible for someone to understand what you did and why without seeing anything other than your report. Your report should include:
As with any report you submit, correct spelling and grammar are required. In addition, your report should be submitted electronically following the Electronic Submission Guidelines. (You may wish to consult the sample report before submitting your report.) Be sure to keep copies of all your files, in case something gets lost. It may be wise to keep a diskette backup as well. If you have any questions, consult the instructor. |
||||
| Office: CC-27C, Phone: 277-7339 |
| Last Updated: April 14, 2000 © 2000 Dr. Christopher C. Taylor |