|
C M S C 2 1 4 C o m p u t e r S c i e n c e I I S p r i n g 2 0 0 3 |
Project 3 Grading Concerns
It depends upon how you wrote encipherSpin/decipherSpin and
encipher/decipher.
The comments are completely wrong but I don't want to change any .h
That discussion was more of a "what if" discussion if you are
receiving
No. The message comes in perfectly - all lowercase, no spaces, and
no punctuation.
Are you diffing your output with our output files before
submitting?
The string that is returned is the data in the BST. Since that data
is
Please read the Checklist. There is a link
Output is as follows: for enciphering print plugboard as
characters,
You MUST. But ONLY those things that are necessary. Remember,
this
See Charles Lin's Tutorial under Hints on the project web page.
No. It's an extra 5 points if you do though - assuming you get it
to work.
You can have any PRIVATE functions you want in any file but
you must
No. I will use a different dictionary.txt file. After all, your
Yes! If project 3 doesn't work, how can Project 4 work?
BOTH PROJECTS
Project #4 is due by 11pm on Thursday, April 24th, 2003.
We have our encipher/decipher calling encipherSpin/decipherSpin. So the
plugboard is applied in encipher BEFORE calling encipherSpin 3 times
(and
in decipher AFTER calling decipherSpin 3 times.)
files at this point. So let me just explain. Dictionary's default
constructor should set up a vector of 26 - each of which holds a BST
(a letter and an empty tree.)
translate a message - print unable to translate, throw an exception and
print nothing, or print what you can and leave then the rest of the
message unparsed. Which one should I do?
a message and it is garbled, how would you want it handled as the
recipient of the message? I would want the message - not some
message
saying "Unable to parse". For project purposes, don't worry about
it.
Sometimes it's as simple as you having an extra space and the
computer, being, after all, a dumb machine, can not make the
distinction.
string, but you have the return type as Tnode<std::string>.
Can you clarify?
templatized with string, that is what gets returned.
to it from the the project web page.
print all 5 wheels, print stripped message, enciphered message,
deciphered message
dictionary, then message run through parser. For deciphering,
after the plugboard, print wheels, input (enciphered text), deciphered
message without spaces, dictionary, and deciphered message run
through
parser.
that depend upon it such as "std::vector<Pair> plugboard;"?
part is extra credit. YOu are not required to templatize Pair.
project 3. Do I have to now code your findMin() and findMax()?
code all public functions that were supplied in the
.h files.
(in P3) with a word that isn't in the dictionary. Doesn't this
contradict the project description?
parser should work for messages that have more/different words than
are in the current dictionary. I was referring to how to handle the
message "aflort" if "flort" is not in the dictionary. Do you just
say
Unable to translate. or do you translate what you can?
Let's handle this for P4. Throwing an exception is not a good solution
because no message is received. It is then better to send the
message AS IS rather than send nothing or send "Unable to
translate".
3 AND 4 MUST BE SUBMITTED TO PASS THIS COURSE.
Note:
any project may be turned in late up to 2 days as specified on the
class syllabus. For details regarding the late policy and any
penalties
associated with submitting late projects please see the
class syllabus.
|
See the class syllabus for policies concerning email Last Modified: Wed Apr 16 21:24:56 EDT 2003 |
|
|
|
|
|