Show Bid Request
|
Posted by: |
julias (2 ratings)
(Software buyer rating 10)
|
Non-action Ratio: |
Above Average - 25.00%
|
Posted: |
Feb 21, 2002 1:05:35 AM EDT
|
Bidding Closes: |
Mar 7, 2002 1:15:10 AM EDT
|
Viewed (by coders): |
306 times
|
Deadline: |
2/24/2002
TIME EXPIRED
|
|
|
|
Description:
A finite state Machine (FSM) consists of states, a set of transitions, and a string of input data. The FSM is designed to determine whether a string is a valid C++ identifier, a number, or not a valid identifier. A valid C++ identifier begins with a letter, which is followed by any number of letters, digits or an underscores '_'. The strings are always separated by a comma and the input is terminated by a period. This is a modification of the first programming assignment. This time you will need to store all the tokens in one of the linked lists.So again you will need to have a a program to simulate the FSM .Input will be an arbitrary long list of comma ',' separated sections of characters (tokens) terminated by a period '.'. There will not be more than 80 characters per line and no token will be divided into two or more lines (every line ends to a comma). This time if there is a command as a token your program will have to take the action to be defined for that command. The first time you encounter a token it needs to be inserted into a linked list for the correct type of token and if the same token occurs again, it needs to be removed from the list of single instances of a token and inserted into a list of tokens of certain type with multiple instances. Also you will need to implement a set of tokens that your program needs to understand as requests for output. All command are single character. The following tokens will be valid commands for this program: v - print the lists for valid identifiers i - print the lists for invalid identifiers n - print the lists for numbers k - print the lists for key words a - print all lists Note that the commands do not need to be on their own line even though they are in the example for clarity. this,2,is,o,4of,3,#sample,3,is,8,Set, v, of,2,data,4,with,6,and,atleast,3,identifiers, n, and,4of,them,arenotvalid,%identifiers, i, or,numbers,l, a,. Your output is to contain a line of output for each element in the input, output of each command is to be separated by a line: Printing valid identifiers: - Single instance: o, Set - Multiple instances: is ------------------------------------------
Printing numbers: - Single instance: 8, 6 - Multiple instances: 3, 2, 4 ------------------------------------------
Printing invalid identifiers: - Single instance: #sample, %identifiers - Multiple instances: 4of ------------------------------------------ Printing all lists Printing valid ident
Deliverables: Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
Complete copyrights to all work purchased.
Platform:
unix g++
Must be 100% finished and received by buyer on:
Feb 24, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
|
N/A
|
Feb 21, 2002 5:13:34 AM EDT
|
9.53
(Excellent)
|
|
|
I think I can help you for 30$. |
|
|
|
|
$30 (USD)
|
Feb 24, 2002 5:22:46 PM EDT
|
9.53
(Excellent)
|
|
|
Ok . You'll have your code until tomorrow 12 at noon . The bid remains the same 30$ for me and 5$ for rentacoder.com. Just to be sure that we speak about the same '12 at noon' tell me where are you from to know when will be your '12 at noon'? |
|
|
|
|
|