Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Proiect 2: Design A Simple Calculator DFA machine for a simple calculator, where TI is used for only one operation each time (eg 13.1+4.2]x 5

image text in transcribed
Proiect 2: Design A Simple Calculator DFA machine for a simple calculator, where "TI is used for only one operation each time (eg 13.1+4.2]x 5 Steps of the project: (1) Design a regular expression r for real number expression. A real number can be negative or positive (e.g -2.5 and 0.52). A real number expression is an expression of real numbers four arithmetic operations (e.g. II-3.1+4.2]x-5y6]+7.3-0.54). 2) Design a DFA for accepting the regular language L). You can first design a NFA and then convert it to a DFA. (3) Design a regular grammar to generate the regular language LC). (4) Write a program (using C# or Java) to implement the DFA, ie, accept the language L(r). The output is "accepted" or "rejected Requirement for the project report: . A detailed description/instruction for how to use the calculator. .Explanation for (1), (2), 3) .Code and test result. The program must have a test interface for a user to give an input (a string for real number expression) and get an output (accept or reject) Team work (workload of each team member and collaboration in the team). Power point slides for presentation

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions