How Software Gets Done  


(No Login on Secured Page)

Custom Software Buyers
Request new bids
Search Coders
My Account
 
My Buyer 'To Do' List
 
My bid requests
  My escrow account
 
My General Info
 
Help for Buyers
Articles for Buyers
FAQ for Buyers
Latest News
 

Custom Software Coders

Newest open work
Browse all work
Search all work
My Account
 
My Coder 'To Do' List
 
My bids
 
My General Info
  My credit account
 
Help for Coders
Articles for Coders
FAQ for Coders
Latest News
 

Affiliates

My account
 
My pipeline
 
My credit account
 
Help for Affiliates
Latest News
 
Newest Open Bid Requests.
learning to use the Paypal's IPN
By A. Walter on May 7
Max Bid: Open to fair suggestions


file information and save file function
By A. Walter on May 7
Max Bid: Open to fair suggestions


Message Board, Faq's, and Rating system
By innovate on May 7
Max Bid: Open to fair suggestions


OpenGL Game in C++
By softlancer2003 on May 7
Max Bid: $20


Connect .asp to ms access
By inet29 on May 7
Max Bid: $10


DVD UDF ISO9660 project
By eric_55555 on May 7
Max Bid: $300


Click here to put this ticker on your own site

Open Work Categories.
Database 
(140 open)
   Access 
(62 open)
   MySQL 
(80 open)
   Oracle 
(11 open)
   SQL Server 
(50 open)
   Other DB 
(16 open)
Documentation / Tech Writing 
(31 open)
Data Entry 
(17 open)
Game Development 
(19 open)
Graphics / Art / Music 
(35 open)
   Graphics 
(49 open)
     3d Animation 
(11 open)
   Art (Misc.) 
(16 open)
   Music 
(4 open)
   3d Modeling 
(5 open)
Language Specific 
(108 open)
   ASP 
(70 open)
   C# 
(34 open)
   C++ / C 
(103 open)
   Cocoa / Obj-C 
(2 open)
   Cold Fusion 
(2 open)
   Delphi 
(32 open)
   Java 
(55 open)
   Perl 
(35 open)
   PHP 
(90 open)
   XML/XSL 
(24 open)
   Visual Basic 
(139 open)
   Visual Basic .Net 
(70 open)
   Other 
(46 open)
Misc 
(33 open)
   CAD 
(3 open)
MultiMedia 
(28 open)
Network 
(46 open)
   Network Design 
(12 open)
   Network Implementation 
(16 open)
Platforms 
(67 open)
   Windows 
(160 open)
     MS Exchange 
(2 open)
     MS Office 
(8 open)
     Other 
(10 open)
   Internet Browser 
(39 open)
   Linux 
(50 open)
   UNIX 
(24 open)
   Hand Held/PDA Programming 
(10 open)
Requirements 
(15 open)
Security 
(40 open)
Testing / Quality Assurance 
(18 open)
Web 
(154 open)
   Page Design 
(77 open)
   Flash 
(47 open)
   Web Services 
(76 open)
   Web (Other) 
(77 open)
Training 
(11 open)
   Computer Based 
(15 open)
 
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

Interpreter
Bid Request Id: 28707
Bookmark in my 'To Do' list
Posted by: rm54 (3 ratings)
(Software buyer rating 9.66)
Non-action Ratio: Below Average - 58.82%
Posted: Sep 25, 2002
7:04:42 PM EDT
Bidding Closes: Sep 28, 2002
8:00:00 PM EDT
Viewed (by coders): 277 times
Deadline: 10/1/2002 8:00:00 AM
TIME EXPIRED
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: Language Specific, Java
Enter chat room for this bid request
(1 active users at May 7, 2003 8:43:31 PM EDT)

Description:
Write Java classes to support a processing of arithmetic expressions in prefix notation called PNInterpreter. 
Expressions in prefix notation contain an operator first and then the operands on which the operation is performed. For
example, + 3 4 is equal to 3 + 4 in the infix notation. For this assignment your program should support integers only
and the following operators: + - * / ^.
 
There are a variety of ways to implement the prefix notation interpreter. One way is to use stacks.  Another would be to
use a tree.  Chose either one of the two ways and implement the necessary data structures instead of using the built-in
Java classes. Trees and stacks and their implementation are discussed in most data structure textbooks.

Your interpreter should accept strings of operators and operands seperated by spaces (no parenthesis) and return each
operation it performed and the final result or output an error if the input is invalid.

 Write a main program that calls the test on your implementation to demonstrate that it works correctly.

Call the main class PNInterpreterDriver. Write a test method testInterpreter that works with an object of
your implementation of PNInterpreter.  testInterpreter should be able to read from standard input a list of
expressions like this:

* + 2 * 4 6 + 3 5
- - / 3 4 * 5 6 2
- 3 2 + 2

quit

”quit” (or encountering the end of stream) is the signal to stop reading from the standard input. The test method (using
StreamTokenizer or similar built-in stream class) should read these commands and act appropriately. For example, with
the following test file, you might see something like this as the output of the program:

brillig(65)#java PNInterpreterDriver < test1.txt

Testing string: * + 2 * 4 5 + 3 5
operation performed: 4 * 6, result 24
operation performed: 2 + 24, result 26
operation performed: 3 + 5, result 8
operation performed: 26 * 8, result 208
Final result: 208.
Testing string: - - / 3 4 * 5 6 2
operation performed: 3 / 4, result 0
operation performed: 5 * 6, result 30
operation performed: 0 - 30, result -30
operation performed: -30 - 2, result -32
Final result: -32.
Testing string: - 3 2 + 2
operation performed: 3 - 2, result 1
invalid expression, reached end of expression
command: quit
Testing complete.

Deliverables:
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) The program MUST meet the specifications EXACTLY. In other words, DO NOT add any extra "features". If it doesn't ask for a GUI or extra mathematical features, don't include it!

3) Complete ownership and distribution copyrights to all work purchased.



Platform:
This program is to be written in Java only so it should be platform independent.

Must be 100% finished and received by buyer on:
Oct 1, 2002 8:00:00 AM 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.

Special Conditions / Other:
This project MUST be completed by Tuesday, October 1, 2002, 8:00am EST, US. Do not bid on this project if you cannot meet the deadline.


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  
This bid was accepted by the buyer!
elohmrow
(10 ratings)
in West Lafayette, Indiana
United States
Bid id: 323,378
 
$10 (USD) Sep 25, 2002
9:46:00 PM EDT
 9.4
(Superb)
   
Hi,

I have already written this program. If you accept my bid, I will modify it to your needs. This is a very nice and simple project, and so wouldn't require more than 2 hours to complete for you.

If you have any questions, please ask!

Best Regards,
elohmrow
aka Bradley Andersen
 




Quick Search
 

 Advanced Search
Newest Open Work
Latest News

 
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 

Rent A Coder Top Coders.


Anuj Gakhar
Rated a 9.98 on 92 jobs 
Securenext
Rated a 9.98 on 97 jobs 
Buddies
Rated a 9.82 on 76 jobs 
Codman
Rated a 9.97 on 137 jobs 
Andrei Remenchuk
Rated a 10 on 12 jobs 
Michael Sharp
Rated a 9.98 on 167 jobs 
teleCODERS
Rated a 9.93 on 67 jobs 
RNA
Rated a 9.93 on 35 jobs 
hernest
Rated a 10 on 109 jobs 
markesh
Rated a 10 on 21 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers
 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 


Affiliate Sites



Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.