Find Jobs
Hire Freelancers

Design and implement a pushdown automaton that accepts the language of all arithmetic expressions in a programming language that are syntactically correct

$10-30 USD

Closed
Posted about 8 years ago

$10-30 USD

Paid on delivery
Design and implement a pushdown automaton that accepts the language of all arithmetic expressions in a programming language that are syntactically correct. An arithmetic expression is syntactically correct if and only if it is generated by the context-free grammar below. G = (V,T,S,P), where V = { <expr>, <term>, <factor>, <id> } T = { x, y, z, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, +, -, *, / , (, ) } <expr> is S, the start symbol P: <expr>  <expr> + <term> | <expr> - <term> | <term> <term>  <term> * <factor> | <term> / <factor> | <factor> <factor>  <id> | (<expr>) <id>  x | y | z | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 . 1. This is a two-team student assignment. 2. Programming languages you can choose from: C, C++, Java. Your programs must run on empress. 3. For input: expressions such as: ( x * y / ( 3 + z)), 3 + 4 * 5, x * x * x Your program must display: “Expression is syntactically correct” For input expressions such as: Z )(3 ** y f * x ) / 5 y ((( z + 3 – x)) Your program must display: “Expression is not an arithmetic expression” 4. You can prompt the user to input an expression or you can prompt the user to type the name of a file. If you do the latter name your file expressions.txt.
Project ID: 10099842

About the project

5 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $38 USD for this job
User Avatar
Hello, Before you select a part time developer from here, take a look at fugacode.com. If you like what you see, contact us. That's all. "Why hire freelancers? when you can hire professional developers for the same cost" Regards, FUGACODE Team
$24 USD in 1 day
4.7 (15 reviews)
6.0
6.0
User Avatar
I can do this too. We will discuss more in chat after 2 hours. I will wait for your reply. Thank you
$95 USD in 5 days
5.0 (19 reviews)
4.2
4.2
User Avatar
I am familiar with context-free grammars/pushdown automata and theory of computation in general. This will be a quick and easy project for me. I can deliver well-designed and thoroughly documented code.
$30 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I have 4+ years of experience in IT industry as C,C++,JAVA,PERL and Python developer. But I am new to freelancer. I have very good knowledge in Theory of computing\Automata. I can assure you that I will finish the work on time. Thank you.
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
San Marcos, United States
5.0
15
Payment method verified
Member since Jul 16, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.